Change By: Peter Ivarsson (10/Apr/13 1:57 PM)
Description: Running maven manually (mvn.bat) or with Jenkins will generate an error (see below)
mvn
 -B -f  pom.xml Clean build

Running the command with clean (lower case) every thing works fine
mvn
 -B -f  pom.xml clean build

This is a part of Jenkins execution log
<===[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 C:\Users\piv\Documents\NetBeansProjects\LunchGuide\pom.xml Clean build
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for lunchguide:LunchGuide:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 42, column 15
[WARNING] The _expression_ ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The _expression_ ${version} is deprecated. Please use ${project.version} instead.
[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 Maven Quick Start Archetype 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.218s
[INFO] Finished at: Wed Apr 10 13:49:15 CEST 2013
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving C:\Users\piv\Documents\NetBeansProjects\LunchGuide\pom.xml to C:\Users\piv\.jenkins\jobs\LunchGuide\modules\lunchguide$LunchGuide\builds\2013-04-10_13-49-13\archive\lunchguide\LunchGuide\1.0-SNAPSHOT\LunchGuide-1.0-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Unknown lifecycle phase "Clean". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.

/ Peter Ivarsson
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to