Hello there! I an new to cicleCI and i’m trying to get this working in my environment. Today I have two git projects (lets call them project A and project B). Both projects are java projects and uses maven, but to generate the project B build, I need some things from project A - something like common libraries. This is the error that I got:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.831 s
[INFO] Finished at: 2016-01-08T17:28:51+00:00
[INFO] Final Memory: 26M/1963M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project widget: Could not resolve dependencies for project br.com:widget:war:1.0-SNAPSHOT: The following artifacts could not be resolved: br.com.common:common-restful:jar:1.0-SNAPSHOT, br.com.common:common-project:jar:1.0-SNAPSHOT: Could not find artifact br.com.common:common-restful:jar:1.0-SNAPSHOT → [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] DependencyResolutionException - Apache Maven - Apache Software Foundation
I know this error in my local environment and I know that to get this working, I need to clone another git repository and run the command “mvn clean install eclipse:clean eclipse:eclipse -P desenv -Dmaven.test.skip=true”, but I don’t know how to get this working on circleCI.
Can someone help me with this?
Thanks!