maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Fay <>
Subject Re: Removing some modules in a maven profile
Date Fri, 20 Jan 2012 20:32:53 GMT
> I want the default profile builds the entire module list but create a new
> profile that say only builds a and b but not c. I have seen a thread where
> adding a module is suggested in a profile instead of removing (excluding)
> one. I tried to give module a and b in the profile and still mvn built
> everything, I guess because it builds the parent list first (?). Is there a
> way to accomplish this?

You can do this if you merely think in opposite terms. Your parent
should only include A and B. Your profile should include C.

Then you build "normal" when you want to only build A and B, and
activate the profile to include C.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message