When I build locally I will build my libraries using:
mvn clean install
That installs my libraries into the local maven repository (~/.m2)
Then I build the applications using something like:
mvn clean verify docker:build
These applications rely on the libraries (and some libraries rely on other libraries).
When I do the same using bitbucket pipelines (and execute the pipelines builds in the correct order) I get an error from maven indicating that the library (compiled under the same user account but stored in a separate bitbucket repository) is not found. Clearly there is no shared maven repository containing the project which the mvn install command run from bitbucket-pipelines.yml previously successfully installed somewhere.
Is there any way I can git bitbucket pipelines to use one local repository across my projects?
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events