开发者

Automating Maven Settings file

I have artifactory setup on our local network, and we are currently looking to put alot of our projects onto a Hudson box for CI purposes.

Currently to get a project working the user has to checkout the project they are working on, then go to their maven settings.xml file and change it. I would ideally like to streamline these procedures so when you checkout your code you can as part of the build put in the right settings file.

The project im currently refactoring has external dependencies that are pulled in through artifactory, and hudson wont build it as it cannot pull in the external dependencies...

Im still not 100% sure if this is the best course to take, but开发者_StackOverflow社区 I want to remove as many manual steps as possible for project setup, and so far this seems to be a major one...


I think the best way is that your pom.xml inherit from a common parent pom.xml where stuff like dependencies to some third pary repos are defined.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜