Issue Type: Bug Bug
Assignee: Unassigned
Components: maven-plugin
Created: 24/Nov/14 3:21 PM
Description:

The Jenkins Maven Plugin cannot deal with the advanced reactor options of Maven.
See http://blog.sonatype.com/2009/10/maven-tips-and-tricks-advanced-reactor-options

When e.g. executing a a maven build with the following maven command in Jenkins:
mvn clean install -pl !excludedModule

one gets the following error:

Executing Maven:  -B -f /myworkspace/myproject/pom.xml clean install -pl !excludedModule
[INFO] Scanning for projects...
[ERROR] Could not find the selected project in the reactor: !excludedModule -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
channel stopped

See also the discussion in the Jenkins Google Group:
https://groups.google.com/forum/#!topic/jenkinsci-users/8hXjxAB0WSw

Environment: Jenkins v1.565.3, Maven-Plugin version 2.7
Project: Jenkins
Priority: Major Major
Reporter: Jacques Stadler
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/d/optout.

Reply via email to