I have a multi-module maven project.
To build the parent alone, I run mvn package -N
(where -N
is "non-recursive").
To build a few modules, I run mvn package -pl api,servie
(where -pl
is "projects").
How do I combine these two in order to build the api, service and the parent?
mvn package -pl api,service --also-make
(where --also-make
makes the dependencies as well)