What's the difference between mvn package
and mvn compile war:war
?
When I run both of these commands, they both seem to do the same thing.
NB: I'm developing a spring boot app
Thank you in advance
What's the difference between mvn package
and mvn compile war:war
?
When I run both of these commands, they both seem to do the same thing.
NB: I'm developing a spring boot app
Thank you in advance
The second command does the most essential things (but no tests, no resources ...).
Always use the lifecycle, call mvn clean package