I added -X to my goals and options setting for my maven 3 jenkins project 
configuration. I am getting more debug output than before, but I am still 
not seeing all the debug output I get when building in my dev environment.

I've checked the maven distribution's settings.xml and the jenkins user's 
m2/settings.xml.  I've also checked my own settings.xml. Nothing would seem 
to have this effect.

The output appears to diverge after the line [INFO] scanning for 
projects... My local build outputs a lot of lifecycle mapping infromation 
that is missing from the jenkins build output. There is a lot of other 
missing information that i need also.

Does anyone know why is this and how to fix it?

***************LOCAL BUILD OUTPUT *******************

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 
2014-02-14T09:37:52-08:00)
Maven home: d:\current\apache-maven-3.2.1\bin\..
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: c:\java\jdk1.7.0_51\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from 
d:\current\apache-maven-3.2.1\bin\..\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\kay\.m2\settings.xml
[DEBUG] Using local repository at d:\r
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for 
d:\r
[INFO] Scanning for projects...
[DEBUG] Extension realms for project redacted:pom:pom:0.1: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from 
ClassRealm[plexus.core, parent: null]

***************JENKINS OUTPUT***************

Started by user kay
Building in workspace d:\services\tomcat8\jenkins-home\workspace\redacted
Fetching changes from the remote Git repository
Fetching upstream changes from http://redacted
Checking out Revision redacted
Parsing POMs
[redacted] $ c:\java\jdk1.7.0_51/bin/java -Xmx1024m -XX:MaxPermSize=768m 
-cp 
d:\services\tomcat8\jenkins-home\plugins\maven-plugin\WEB-INF\lib\maven31-agent-1.4.jar;c:\users\tomcat8\apache-maven-3.2.1\boot\plexus-classworlds-2.5.1.jar;c:\users\tomcat8\apache-maven-3.2.1/conf/logging
 
jenkins.maven3.agent.Maven31Main c:\users\tomcat8\apache-maven-3.2.1 
D:\services\apache-tomcat-8.0.3\webapps\jenkins\WEB-INF\lib\remoting-2.40.jar 
d:\services\tomcat8\jenkins-home\plugins\maven-plugin\WEB-INF\lib\maven31-interceptor-1.4.jar
 
d:\services\tomcat8\jenkins-home\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.4.jar
 
52020
<===[JENKINS REMOTING CAPACITY]===>
channel started
Executing Maven:  -B -f 
d:\services\tomcat8\jenkins-home\workspace\redacted\pom.xml clean verify -X
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 
2014-02-14T09:37:52-08:00)
Maven home: C:\Users\tomcat8\apache-maven-3.2.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: c:\java\jdk1.7.0_51\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from 
C:\Users\tomcat8\apache-maven-3.2.1\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\tomcat8\.m2\settings.xml
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model 
for redacted:redacted:jar:0.1
[WARNING] 
'profiles.profile[glassfish-persistence].dependencies.dependency.systemPath' 
for glassfish-persistence:toplink-essentials:jar should use a variable 
instead of a hard-coded path 
d:/current/glassfish-jpa/glassfish-persistence/toplink-essentials.jar @ 
line 247, column 33


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to