*From:* hanasaki
*Sent:* Friday, June 20, 2014 5:43PM
*To:* [email protected]
*Subject:* Re: TomEE 4.7.0-SNAPSHOT build failures
What are your thoughts on what could be causing the build failure and a
resolution? Has there been verification of a full build from scratch
(with empty .m2/repository) by the dev team?
Thank you.
On 06/20/2014 05:43 PM, [email protected] wrote:
=
*From:* Andy Gumbrecht
*Sent:* Friday, June 20, 2014 1:54AM
*To:* hanasaki
*Cc:* [email protected] <[email protected]>
*Subject:* Re: TomEE 4.7.0-SNAPSHOT build failures
I totally removed my local repo and did a full "clean install"
* got some interesting warnings like the below checksum
* noticed some files came from repo1.maven.org and some from
repository.maven.org
* there is a repo2.maven.org that looks the same as repo1
* http://repository.apache.org/ is Nexus
* tomee pom.xml's have <url>http://repository.apache.org/snapshots</url>
* thought central was <url>http://repo1.maven.org/maven2/</url> ??
* have failed builds with java8 and maven 3.0.5 | 3.2.1
Downloaded:
http://repo1.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
(165 KB at 43.0 KB/sec)
* Latest attempt (2:15 AM CST) on the current trunk
* same 503 comes up in firefox
[ERROR] Failed to execute goal on project openejb-jee: Could not resolve
dependencies for project
org.apache.openejb:openejb-jee:jar:4.7.0-SNAPSHOT: Failed to collect
dependencies for [org.apache.openejb:javaee-api:jar:6.0-6 (provided),
com.sun.xml.bind:jaxb-impl:jar:2.2.7 (compile), junit:junit:jar:4.11
(test), xmlunit:xmlunit:jar:1.5 (test)]: Failed to read artifact
descriptor for org.apache.openejb:javaee-api:jar:6.0-6: Could not
transfer artifact org.apache.openejb:javaee-api:pom:6.0-6 from/to
patch-openjpa
(https://repository.apache.org/content/repositories/orgapachetomee-1025/):
Failed to transfer file:
https://repository.apache.org/content/repositories/orgapachetomee-1025/org/apache/openejb/javaee-api/6.0-6/javaee-api-6.0-6.pom.
Return code is: 503 , ReasonPhrase:Service Temporarily Unavailable. ->
[Help 1]
[WARNING] Checksum validation failed, expected
5f92cbf438ebee568612cc3e22ec5deeb0bf025b but is
84db32f929b4955b94164373e1bbf90b6d067e4a for
http://repo1.maven.org/maven2/org/easymock/easymock/2.4/easymock-2.4.pom
[WARNING] Checksum validation failed, expected
5f92cbf438ebee568612cc3e22ec5deeb0bf025b but is
84db32f929b4955b94164373e1bbf90b6d067e4a for
http://repo1.maven.org/maven2/org/easymock/easymock/2.4/easymock-2.4.pom
On 06/20/2014 01:54 AM, Andy Gumbrecht wrote:
I'll do a complete clean Repo build today and see if i can reproduce.
Sometime s these things happen, so just run a rebuild and see how it
goes for now.
--
Andy Gumbrecht http://www.tomitribe.com
TomEE treibt Tomitribe!
Sent from my mobile device. Please excuse my brevity.
On June 20, 2014 6:25:26 AM CEST, hanasaki <[email protected]> wrote:
Any thoughts on the NPE below? and the transitive dependency issue?
This is a straight trunk checkout - no local modifications
Thank you.
==
cd
/home/export/hanasaki/NetBeansProjects/tomee/trunk/tomee/apache-tomee;
JAVA_HOME=/usr/lib/jvm/jdk1.8.0
M2_HOME=/opt/dist/java-app/maven/current
/opt/dist/java-app/maven/current/bin/mvn clean install
Scanning for projects...
The POM for org.easymock:easymock:jar:2.4 is invalid, transitive
dependencies (if any) will not be available, enable debug logging for
more details
Using the builder
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
with a thread count of 1
------------------------------------------------------------------------
Building OpenEJB :: TomEE :: Apache TomEE 1.7.0-SNAPSHOT
------------------------------------------------------------------------
--- maven-clean-plugin:2.5:clean (default-clean) @ apache-tomee ---
Deleting
/home/export/hanasaki/NetBeansProjects/tomee/trunk/tomee/apache-tomee/target
--- geronimo-property-plugin:3.0.1:set-property
(set-endorsed-property)
@ apache-tomee ---
--- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent
(default-prepare-agent) @ apache-tomee ---
argLine set to
-javaagent:/home/export/hanasaki/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/export/hanasaki/NetBeansProjects/tomee/trunk/tomee/apache-tomee/target/jacoco.exec
--- maven-remote-resources-plugin:1.5:process (default) @
apache-tomee ---
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.596 s
Finished at: 2014-06-19T23:20:50-06:00
Final Memory: 17M/376M
------------------------------------------------------------------------
Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
(default) on project apache-tomee: Error rendering velocity resource.
NullPointerException -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the
-e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please
read the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException