How can we add external dependency jar in circleci


#1

Hi ,
Can any one help how to add external dependency jar in i am using

- run: mvn install:install-file -DgroupId=com.health -DartifactId=ucmi_wsclient -Dversion=1.0 -Dpackaging=jar -Dfile=ucmi_wsclient-0.1.jar -DgeneratePom=true

but getting below error

[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[ERROR] The specified file '/home/circleci/CIDependency/ucmi_wsclient-0.1.jar' not exists
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.511 s
[INFO] Finished at: 2018-05-16T07:19:57Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) on project standalone-pom: The specified file '/home/circleci/CIDependency/ucmi_wsclient-0.1.jar' not exists -> [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/MojoFailureException
Exited with code 1

#2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.