How to handle maven dependency to ZIP-file in Bitbucket pipeline? Edited

I am new to the Bitbucket and have just moved my source code (a maven-based Java program) to the Bitbucket.

Originally the maven pom.xml had the following dependency to a ZIP-file with some testdata which has resided in a repository manager:


<dependency>
<groupId>my.group.id</groupId>
<artifactId>MyTestdata</artifactId>
<version>6.0</version>
<type>zip</type>
<scope>test</scope>
</dependency>

Of course now the Bitbucket's pipeline has no access to that repository and cannot build.

Question(s):

  1. What is the proper way to solve the testdata dependency in the new Bitbucket's integration environment?
  2. Where and how can I deploy my testdata, is it the "Downloads" section of my repository?  
  3. How to specify in the pom.xml the dependency to an artifact from the downloads section?

 Thank you for your time!

Dmytro

0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

631 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot