当我运行这个命令时:
mvn -e package -Pprod verify jib:dockerBuild
在jhipster-registry
标准项目中,要 dockerize 这个应用程序,我得到这个错误:
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project jhipster-registry: Invalid image reference: JHipster Registry:5.0.0 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project jhipster-registry: Invalid image reference: JHipster Registry:5.0.0
Help1 中建议的链接是:
https://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException