Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-880

Maven SCM Client fails to be assembled on Java 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.9.5
    • None
    • maven-scm-client
    • None

    Description

      mvn clean verify fails with:

      [INFO] Maven SCM Client ................................... FAILURE [  2.317 s]
      [INFO] Maven SCM Plugin 1.9.6-SNAPSHOT .................... SUCCESS [ 16.081 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 03:08 min
      [INFO] Finished at: 2018-04-02T01:50:55+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (default) on project maven-scm-client: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-assembly-plugin:2.6:single: java.lang.ExceptionInInitializerError: null
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.apache.maven.plugins:maven-assembly-plugin:2.6
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/home/mosipov/.m2/repository/org/apache/maven/plugins/maven-assembly-plugin/2.6/maven-assembly-plugin-2.6.jar
      [ERROR] urls[1] = file:/home/mosipov/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
      [ERROR] urls[2] = file:/home/mosipov/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
      [ERROR] urls[3] = file:/home/mosipov/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
      [ERROR] urls[4] = file:/home/mosipov/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
      [ERROR] urls[5] = file:/home/mosipov/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
      [ERROR] urls[6] = file:/home/mosipov/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
      [ERROR] urls[7] = file:/home/mosipov/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
      [ERROR] urls[8] = file:/home/mosipov/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
      [ERROR] urls[9] = file:/home/mosipov/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
      [ERROR] urls[10] = file:/home/mosipov/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
      [ERROR] urls[11] = file:/home/mosipov/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
      [ERROR] urls[12] = file:/home/mosipov/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
      [ERROR] urls[13] = file:/home/mosipov/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar
      [ERROR] urls[14] = file:/home/mosipov/.m2/repository/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
      [ERROR] urls[15] = file:/home/mosipov/.m2/repository/org/iq80/snappy/snappy/0.3/snappy-0.3.jar
      [ERROR] urls[16] = file:/home/mosipov/.m2/repository/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar
      [ERROR] urls[17] = file:/home/mosipov/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
      [ERROR] urls[18] = file:/home/mosipov/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar
      [ERROR] urls[19] = file:/home/mosipov/.m2/repository/org/apache/maven/shared/maven-filtering/1.3/maven-filtering-1.3.jar
      [ERROR] urls[20] = file:/home/mosipov/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.6/maven-shared-utils-0.6.jar
      [ERROR] urls[21] = file:/home/mosipov/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
      [ERROR] urls[22] = file:/home/mosipov/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
      [ERROR] urls[23] = file:/home/mosipov/.m2/repository/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.jar
      [ERROR] urls[24] = file:/home/mosipov/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
      [ERROR] urls[25] = file:/home/mosipov/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.21/plexus-utils-3.0.21.jar
      [ERROR] urls[26] = file:/home/mosipov/.m2/repository/org/apache/maven/shared/maven-repository-builder/1.0/maven-repository-builder-1.0.jar
      [ERROR] urls[27] = file:/home/mosipov/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
      [ERROR]
      [ERROR] -----------------------------------------------------
      

      However, it can be built with Maven Assembly Plugin 3.1.0 which requires a higher Maven version.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: