After you build, look in the target/ folder, you will see a jar named the name of your service + '-' + version. For example, if your service is named helloworld, and on version 0.1.0-SNAPSHOT it will be named helloworld-0.1.0-SNAPSHOT.jar.
This is the jar that will be copied into the Docker container as app.jar
Does it merge all jars into one, which is app.jar?
After you build, look in the
target/
folder, you will see a jar named the name of your service + '-' + version. For example, if your service is namedhelloworld
, and on version0.1.0-SNAPSHOT
it will be namedhelloworld-0.1.0-SNAPSHOT.jar
.This is the jar that will be copied into the Docker container as app.jar
Thank you for explain!
And yes, all dependencies will be inside the one app.jar. This is usually done by the spring boot maven plug-in.