Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-724

An API incompatibility was encountered while executing org.apache.maven.plugins:maven-site-plugin:3.4:jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: None
    • Labels:
      None

      Description

      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;
      
      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
      

        Attachments

        1. pom.xml
          1 kB

          Activity

            People

            • Assignee:
              hboutemy Herve Boutemy
              Reporter:
              schulte77 Christian Schulte
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: