spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.67k stars 575 forks source link

win7+idea+docker:ADD failed: ...,no such file or directory #346

Closed dgtery closed 6 years ago

dgtery commented 7 years ago

"C:\Program Files\Java\jdk1.8.0_112\bin\java" -Dmaven.multiModuleProjectDirectory=F:\workspace\intel_ws\PiggyMetrics\config "-Dmaven.home=D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.5\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.5\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.5\lib\idea_rt.jar=10718:D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.5\bin" -Dfile.encoding=UTF-8 -classpath "D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.5\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.1.5 com.spotify:docker-maven-plugin:1.0.0:build [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building config 0.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- docker-maven-plugin:1.0.0:build (default-cli) @ config --- [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier] [INFO] No resources will be copied, no files match specified patterns [INFO] Copying F:\workspace\intel_ws\PiggyMetrics\config\src\main\docker\Dockerfile -> F:\workspace\intel_ws\PiggyMetrics\config\target\docker\Dockerfile [INFO] Building image config:0.0.2-SNAPSHOT Step 1/5 : FROM java:8-jre ---> e44d62cf8862 Step 2/5 : MAINTAINER Alexander Lukyanchikov sqshq@sqshq.com ---> Using cache ---> 67e7037ac866 Step 3/5 : ADD ./target/config.jar /app/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.154 s [INFO] Finished at: 2017-07-14T15:52:09+08:00 [INFO] Final Memory: 23M/342M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project config: Exception caught: ADD failed: stat /mnt/sda1/var/lib/docker/tmp/docker-builder632404734/target/config.jar: no such file or directory -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.