fabric8io / fabric8

fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
http://fabric8.io/
1.76k stars 504 forks source link

Trying to deploy my bundles into fabric server hosted on local #6935

Open sravanmummadi opened 7 years ago

sravanmummadi commented 7 years ago

I am trying to deploy my bundles into fabric server using the below command.

mvn fabric8:deploy -DskipTests=true -Dupload=false -DjolokiaUrl=http://admin:admin@localhost:8181/jolokia -DserverId=local -DdeployEnvironment=server

I get the below error.

Downloading: http://TXCDTL03SM907K:8181/maven/upload/com/att/oce/oce-rt-common-util/5.0.0-SNAPSHOT/maven-metadata.xml
Uploading: http://TXCDTL03SM907K:8181/maven/upload/com/att/oce/oce-rt-common-util/5.0.0-SNAPSHOT/oce-rt-common-util-5.0.0-20170829.193713-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OceRTModules ...................................... SUCCESS [28.942s]
[INFO] oce-rt-common-util ................................ FAILURE [18.632s]
[INFO] oce-rt-sales-order-pull ........................... SKIPPED
[INFO] oce-rt-reflector-email ............................ SKIPPED
[INFO] oce-rt-order-post ................................. SKIPPED
[INFO] oce-rt-sales-cassandra-connect .................... SKIPPED
[INFO] oce-rt-order-track ................................ SKIPPED
[INFO] oce-rt-order-misc ................................. SKIPPED
[INFO] oce-rt-sales-restlets ............................. SKIPPED
[INFO] oce-rt-burn-eligible .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.993s
[INFO] Finished at: Tue Aug 29 14:37:13 CDT 2017
[INFO] Final Memory: 64M/730M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:1.2.0.redhat-133:deploy (default-cli) on project oce-rt-common-util: Failed to deploy artifacts: Could not find artifact com.at
t.oce:oce-rt-common-util:pom:5.0.0-20170829.193713-1 in local (http://TXCDTL03SM907K:8181/maven/upload/) -> [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

I am using

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 07:51:28-0600) Maven home: C:\Apache\maven\bin.. Java version: 1.8.0_141, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_141\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

Could some one please help me with some suggestions on how to move forward on this.

ahmadiq commented 7 years ago

@sravanmummadi Can you try changing the upload, jolokiaUrl and serverId arguments. I think they may need to be fabric8.upload , fabric8.jolokiaUrl and fabric8.serverId respectively.

Also, perhaps share the full stack trace of the errors, by running the mvn command with the -e switch.

mvn fabric8:deploy -e -DskipTests=true -Dfabric8.upload=false -Dfabric8.jolokiaUrl=http://admin:admin@localhost:8181/jolokia -Dfabric8.serverId=local -DdeployEnvironment=server