Share jar of the module with another team

2019-08-12 08:41发布

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.

2条回答
家丑人穷心不美
2楼-- · 2019-08-12 09:12

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
查看更多
ら.Afraid
3楼-- · 2019-08-12 09:13

There are 3 main Maven repository managers to consider:

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)

查看更多
登录 后发表回答