Quantcast

first-time build trouble

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

first-time build trouble

Rick Gordon
I'm trying to build the Jenkins code for the first time. Odd failure occurs.

Cloned current repository, looks like version is 1.488, I have mvn 3.0.3 installed, java 1.6.0_31, read the instructions.
first attempt:
'mvn -Plight-test install'

it pulled down a bunch of dependencies and then failed with the message:

INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ pom ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Maven 3.0 through 3.0.3 inclusive do not pass correct settings.xml to Maven Release Plugin.

which says 'warning' right? but then says:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0.1:enforce (enforce-maven) on project pom: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

The message above was the [warning].

Looking through the pom, I see required versions as Java 1.6.0-18 and Maven 3.0.

so, am confused as to why its failing. Ever seen this before? Any clues appreciated.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: first-time build trouble

Jesse Glick-4
On 10/15/2012 07:28 PM, Rick Gordon wrote:
> Maven 3.0 through 3.0.3 inclusive do not pass correct settings.xml to Maven Release Plugin.

Use 3.0.4.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: first-time build trouble

Rick Gordon
ah yes, didn't even realize 3.0.4 existed, found that, getting along much farther now.
eventually fails with out-of-memory errors, but that's fixable.

On Tuesday, October 16, 2012 9:33:04 AM UTC-7, Jesse Glick wrote:
On 10/15/2012 07:28 PM, Rick Gordon wrote:
> Maven 3.0 through 3.0.3 inclusive do not pass correct settings.xml to Maven Release Plugin.

Use 3.0.4.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: first-time build trouble

Rick Gordon
After upgrading to mvn 3.0.4 I got much farther, but kept running into trouble running tests during the build.
after allocating 2GB for Java heap space, and still running out of room - I just used -DskipTests=true
and -pl war. 
That built successfully. 

On Thursday, October 18, 2012 9:54:24 AM UTC-7, Rick Gordon wrote:
ah yes, didn't even realize 3.0.4 existed, found that, getting along much farther now.
eventually fails with out-of-memory errors, but that's fixable.

On Tuesday, October 16, 2012 9:33:04 AM UTC-7, Jesse Glick wrote:
On 10/15/2012 07:28 PM, Rick Gordon wrote:
> Maven 3.0 through 3.0.3 inclusive do not pass correct settings.xml to Maven Release Plugin.

Use 3.0.4.
Loading...