[ https://jira.codehaus.org/browse/MNG-5230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=289070#comment-289070 ]
Falko Modler commented on MNG-5230: ----------------------------------- Good point! Before I created this ticket, I was actually looking for such a negation feature of -pl. > Command line option to exclude modules from reactor > --------------------------------------------------- > > Key: MNG-5230 > URL: https://jira.codehaus.org/browse/MNG-5230 > Project: Maven 2 & 3 > Issue Type: New Feature > Components: Command Line > Affects Versions: 3.0.3 > Reporter: Falko Modler > > Every now and then I want to exclude one or more modules from a rather large > reactor build. > One reason for this can be: The respective module has tests that take long > time to execute and I know that I don't need to execute them. > Introducing yet another profile for this is not desirable for various reasons. > So, something like an opposite to -pl would come in handy. Let's say "-el" > for "exclude list". > Example: > {code} > root > + module a > + module a1 > + module a2 > + module b > + module b1 > + module c > {code} > Calling _mvn -el a1,c_ would build all modules execpt a1 and c. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira