Bamboo and nexus

Hi All,

Is there a way to get artifacts from nexus to bamboo in my builds.

I know after a build I can use the created artifacts in other child plans or new plans , but is there any way we can get from nexus first before doing the build?

We can the do the other way around that upload to snapshot nexus repository from bamboo using maven and pom.xml file.


But is the reverse allowed getting from nexus ? and yes can you please let us know the plugin name ? or any other way to do it ?


Thank you





3 answers

Actually you can use maven and pom to upload and download artifacts. The trick is to create the correct pom file for that.

Sample pom.xml:

<project xmlns="" 


mvn dependency:copy-dependencies

And you'll get all your dependencies in /target/dependency directory.

Also if you don't need to copy transitive dependencies you can use wget or curl to download a file from a repo (or any other http download tool).



Thank you for the reply.

Can you please send me a sample pom file is it's okay ?



I've added a sample pom to my answer.

Thank you for your answer and sample pom file.


I will try to do the steps and let you know if I am stuck somewhere.


My requirement is when I run the build it should get the artifacts from my nexus hosted repository and should use those artifacts in the same buils.




Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,801 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you