Describe the bug
Building docker image as instructions in document failed with output:
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.11:build (default-cli) on project rocketmq-exporter: Exception caught: ADD failed: file not found in build context or excluded by .dockerignore: stat rocketmq-exporter-0.0.2-SNAPSHOT-exec.jar: file does not exist -> [Help 1]
To Reproduce
Steps to reproduce the behavior:
Run mvn package -Dmaven.test.skip=true docker:build
The building process will end with error.
Expected behavior
The docker image should be successfully created.
Describe the bug Building docker image as instructions in document failed with output:
To Reproduce Steps to reproduce the behavior:
mvn package -Dmaven.test.skip=true docker:build
Expected behavior The docker image should be successfully created.