Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I include custom jars in my maven build on bamboo cloud?

Zung Nguyen October 8, 2015

I have a maven build job on Bamboo Cloud. I have some custom jars that I normally put in my local m2 repository. How can I put these jar files on bamboo so that my EC2 agents can find them when doing the build?

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2015

Hello @Zung Nguyen,

I think that you need additional Maven task to install library to local repo. See sample at http://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-in-maven-project. These libraries can be part of your source code repository or downloaded by wget or curl command. This task should be before your current Maven build task.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events