Happy Business Starts Here

Highlighted
Tutor

QuickStart-Java is not able to compile/install using maven

I have downloaded the quickstart-java project, but its not compiling out of the box. Getting errors while doing mvn-install.

 

INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.906 s
[INFO] Finished at: 2018-02-22T13:26:52-06:00
[INFO] Final Memory: 13M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project swagger-java-client: Could not resolve dependencies for project io.swagger:swagger-java-client:jar:1.0.0: Could not find artifact zuora.com.rest:ZuoraRestService:jar:1.0 in Zuora (file:///Users/gk/dev-sts/quickstart-java-master/ZuoraQuickstart/archive) -> [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/DependencyResolutionException

 

Any help !!

 

-Gautam

1 REPLY
Tutor

Re: QuickStart-Java is not able to compile/install using maven

Did manual install of the jar file and the examples work fine:

 

mvn install:install-file -Dfile=/Users/gc/dev-sts/quickstart-java-master/archive/zuora/com/rest/ZuoraRestService/ZuoraRestService-1.0.jar -DgroupId=zuora.com.rest -DartifactId=ZuoraRestService -Dversion=1.0 -Dpackaging=jar