[ https://jira.codehaus.org/browse/MSITE-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schulte updated MSITE-724: ------------------------------------ Attachment: pom.xml Example project demonstrating the issue. Executing 'mvn package', the exception is thrown. Manually upgrading the dependency on 'maven-archiver' to '2.5' building succeeds. > 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)