Praqma / tracey-jenkins-trigger-plugin

Jenkins RabbitMQ trigger for Tracey project
MIT License
0 stars 2 forks source link

Nullpointer when trying to package the project. #19

Open sofusalbertsen opened 8 years ago

sofusalbertsen commented 8 years ago

I clone the repository and run: mvn package Result:


[INFO] Scanning for projects...
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 is missing, no dependency information available
[WARNING] Failed to build parent project for net.praqma:tracey:hpi:1.0-SNAPSHOT
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Tracey Jenkins Trigger Plugin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-hpi-plugin:1.117:validate (default-validate) @ tracey ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:display-info (display-info) @ tracey ---
[INFO] Maven Version: 3.3.9
[INFO] JDK Version: 1.8.0_101 normalized as: 1.8.0-101
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 4.4.0-31-generic
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (display-info) @ tracey ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.157 s
[INFO] Finished at: 2016-08-08T14:17:35+02:00
[INFO] Final Memory: 108M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (display-info) on project tracey: Execution display-info of goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce failed. 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/PluginExecutionException
Andrey9kin commented 8 years ago

@sofusalbertsen can you still reproduce this issue? if so let's fix it. Otherwise please close the issue

sofusalbertsen commented 8 years ago

I'll try to do it at some point during the next days. -S

sofusalbertsen commented 8 years ago

Yes, still reproduceable (on my machine) Made a fresh clone on my machine and did the following:

mvn package
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Tracey Jenkins Trigger Plugin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.jenkins-ci.org/public/com/github/Praqma/tracey-broker/1.2.1/tracey-broker-1.2.1.pom
Downloading: https://jitpack.io/com/github/Praqma/tracey-broker/1.2.1/tracey-broker-1.2.1.pom
Downloaded: https://jitpack.io/com/github/Praqma/tracey-broker/1.2.1/tracey-broker-1.2.1.pom (3 KB at 1.2 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/com/github/Praqma/tracey-core/f9bc7a2/tracey-core-f9bc7a2.pom
Downloading: https://jitpack.io/com/github/Praqma/tracey-core/f9bc7a2/tracey-core-f9bc7a2.pom
Downloaded: https://jitpack.io/com/github/Praqma/tracey-core/f9bc7a2/tracey-core-f9bc7a2.pom (2 KB at 1.4 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/org/slf4j/slf4j-nop/1.6.6/slf4j-nop-1.6.6.pom
Downloaded: http://repo.jenkins-ci.org/public/org/slf4j/slf4j-nop/1.6.6/slf4j-nop-1.6.6.pom (2 KB at 1.3 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl/1.44/job-dsl-1.44.pom
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl/1.44/job-dsl-1.44.pom (3 KB at 5.2 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/plugin/1.609/plugin-1.609.pom
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/plugin/1.609/plugin-1.609.pom (13 KB at 29.5 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl-core/1.44/job-dsl-core-1.44.pom
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl-core/1.44/job-dsl-core-1.44.pom (2 KB at 2.3 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/xmlunit/xmlunit/1.4/xmlunit-1.4.pom
Downloaded: http://repo.jenkins-ci.org/public/xmlunit/xmlunit/1.4/xmlunit-1.4.pom (3 KB at 3.6 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom
Downloaded: http://repo.jenkins-ci.org/public/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom (386 B at 0.5 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.pom
Downloaded: http://repo.jenkins-ci.org/public/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.pom (2 KB at 2.0 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/com/github/Praqma/tracey-broker/1.2.1/tracey-broker-1.2.1.jar
Downloading: http://repo.jenkins-ci.org/public/org/slf4j/slf4j-nop/1.6.6/slf4j-nop-1.6.6.jar
Downloading: http://repo.jenkins-ci.org/public/com/github/Praqma/tracey-core/f9bc7a2/tracey-core-f9bc7a2.jar
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl/1.44/job-dsl-1.44.jar
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl-core/1.44/job-dsl-core-1.44.jar
Downloaded: http://repo.jenkins-ci.org/public/org/slf4j/slf4j-nop/1.6.6/slf4j-nop-1.6.6.jar (5 KB at 6.1 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/xmlunit/xmlunit/1.4/xmlunit-1.4.jar
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl/1.44/job-dsl-1.44.jar (130 KB at 113.2 KB/sec)
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/job-dsl-core/1.44/job-dsl-core-1.44.jar (2778 KB at 1801.4 KB/sec)
Downloaded: http://repo.jenkins-ci.org/public/xmlunit/xmlunit/1.4/xmlunit-1.4.jar (97 KB at 53.5 KB/sec)
Downloading: https://jitpack.io/com/github/Praqma/tracey-broker/1.2.1/tracey-broker-1.2.1.jar
Downloading: https://jitpack.io/com/github/Praqma/tracey-core/f9bc7a2/tracey-core-f9bc7a2.jar
Downloaded: https://jitpack.io/com/github/Praqma/tracey-broker/1.2.1/tracey-broker-1.2.1.jar (22 KB at 20.4 KB/sec)
Downloaded: https://jitpack.io/com/github/Praqma/tracey-core/f9bc7a2/tracey-core-f9bc7a2.jar (3 KB at 2.6 KB/sec)
[INFO] 
[INFO] --- maven-hpi-plugin:1.117:validate (default-validate) @ tracey ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:display-info (display-info) @ tracey ---
[INFO] Maven Version: 3.3.9
[INFO] JDK Version: 1.8.0_101 normalized as: 1.8.0-101
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 4.4.0-42-generic
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (display-info) @ tracey ---
Downloading: http://repo.jenkins-ci.org/public/org/codehaus/groovy/groovy-all/2.4.6/groovy-all-2.4.6.jar
Downloaded: http://repo.jenkins-ci.org/public/org/codehaus/groovy/groovy-all/2.4.6/groovy-all-2.4.6.jar (6860 KB at 1853.5 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
Downloaded: http://repo.jenkins-ci.org/public/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar (8 KB at 14.9 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
Downloaded: http://repo.jenkins-ci.org/public/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar (25 KB at 45.8 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.578 s
[INFO] Finished at: 2016-10-20T15:00:09+02:00
[INFO] Final Memory: 119M/389M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (display-info) on project tracey: Execution display-info of goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce failed. 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/PluginExecutionException

System info:

Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-42-generic", arch: "amd64", family: "unix"