简体   繁体   中英

Fabric8 maven plugin fails on run build


I'm running mvn build and using fabric8 maven plugin for dockerizing the application. Every time I run the build it fails as it uses a docker command that fails docker-credential-secretservice version .
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.28.0:build (docker-build) on project useradmin-server-war: Error getting the version of the configured credential helper: Process 'docker-credential-secretservice version' exited with status 1 -> [Help 1]
I tried the command manually in the terminal but it fails and outputted: unknown credential action version
Any ideas how to solve this, I can't find something useful when I searched.

It was a bug and resolved in later versions of the plugin. I changed the plugin version from 0.28.0 to 0.33.0 .
Here's the plugin from the pom.xml (after updating the version):

<plugin>
    <groupId>io.fabric8</groupId>
    <artifactId>docker-maven-plugin</artifactId>
    <version>0.33.0</version>
</plugin>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM