Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-186

unable to achieve test and further goals in maven due to org.jboss.maven.plugins:maven-injection-plugin on ibm java

    XMLWordPrintable

Details

    • Hide

      run mvn test -pl api -DskipTests
      repeat until maven fail. This error occurs intermediately.

      Show
      run mvn test -pl api -DskipTests repeat until maven fail. This error occurs intermediately.

    Description

      Maven fails intermediately due to org.jboss.maven.plugins:maven-injection-plugin:1.0.2:bytecode on ibm java and rhel 6

      mvn -v
      Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T12:29:23-05:00)
      Maven home: /qa/tools/opt/maven3-latest
      Java version: 1.8.0, vendor: IBM Corporation
      Java home: /qa/tools/opt/ibm-java-i386-80_2016_02_24/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "2.6.32-573.3.1.el6.i686", arch: "x86", family: "unix"
      
      mvn test -pl api -DskipTests
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Marshalling API 1.4.10.Final
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ jboss-marshalling ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ jboss-marshalling ---
      [INFO] 
      [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ jboss-marshalling ---
      [INFO] 
      [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ jboss-marshalling ---
      [INFO] Checking for local modifications: skipped.
      [INFO] Updating project files from SCM: skipped.
      [INFO] Executing: /bin/sh -c cd /qa/services/hudson/istraka_tmp/jboss-marshalling/api && git rev-parse --verify HEAD
      [INFO] Working directory: /qa/services/hudson/istraka_tmp/jboss-marshalling/api
      [INFO] Storing buildNumber: 10731ddc40d371834cbbf55563c7f8d27d3ed1c9 at timestamp: 1463057992607
      [INFO] Executing: /bin/sh -c cd /qa/services/hudson/istraka_tmp/jboss-marshalling/api && git rev-parse --verify HEAD
      [INFO] Working directory: /qa/services/hudson/istraka_tmp/jboss-marshalling/api
      [INFO] Storing buildScmBranch: UNKNOWN
      [INFO] 
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jboss-marshalling ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jboss-marshalling ---
      [INFO] Changes detected - recompiling the module!
      [INFO] 
      [INFO] --- maven-injection-plugin:1.0.2:bytecode (default) @ jboss-marshalling ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.923 s
      [INFO] Finished at: 2016-05-12T08:59:54-04:00
      [INFO] Final Memory: 10M/17M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-injection-plugin:1.0.2:bytecode (default) on project jboss-marshalling: Unable to resolve class file path: NullPointerException -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      
      mvn -v
      Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T12:29:23-05:00)
      Maven home: /qa/tools/opt/maven3-latest
      Java version: 1.8.0, vendor: IBM Corporation
      Java home: /qa/tools/opt/ibm-java-i386-80_2016_02_24/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "2.6.32-573.3.1.el6.i686", arch: "x86", family: "unix"
      
      mvn test -pl api -DskipTests
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Marshalling API 2.0.0.Beta2
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ jboss-marshalling ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ jboss-marshalling ---
      [INFO] 
      [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ jboss-marshalling ---
      [INFO] 
      [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ jboss-marshalling ---
      [INFO] Checking for local modifications: skipped.
      [INFO] Updating project files from SCM: skipped.
      [INFO] Executing: /bin/sh -c cd /qa/services/hudson/istraka_tmp/jboss-marshalling/api && git rev-parse --verify HEAD
      [INFO] Working directory: /qa/services/hudson/istraka_tmp/jboss-marshalling/api
      [INFO] Storing buildNumber: cbeabc4fb031413d55f01f8fd3ab5348ff2fbfcb at timestamp: 1463058823793
      [INFO] Executing: /bin/sh -c cd /qa/services/hudson/istraka_tmp/jboss-marshalling/api && git rev-parse --verify HEAD
      [INFO] Working directory: /qa/services/hudson/istraka_tmp/jboss-marshalling/api
      [INFO] Storing buildScmBranch: UNKNOWN
      [INFO] 
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jboss-marshalling ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ jboss-marshalling ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 108 source files to /qa/services/hudson/istraka_tmp/jboss-marshalling/api/target/classes
      [WARNING] bootstrap class path not set in conjunction with -source 1.7
      [WARNING] /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/java/org/jboss/marshalling/reflect/ReflectiveCreator.java:[26,29] org.jboss.marshalling.Creator in org.jboss.marshalling has been deprecated
      [WARNING] /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/java/org/jboss/marshalling/reflect/PublicReflectiveCreator.java:[22,29] org.jboss.marshalling.Creator in org.jboss.marshalling has been deprecated
      [WARNING] /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/java/org/jboss/marshalling/cloner/SerializingCloner.java: /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/java/org/jboss/marshalling/cloner/SerializingCloner.java uses unchecked or unsafe operations.
      [WARNING] /qa/services/hudson/istraka_tmp/jboss-marshalling/api/src/main/java/org/jboss/marshalling/cloner/SerializingCloner.java: Recompile with -Xlint:unchecked for details.
      [INFO] 
      [INFO] --- maven-injection-plugin:1.0.2:bytecode (default) @ jboss-marshalling ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 25.571 s
      [INFO] Finished at: 2016-05-12T09:14:01-04:00
      [INFO] Final Memory: 16M/34M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-injection-plugin:1.0.2:bytecode (default) on project jboss-marshalling: Unable to resolve class file path: NullPointerException -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      
      

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              istraka@redhat.com Ivan Straka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: