The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Publish maven artifacts to a private repository on the web

mihai onoprienco
September 15, 2023

I got 2 different repositories in bitbucket.

Repository A is creating several .jar artifacts which I then need to use in compilation of repository B ( a second bitbucket pipeline ).

I want to publish these jar file from mvn to a repository ( such as nexus ) and then pull them via mvn inside my second pipeline. How is it possible ?

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 18, 2023

Hi @mihai onoprienco,

Thank you for reaching out to the community.

To publish those JAR files from MVN to a repository such as Nexus, there's an existing Pipes script for it called "sonatype/nexus-repository-publish" that you can use.

For downloading artifacts from Nexus, I believe you can configure Maven to do this or manually download it through MVN/Curl commands.

I hope it helps.

Regards,
Mark C

mihai onoprienco
November 10, 2023

thank you !

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events