Is there a way to specify submodules to build, at the command line?
For example, I have a project:
<modules>
<module>A</module>
<module>B</module>
</modules>
and I would like to decide, at runtime in a shell script, wether i want to build A, B, or A and B.
I'd like to issue:
mvn -Dmodules=A,B
Is there an equivalent command which is possible?