Share jar of the module with another team

泪湿孤枕 提交于 2019-12-11 13:43:44

问题


I am new to maven and trying to figure out how to share the jar file of the module with our another team. They are developing another module and their module depends on our module.

Will it be the best solution to setup 3rd party maven remote repository ? What will be the correct tools for this?

We use Hudson to manage our integration environment build. And I started looking into Artifactory and Artifactory plugin for Hudson. Is it correct approach?

Thanks.


回答1:


There are 3 main Maven repository managers to consider:

  • Nexus
  • Artifactory
  • Archiva

Personally, I would recommend Nexus.

A left field option to consider is the Jenkins Maven repository plugin. This enables the jar built by Jenkins to be published as a Maven module. (Hudson and Jenkins plugins should still be compatible)




回答2:


Yes have a look at using a corporate repository manager to deploy your artifacts and share it with other teams. You have:

  • artifactory
  • nexus
  • apache archiva


来源:https://stackoverflow.com/questions/9201195/share-jar-of-the-module-with-another-team

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!