GoogleContainerTools / jib

🏗 Build container images for your Java applications.
Apache License 2.0
13.58k stars 1.43k forks source link

Plugin Config shows prefix not found exception #4143

Closed skumaravelan closed 7 months ago

skumaravelan commented 9 months ago

Mvn jib: build is touring an exception when I have plugin in Pom with out from and to image configuration. I am passing these arguments as environment variables. When I add those entries in Pom , build is successful. There is no need. When I tried to build using the ci system, build was failing because of the prefix not found exception. jib plugin needs the below config entries.

com.google.cloud.tools jib-maven-plugin 3.4.0 ${jib.from.image} ${jib.to.image} ${jib.to.auth.username} ${jib.to.auth.password} false packaged 8080
rquinio commented 9 months ago

Could you show the exception you're getting and use code blocks using ``` before and after the XML ?

diegomarquezp commented 7 months ago

Hi @skumaravelan, thanks for reporting this. Would you mind sharing the source pom.xml you are using and the exception you are getting as well? +1 to @rquinio's suggestion of using code blocks I will close this issue in the meantime as we do not have enough information to reproduce it. Please feel free to reopen it when we have more info.