How can we add external dependency jar in circleci

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

- run: mvn install:install-file -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] ------------------------------------------------------------------------
[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] 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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
Exited with code 1

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