Issue
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
Solution
The second command does the most essential things (but no tests, no resources ...).
Always use the lifecycle, call mvn clean package
Answered By - J Fabian Meier