[ https://jira.codehaus.org/browse/MNG-5230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MNG-5230. ------------------------------- Resolution: Fixed Fix Version/s: 3.2 Fixed in http://git-wip-us.apache.org/repos/asf/maven/commit/91499839 IT in http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/71cd6c8d [~tadukurow], your patches were very helpful! I've synced the include/exclude char with profiles, so you can use the '+' and '' for includes, '!' and '-' for excludes. However, I hit a bug in the commons-cli parser when using the '-', so I renamed the modules of the ITs. > 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 > Assignee: Robert Scholte > Fix For: 3.2 > > Attachments: MNG-5230-maven-core.patch, > MNG-5230-maven-integration-testing.patch > > > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira