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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.4
    • 3.5
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: