开发者

How to configure Bamboo such that it pulls automatically the dependent jars from a local repository that is in SVN?

开发者 https://www.devze.com 2023-02-13 06:40 出处:网络
I have configured maven with Bamboo and have a local repository that contains organization specific jars. These jars are stored in SVN. The problem is that when ever I add a jar to the re开发者_C百科p

I have configured maven with Bamboo and have a local repository that contains organization specific jars. These jars are stored in SVN. The problem is that when ever I add a jar to the re开发者_C百科pository (in SVN) and add the dependency to pom xml, Maven does not check it out from SVN. Have a clean build goal configured in Bamboo. What configuration setting am I missing? Help appreciated!!!


You are storing JARs in repository even though your project is built using maven? Does this mean every developer, after checking-out JAR from SVN (along source files) has to manually add it to his local repository?

In most configurations I have seen so far Bamboo was using company-wide Nexus repository, the same as the one that was used by all developers. This way every JAR added to this repository was available to both Bamboo builds and team members.

Each time we need to add some 3rd party/company specific JAR, we simply added it to Nexus before committing the code to make sure neither Bamboo nor other developers' build won't fail.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号