Uploaded image for project: 'Build'
  1. Build
  2. BUILD-290

Maven source plugin execution "test-jar-no-fork" fails on JDK9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Neutral
    • None
    • POMs 34
    • Poms
    • Saigon 140, Saigon 141
    • 5

    Description

      [INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-test-sources) @ vaadin-compatibility-addons ---
      [WARNING] Error injecting: org.codehaus.plexus.archiver.jar.JarArchiver
      java.lang.ExceptionInInitializerError
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
             ...
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
      	at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.<clinit>(AbstractZipArchiver.java:113)
      	... 88 more
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.338 s
      [INFO] Finished at: 2017-11-14T12:03:19+01:00
      [INFO] Final Memory: 15M/64M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:2.4:test-jar-no-fork (attach-test-sources) on project vaadin-compatibility-addons: Execution attach-test-sources of goal org.apache.maven.plugins:maven-source-plugin:2.4:test-jar-no-fork failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-source-plugin:2.4:test-jar-no-fork: java.lang.ExceptionInInitializerError: null
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.apache.maven.plugins:maven-source-plugin:2.4
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                sang.ngo Sang Ngo Huu
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3d
                    3d