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

Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7:site (default-cli): Invalid byte tag in constant pool: 18

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.7
    • None
    • site:deploy
    • None
    • Jenkins 2.86 on Windows
      JDK 8

    Description

      As I am not expert for maven, I'm a bit lost here. We have projects which fail with the following error

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7:site (default-cli) on project xxxx: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.7:site failed: Invalid byte tag in constant pool: 18 -> [Help 1]

      when executing this command

      mvn site:site site-deploy -e -U

      This occurs since we switched to java 8 and to my understanding it is somehow related to Java 8 and BCEL. However the message in the bug report is not exactly the same so I am not sure how or what do I have to configure to overcome the problem.

      Here the essential info on how we have configured the site-plugin in the parent pom:

      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-site-plugin</artifactId>
      <version>3.6</version>
      <configuration>
          <locales>en</locales>
      </configuration>
      <dependencies>
          <dependency>
              <groupId>org.apache.maven.wagon</groupId>
              <artifactId>wagon-webdav-jackrabbit</artifactId>
              <version>${wagon.webdav.version}</version>
          </dependency>
      </dependencies>

      Attachments

        Activity

          People

            Unassigned Unassigned
            papanito Adrian Wyssmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: