[ImageJ-builds] Build failed in Jenkins: NAR-Maven-Plugin-windows #74

jenkins at imagej.net jenkins at imagej.net
Tue Aug 11 16:29:31 CDT 2015


See <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/74/changes>

Changes:

[mbowman] Do not check non-jar or non-nar artefacts for NarInfo to prevent exception.

[mbowman] Use ZipInputStream to detect artefacts which can be opened using jar.

------------------------------------------
Started by an SCM change
Building remotely on Windows (windows) in workspace <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/maven-nar/nar-maven-plugin # timeout=10
Fetching upstream changes from git://github.com/maven-nar/nar-maven-plugin
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/maven-nar/nar-maven-plugin +refs/heads/*:refs/remotes/origin/*
 > git rev-parse "origin/master^{commit}" # timeout=10
Checking out Revision 283fbb08df8e3a9e1ade532bb6226de91d837eb6 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 283fbb08df8e3a9e1ade532bb6226de91d837eb6
 > git rev-list a6f280119e760aea7d418a7c17168c9fd5c3f848 # timeout=10
[NAR-Maven-Plugin-windows] $ sh -xe C:\Users\VIRTUA~1\AppData\Local\Temp\hudson4183914494747461461.sh
+ cmd /c 'del /q "%TMP%\_CL_*.ss"'
Could Not Find C:\Users\VIRTUA~1\AppData\Local\Temp\_CL_*.ss
+ cat
++ cd /src/fiji/java/win32/jdk1.6.0_24
++ pwd -W
++ tr / '\\'
++ cd /src/fiji/bin/apache-maven-3.0.4/bin
++ pwd -W
+ cmd //c run-mvn.bat

<http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>set> JAVA_HOME="C:\msysgit\src\fiji\java\win32\jdk1.6.0_24" 

<http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>call> "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat" 
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

<http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/>C>:/msysgit/src/fiji/bin/apache-maven-3.0.4/bin/mvn.bat -Prun-its -Dinvoker.debug=true clean verify integration-test site 
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.github.maven-nar:nar-maven-plugin:maven-plugin:3.2.4-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: commons-io:commons-io:jar -> duplicate declaration of version 2.4 @ line 247, column 17
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Native ARchive plugin for Maven 3.2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ nar-maven-plugin ---
[INFO] Deleting <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ nar-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ nar-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ nar-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ nar-maven-plugin ---
[INFO] 
[INFO] --- maven-plugin-plugin:3.2:helpmojo (generated-helpmojo) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-plugin-plugin:3.2:descriptor (default-descriptor) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ nar-maven-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ nar-maven-plugin ---
[INFO] Compiling 254 source files to <http://jenkins.imagej.net/job/NAR-Maven-Plugin-windows/ws/target\classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] \msysgit\workspace\NAR-Maven-Plugin-windows\src\main\java\com\github\maven_nar\AbstractDependencyMojo.java:[282,13] cannot find symbol
symbol  : method closeQuietly(java.util.jar.JarFile)
location: class org.apache.commons.io.IOUtils
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.016s
[INFO] Finished at: Tue Aug 11 16:29:29 CDT 2015
[INFO] Final Memory: 23M/79M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project nar-maven-plugin: Compilation failure
[ERROR] \msysgit\workspace\NAR-Maven-Plugin-windows\src\main\java\com\github\maven_nar\AbstractDependencyMojo.java:[282,13] cannot find symbol
[ERROR] symbol  : method closeQuietly(java.util.jar.JarFile)
[ERROR] location: class org.apache.commons.io.IOUtils
[ERROR] -> [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/MojoFailureException
Build step 'Execute shell' marked build as failure



More information about the ImageJ-builds mailing list