maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] (MSITE-724) An API incompatibility was encountered while executing org.apache.maven.plugins:maven-site-plugin:3.4:jar
Date Sat, 12 Jul 2014 17:05:10 GMT

    [ https://jira.codehaus.org/browse/MSITE-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349573#comment-349573
] 

Herve Boutemy commented on MSITE-724:
-------------------------------------

ah ok, this is when you use archive configuration to set a custom manifest entry
{code:xml}          <configuration>
            <archive>
              <manifestEntries>
                <An-Entry>A Value</An-Entry>
              </manifestEntries>
            </archive>
          </configuration>{code}

I'll update the component for the next release

> An API incompatibility was encountered while executing org.apache.maven.plugins:maven-site-plugin:3.4:jar
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-724
>                 URL: https://jira.codehaus.org/browse/MSITE-724
>             Project: Maven Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: pom.xml
>
>
> {code}
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-jar of
goal org.apache.maven.plugins:maven-site-plugin:3.4:jar failed: An API incompatibility was
encountered while executing org.apache.maven.plugins:maven-site-plugin:3.4:jar: java.lang.NoSuchMethodError:
org.codehaus.plexus.archiver.jar.Manifest.getMainSection()Lorg/codehaus/plexus/archiver/jar/Manifest$Section;
> {code}
> {code}
> Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.archiver.jar.Manifest.getMainSection()Lorg/codehaus/plexus/archiver/jar/Manifest$Section;
>         at org.apache.maven.archiver.MavenArchiver.getManifest(MavenArchiver.java:102)
>         at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:513)
>         at org.apache.maven.plugins.site.render.SiteJarMojo.createArchive(SiteJarMojo.java:201)
>         at org.apache.maven.plugins.site.render.SiteJarMojo.execute(SiteJarMojo.java:130)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
>         ... 20 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message