Maven profile for single module

Posted by c0mrade on Stack Overflow See other posts from Stack Overflow or by c0mrade
Published on 2010-03-08T11:41:36Z Indexed on 2010/03/08 13:36 UTC
Read the original article Hit count: 226

Filed under:
|
|

I have a multi module maven project, which builds successfully, I'd like to build just one of the modules I have. How would I do that with profiles ? I could do it from console in two ways, one way is go to the child module and mvn package or I could use reactor to build just one module.

Can I do the same thing with profiles? By modifying POM? Thank you

EDIT

If is impossible from POM, can I do it from settings.xml ?

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about java