[JIRA] [maven-plugin] (JENKINS-25760) Jenkins maven-plugin cannot deal with mavens advanced reactor options

2014-11-24 Thread jacques.stad...@gmail.com (JIRA)














































Jacques Stadler
 created  JENKINS-25760


Jenkins maven-plugin cannot deal with mavens advanced reactor options















Issue Type:


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



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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [maven-plugin] (JENKINS-25760) Jenkins maven-plugin cannot deal with mavens advanced reactor options

2014-11-24 Thread jacques.stad...@gmail.com (JIRA)














































Jacques Stadler
 updated  JENKINS-25760


Jenkins maven-plugin cannot deal with mavens advanced reactor options
















Change By:


Jacques Stadler
(24/Nov/14 3:25 PM)




Description:


TheJenkinsMavenPlugincannotdealwiththeadvancedreactoroptionsofMaven.Seehttp://blog.sonatype.com/2009/10/maven-tips-and-tricks-advanced-reactor-optionsWhene.g.executingaamavenbuildwiththefollowingmavencommandinJenkins:mvncleaninstall-pl!excludedModuleonegetsthefollowingerror:{code}ExecutingMaven:-B-f/myworkspace/myproject/pom.xmlcleaninstall-pl!excludedModule[INFO]Scanningforprojects...[ERROR]Couldnotfindtheselectedprojectinthereactor:!excludedModule-[Help1][ERROR][ERROR]Toseethefullstacktraceoftheerrors,re-runMavenwiththe-eswitch.[ERROR]Re-runMavenusingthe-Xswitchtoenablefulldebuglogging.[ERROR][ERROR]Formoreinformationabouttheerrorsandpossiblesolutions,pleasereadthefollowingarticles:[ERROR][Help1]http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionExceptionchannelstopped{code}
Runningthesamecommandonthesameprojectwiththesamemavenversiononthecommandlineitworksfine.
SeealsothediscussionintheJenkinsGoogleGroup:https://groups.google.com/forum/#!topic/jenkinsci-users/8hXjxAB0WSw



























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/d/optout.