January 2018
Intermediate to advanced
414 pages
10h 29m
English
We can package the application using the Maven lifecycle phase package, either using the IntelliJ Maven projects window or from the command line.
mvnw package
Running this from our example project will create a file named chapter2-0.0.1-SNAPSHOT.jar under the target folder.
This command will create a JAR that contains all dependencies required by the application that we are packaging, in our case all the Spring components and third-party libraries that our microservice uses, this is commonly called a Fatjar and allows us to distribute or archive our microservice ...
Read now
Unlock full access