-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
None
-
Windows Server 2008 R2
Java 1.7
I have a Maven project with JPA classes that use the openjpa-maven-plugin to enhance the entities at compile via the enhance goal of the plugin.
From Jenkins, I use the Jenkins Maven project plugin to build my Maven projects.
When I instruct the plugin to use these Maven args:
clean install -DskipTests
The plugin fails:
Parsing POMs
Downloaded artifact http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/entsvc/evm/evm-parent/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/entsvc/entsvc-parent/1.0.0-SNAPSHOT/maven-metadata.xml
Downloaded artifact http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/gaig-master-parent/1.0.0-SNAPSHOT/maven-metadata.xml
[workspace] $ java -Xmx512m -XX:MaxPermSize=1024m -cp "E:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;E:\Program Files\Apache\Maven\boot\plexus-classworlds-2.4.2.jar;E:\Program Files\Apache\Maven/conf/logging" jenkins.maven3.agent.Maven31Main "E:\Program Files\Apache\Maven" "E:\Program Files\Jenkins\war\WEB-INF\lib\remoting-2.32.jar" "E:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar" "E:\Program Files\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar" 49300
<===[JENKINS REMOTING CAPACITY]===>channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f E:\Program Files\Jenkins\jobs\EAI EVM Enterprise Domain Model\workspace\pom.xml clean install deploy -DskipTests
[INFO] Scanning for projects...
[INFO] Downloading: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/entsvc/evm/evm-parent/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/entsvc/evm/evm-parent/1.0.0-SNAPSHOT/maven-metadata.xml (832 B at 2.8 KB/sec)
[INFO] Downloading: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/entsvc/entsvc-parent/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/entsvc/entsvc-parent/1.0.0-SNAPSHOT/maven-metadata.xml (831 B at 12.9 KB/sec)
[INFO] Downloading: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/gaig-master-parent/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/gaig-master-parent/1.0.0-SNAPSHOT/maven-metadata.xml (829 B at 13.3 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GAIG Annuity EAI EVM Enterprise Domain Model 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/commons/model-commons/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/commons/model-commons/1.0.0-SNAPSHOT/maven-metadata.xml (2 KB at 10.8 KB/sec)
[INFO] Downloading: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/commons/commons-parent/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/commons/commons-parent/1.0.0-SNAPSHOT/maven-metadata.xml (833 B at 8.8 KB/sec)
[INFO] Downloading: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/commons/gaig-commons/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repo.aag.gfrinc.net/nexus/content/groups/public/com/gaig/annuity/commons/gaig-commons/1.0.0-SNAPSHOT/maven-metadata.xml (2 KB at 13.7 KB/sec)
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ evm-model —
[TASKS] Scanning folder 'E:\Program Files\Jenkins\jobs\EAI EVM Enterprise Domain Model\workspace' for files matching the pattern '*/.java' - excludes:
[TASKS] Found 17 files to scan for tasks
Found 0 open tasks.
[TASKS] Computing warning deltas based on reference build #129
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ evm-model —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ evm-model —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to E:\Program Files\Jenkins\jobs\EAI EVM Enterprise Domain Model\workspace\target\classes
[INFO]
[INFO] — openjpa-maven-plugin:2.2.2:enhance (enhancer) @ evm-model —
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.995s
[INFO] Finished at: Tue Oct 01 06:57:00 EDT 2013
[INFO] Final Memory: 13M/34M
[INFO] ------------------------------------------------------------------------
Notice the immediate failure after the line:
openjpa-maven-plugin:2.2.2:enhance (enhancer)
There's no details about what the error is.
When I run a normal mvn clean install -DskipTests from Jenkins as a batch command, it builds as expected. This used to work at one point. My only guess is the plugin was broken at some point.