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
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

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

934 views 0 3
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