Issue Type: Bug Bug
Affects Versions: current
Assignee: Peter Ivarsson
Components: maven
Created: 10/Apr/13 1:55 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.

Due Date: 10/Apr/13 12:00 AM
Environment: Windows 7, JDK 7 update 17, maven 3.0.5, Jenkins maven plugin 1.510, Jenkins 1.510
Fix Versions: current
Project: Jenkins
Labels: plugin jenkins
Priority: Major Major
Reporter: 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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to