Run each command for each module in maven -
in multi-moudle project if type 'mvn clean install', maven run both command each module. can run each command module , run next command module??
current:
building module-1 task-segment: [clean,install]
building module-2 task-segment: [clean,install]
...
expected:
building module-1 task-segment: [clean]
building module-2 task-segment: [clean] ...
building module-1 task-segment: [install]
building module-2 task-segment: [install] ....
can achieve this???
no, can't achieve that, because mvn clean install
one command, 2 goals.
your solution run run clean
, then mvn install
.
Comments
Post a Comment