You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build project mvn install. New artifacts are built (fatJar, docker image, etc)
Change something in jkube-boot-multimodule-domain source code e.g. in HelloService.java change return string.
Do another build mvn install
Now docker image contains artifact from first build. From unknown reason, the artifact assembly/target/docker/jkube/test/1.0-SNAPSHOT/build/maven/jkube-boot-multimodule-assembly-1.0-SNAPSHOT.jar didn't change, but assembly/target/jkube-boot-multimodule-assembly-1.0-SNAPSHOT.jar is correct.
The text was updated successfully, but these errors were encountered:
hlavki
changed the title
final fat jar is not updated when main jar does not changes
final fat jar is not updated in docker build directory
Sep 17, 2020
Description
docker image in multi module spring boot project didn't change after
mvn install
. Workaround is to callmvn clean install
Info
mvn -v
) :You can use https://github.com/hlavki/jkube-363 as reproducible source.
Scenario:
mvn install
. New artifacts are built (fatJar, docker image, etc)jkube-boot-multimodule-domain
source code e.g. inHelloService.java
change return string.mvn install
Now docker image contains artifact from first build. From unknown reason, the artifact
assembly/target/docker/jkube/test/1.0-SNAPSHOT/build/maven/jkube-boot-multimodule-assembly-1.0-SNAPSHOT.jar
didn't change, butassembly/target/jkube-boot-multimodule-assembly-1.0-SNAPSHOT.jar
is correct.The text was updated successfully, but these errors were encountered: