Add the modules in a profile that is activated by default... that way when you activate the check profile explicitly (as long as you don't do -P+check) the modules will be missing from the effective pom ;-)
But beware fun side-effects On 15 February 2012 08:49, Cem Koc <cemalettin....@gmail.com> wrote: > Hi, > > Is there a way to restrict reactor plugin to forbid running sub modules in a > pom configuration. > > What I want to do is exact equivalent of non recursive parameter ( -N ) of > Maven. My parent pom is inherited by all sub modules and my goal is running > my pom profile without command line parameter. > > mvn -Pcheck instead of mvn -Pcheck -N > > > Thanks > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Non-Recursive-Maven-as-a-Pom-Configuration-tp5485284p5485284.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org