On 18 Jun 2015, at 16:58, Fabian Hueske <fhue...@gmail.com> wrote: > Why? > > mvn package > > builds the program correctly, no?
Yes, but: - Dependencies not specified by the user may be included (Metrics, javaassist) - Dependencies specified by the user may be excluded - If you use the build-jar profile you have to understand what the difference to the default profile is and then you have to include your dependencies again for the profile - The pom comments are confusing