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?
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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