fabric8io / ipaas-quickstarts

quickstarts for the fabric8 project
Apache License 2.0
66 stars 86 forks source link

Met "Missing or more than one assembly archive file *.tar.gz in /deployments" in karaf-camel-amq pod #1229

Open chunyunchen opened 8 years ago

chunyunchen commented 8 years ago

It's failed to create camel-amq app due to miss file *.tar.gz in /deployments.

The steps to reproduce:

  1. git clone https://github.com/fabric8io/ipaas-quickstarts.git
  2. cd ipaas-quickstarts/quickstart/karaf/camel-amq/
  3. mvn clean install docker:build
  4. Push docker image to Docker Hub docker tag -f fabric8/karaf-camel-amq:2.3-SNAPSHOT chunyunchen/karaf-camel-amq:2.3-SNAPSHOT docker push chunyunchen/karaf-camel-amq:2.3-SNAPSHOT
  5. Log into OpenShift and create a project oc new-project chun
  6. Create camel-amq app oc new-app --docker-image=chunyunchen/karaf-camel-amq:2.3-SNAPSHOT
  7. Check the logs of camel-amq pod $ oc logs karaf-camel-amq-2-gdyf8 Checking for .tar.gz in /deployments Missing or more than one assembly archive file .tar.gz in /deployments
xiazhao2015 commented 8 years ago

@chunyunchen Are you building on java 1.8.0? How did you come over this failure? '[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project karaf-camel-amq: Fatal error compiling: invalid target release: 1.8 -> [Help 1]'

chunyunchen commented 8 years ago

@xiazhao2015 yes, the error you met will gone when using 1.8.0