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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.