maven release + generate/public image

64 views
Skip to first unread message

Arek R.

unread,
Feb 19, 2021, 10:20:41 AM2/19/21
to Quarkus Development mailing list

Have multi module project and the quarkus project is a submodule

./mvnw package -Dquarkus.container-image.build=true -Dquarkus.container-image.name=xxx-jvm is working as expected, the image is created

I guess ./mvnw release:perform it -Dquarkus.container-image.build=true -Dquarkus.container-image.name=xxx-jvm is the correct way to generare and publish the image for the specific released version. But the image is not created
Tried a lot of options, used maven profiles and no success. The maven artifict is build and deployed
Any ides what I missed?

BR
Arek R.

Georgios Andrianakis

unread,
Feb 19, 2021, 12:31:17 PM2/19/21
to arkadiusz...@gmail.com, Quarkus Development mailing list
When you run ./mvnw release:perform you simply running the perform goal of the release plugin - you are not invoking Maven's lifecycle and thus the Quarkus Maven plugin does not run.
One thing you can do is manually build quarkus via:

./mvnw io.quarkus:quarkus-maven-plugin:build release:perform it -Dquarkus.container-image.build=true -Dquarkus.container-image.name=xxx-jvm

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/4d5740ab-58fc-430c-bd9a-3aa0d48db246n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages