Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can maven projects depend on one another within Bitbucket Pipelines? Edited

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?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

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...

3,942 views 68 21
Read article

Community Events

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

Events near you