[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.3.6:build (default-cli) on project test: Could not build image: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.spotify.docker.client.messages.RegistryAuth: no String-argument constructor/factory method to deserialize from String value ('swarm')
[ERROR] at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.LinkedHashMap["stackOrchestrator"])
最终自己尝试了大约2个消失,结论就是版本冲突的问题....
删除了版本之后就执行了:
[INFO]
[INFO] Image will be built as test:latest
[INFO]
[INFO] Step 1/6 : FROM openjdk:8-jdk-alpine
[INFO]
[INFO] Pulling from library/openjdk
[INFO] Image e7c96db7181b: Pulling fs layer
[INFO] Image f910a506b6cb: Pulling fs layer
[INFO] Image c2274a1a0e27: Pulling fs layer
[INFO] Image f910a506b6cb: Downloading
[INFO] Image e7c96db7181b: Downloading
[INFO] Image c2274a1a