Advertisement
rohankanojia

Untitled

Jan 23rd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. ~/work/repos/karaf-camel-log : $ mvn clean package fabric8:build
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ---------------< io.fabric8.quickstarts:karaf-camel-log >---------------
  5. [INFO] Building Fabric8 :: Quickstarts :: Karaf :: Camel Log 1.0-SNAPSHOT
  6. [INFO] -------------------------------[ bundle ]-------------------------------
  7. [INFO]
  8. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ karaf-camel-log ---
  9. [INFO] Deleting /home/Rohaan/work/repos/karaf-camel-log/target
  10. [INFO]
  11. [INFO] --- fabric8-maven-plugin:4.0-SNAPSHOT:resource (generate-resource) @ karaf-camel-log ---
  12. [INFO] F8: Running in OpenShift mode
  13. [INFO] F8: Using docker image name of namespace: myproject
  14. [INFO] F8: Running generator karaf
  15. [INFO] F8: karaf: Using Docker image fabric8/s2i-karaf:2.3 as base / builder
  16. [INFO] F8: using resource templates from /home/Rohaan/work/repos/karaf-camel-log/src/main/fabric8
  17. [INFO] F8: fmp-service: Adding a default service 'karaf-camel-log' with ports [8181]
  18. [INFO] F8: fmp-revision-history: Adding revision history limit to 2
  19. [INFO] F8: validating /home/Rohaan/work/repos/karaf-camel-log/target/classes/META-INF/fabric8/openshift/karaf-camel-log-service.yml resource
  20. [INFO] F8: validating /home/Rohaan/work/repos/karaf-camel-log/target/classes/META-INF/fabric8/openshift/karaf-camel-log-deploymentconfig.yml resource
  21. [INFO] F8: validating /home/Rohaan/work/repos/karaf-camel-log/target/classes/META-INF/fabric8/kubernetes/karaf-camel-log-service.yml resource
  22. [INFO] F8: validating /home/Rohaan/work/repos/karaf-camel-log/target/classes/META-INF/fabric8/kubernetes/karaf-camel-log-deployment.yml resource
  23. [INFO]
  24. [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ karaf-camel-log ---
  25. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  26. [INFO] Copying 2 resources
  27. [INFO]
  28. [INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ karaf-camel-log ---
  29. [INFO] No sources to compile
  30. [INFO]
  31. [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ karaf-camel-log ---
  32. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  33. [INFO] skip non existing resourceDirectory /home/Rohaan/work/repos/karaf-camel-log/src/test/resources
  34. [INFO]
  35. [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ karaf-camel-log ---
  36. [INFO] No sources to compile
  37. [INFO]
  38. [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ karaf-camel-log ---
  39. [INFO] No tests to run.
  40. [INFO]
  41. [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ karaf-camel-log ---
  42. [WARNING] Bundle io.fabric8.quickstarts:karaf-camel-log:bundle:1.0-SNAPSHOT : No translation found for macro: body
  43. [WARNING] Bundle io.fabric8.quickstarts:karaf-camel-log:bundle:1.0-SNAPSHOT : No translation found for macro: id
  44. [INFO]
  45. [INFO] --- fabric8-maven-plugin:4.0-SNAPSHOT:build (default-cli) @ karaf-camel-log ---
  46. [INFO] F8: Using OpenShift build with strategy S2I
  47. [INFO] F8: Running generator karaf
  48. [INFO] F8: karaf: Using Docker image fabric8/s2i-karaf:2.3 as base / builder
  49. [ERROR] F8: Failed to execute the build [Unable to create the build archive]
  50. [INFO] ------------------------------------------------------------------------
  51. [INFO] BUILD FAILURE
  52. [INFO] ------------------------------------------------------------------------
  53. [INFO] Total time: 6.428 s
  54. [INFO] Finished at: 2019-01-23T17:32:25+05:30
  55. [INFO] ------------------------------------------------------------------------
  56. [ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:4.0-SNAPSHOT:build (default-cli) on project karaf-camel-log: Failed to execute the build: Unable to create the build archive: Failed to create assembly for docker image (with mode 'dir'): Error creating assembly archive docker: archive cannot be empty. -> [Help 1]
  57. [ERROR]
  58. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  59. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  60. [ERROR]
  61. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  62. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement