Maven 2的最佳企业存储库工具?

时间:2022-09-13 23:56:18

Some of the other questions and answers here on SO extol the virtues of using an enterprise repository tool like Archiva, Artifactory, or Nexus. What are the pros and cons of each? How do I choose between them?

SO上的其他一些问题和答案颂扬了使用Archiva,Artifactory或Nexus等企业存储库工具的优点。各自的优点和缺点是什么?我如何在它们之间做出选择?

In case it helps:

如果有帮助:

  • We use both Maven 1 and Maven 2 (at least for a while)
  • 我们同时使用Maven 1和Maven 2(至少暂时使用)

  • We want to store both internally-generated artifacts, publicly-available ones (ibiblio, codehaus, etc.), and proprietary ones (e.g. Sun's licensed JARs like the Servlet API).
  • 我们希望存储内部生成的工件,公开可用的工件(ibiblio,codehaus等)和专有工件(例如Sun的许可JAR,如Servlet API)。

  • We would like something that runs on Windows, Linux, or both.
  • 我们想要在Windows,Linux或两者上运行的东西。

  • We use Luntbuild as our CI server (but intend moving to Hudson some time).
  • 我们使用Luntbuild作为我们的CI服务器(但是打算一段时间转移到Hudson)。

N.B. this question is not a duplicate of either this one or this one.

注:这个问题不是这一个或这个问题的重复。

6 个解决方案

#1


10  

We had been using Archiva for a while, and were happy with it. We recently switched hardware, and decided to try out Nexus because we had read some good things about it. We didn't know what we were missing in Archiva, but Nexus is far better. The repository aspect is easier because it "groups" all the repositories into one url, for easier settings.xml configuration. Further, the web site rocks -- easy search for artifacts, and even searches the global central repo, without having downloaded it all to your proxy. I highly recommend Nexus!

我们一直在使用Archiva,并对它很满意。我们最近换了硬件,并决定尝试使用Nexus,因为我们已经阅读了一些有关它的好东西。我们不知道Archiva中缺少什么,但Nexus要好得多。存储库方面更容易,因为它将所有存储库“分组”到一个URL中,以便更轻松地进行settings.xml配置。此外,网站摇滚 - 轻松搜索工件,甚至搜索全球*仓库,而无需将其全部下载到您的代理。我强烈推荐Nexus!

#2


4  

I have used Archiva for over a year and found it met all of the basic requirements, however, we were restricted to a Windows server and as such found a few limitations and had a large memory footprint.

我已经使用Archiva一年多了,发现它符合所有基本要求,但是,我们被限制在Windows服务器上,因此发现了一些限制并且内存占用空间很大。

The main reason we started looking for an alternative, however, was the painful process to upload artifacts to the repository that didn't exist in the Maven repositories on the web (such as some of the Sun or IBM jar files).

然而,我们开始寻找替代方案的主要原因是将工件上传到存储库的痛苦过程,该存储库在Web上的Maven存储库中不存在(例如某些Sun或IBM jar文件)。

We made the switch to Nexus about two months ago and have been impressed very much by its clean interface, ease of use, and general non-invasiveness. Uploading new artifacts is a breeze, and we haven't had a single issue. We've been using Mule and CXF a bit, and so we've had to download from both legacy (Maven1) and standard (Maven2) repositories - these are straightforward to set up and require little (if any) administration.

大约两个月前我们改用了Nexus,并且它的界面干净,易于使用和一般的非侵入性给我留下了深刻的印象。上传新工件是轻而易举的,我们没有一个问题。我们一直在使用Mule和CXF,所以我们必须从遗留(Maven1)和标准(Maven2)存储库下载 - 这些都很容易设置并且几乎不需要(如果有的话)管理。

The documentation is excellent with the free PDF on the Nexus site (also you can buy the hardcopy version if you like).

Nexus网站上的免费PDF文档非常出色(如果您愿意,也可以购买硬拷贝版本)。

I've used it on both Windows (at work) and Linux (at home) without any problems.

我已经在Windows(工作中)和Linux(家中)上使用它而没有任何问题。

#3


4  

We used to use artifactory, but ended up switching to nexus a while back. The main problem was that the disk space used by artifactory kept growing, and we couldn't find a way to stop it. We're now very happy with nexus. It's a great UI, easy to configure in settings.xml, and easy to manage as a service.

我们曾经使用过神器,但最后一段时间就转向了nexus。主要问题是神器使用的磁盘空间不断增长,我们无法找到阻止它的方法。我们现在对nexus非常满意。它是一个很棒的用户界面,易于在settings.xml中配置,并且易于作为服务进行管理。

#4


3  

I have used Archiva for over a year now and have been very happy with its reliability and performance.

我已经使用Archiva超过一年了,并且对其可靠性和性能非常满意。

Both Archiva and Artifactory are available as .war files so you can deploy them on an application server.

Archiva和Artifactory都可用作.war文件,因此您可以将它们部署在应用程序服务器上。

One advantage of Archiva over Artifactory is that it can share its user database with Continuum.

Archiva优于Artifactory的一个优点是它可以与Continuum共享其用户数据库。

#5


3  

In our company we chose Maven 2 and Nexus..it's awesome :) (same case as yours)

在我们公司,我们选择了Maven 2和Nexus ..真棒:)(与你的情况相同)

#6


3  

We switched from Archiva to Nexus since we get too many problems with it's SQL support. With MySQL we got DB corruption after a shutdown ;(

我们从Archiva切换到Nexus,因为我们在SQL支持方面遇到了太多问题。使用MySQL,我们在关机后得到了DB损坏;(

As soon as Nexus OSS was available as a simple war (so useable on our Tomcat farms), we used it and are very happy with it. Reliable and faster than Archiva.

只要Nexus OSS可以作为一个简单的战争(在我们的Tomcat农场上可用),我们就使用它并且非常满意它。比Archiva更可靠,更快捷。

#1


10  

We had been using Archiva for a while, and were happy with it. We recently switched hardware, and decided to try out Nexus because we had read some good things about it. We didn't know what we were missing in Archiva, but Nexus is far better. The repository aspect is easier because it "groups" all the repositories into one url, for easier settings.xml configuration. Further, the web site rocks -- easy search for artifacts, and even searches the global central repo, without having downloaded it all to your proxy. I highly recommend Nexus!

我们一直在使用Archiva,并对它很满意。我们最近换了硬件,并决定尝试使用Nexus,因为我们已经阅读了一些有关它的好东西。我们不知道Archiva中缺少什么,但Nexus要好得多。存储库方面更容易,因为它将所有存储库“分组”到一个URL中,以便更轻松地进行settings.xml配置。此外,网站摇滚 - 轻松搜索工件,甚至搜索全球*仓库,而无需将其全部下载到您的代理。我强烈推荐Nexus!

#2


4  

I have used Archiva for over a year and found it met all of the basic requirements, however, we were restricted to a Windows server and as such found a few limitations and had a large memory footprint.

我已经使用Archiva一年多了,发现它符合所有基本要求,但是,我们被限制在Windows服务器上,因此发现了一些限制并且内存占用空间很大。

The main reason we started looking for an alternative, however, was the painful process to upload artifacts to the repository that didn't exist in the Maven repositories on the web (such as some of the Sun or IBM jar files).

然而,我们开始寻找替代方案的主要原因是将工件上传到存储库的痛苦过程,该存储库在Web上的Maven存储库中不存在(例如某些Sun或IBM jar文件)。

We made the switch to Nexus about two months ago and have been impressed very much by its clean interface, ease of use, and general non-invasiveness. Uploading new artifacts is a breeze, and we haven't had a single issue. We've been using Mule and CXF a bit, and so we've had to download from both legacy (Maven1) and standard (Maven2) repositories - these are straightforward to set up and require little (if any) administration.

大约两个月前我们改用了Nexus,并且它的界面干净,易于使用和一般的非侵入性给我留下了深刻的印象。上传新工件是轻而易举的,我们没有一个问题。我们一直在使用Mule和CXF,所以我们必须从遗留(Maven1)和标准(Maven2)存储库下载 - 这些都很容易设置并且几乎不需要(如果有的话)管理。

The documentation is excellent with the free PDF on the Nexus site (also you can buy the hardcopy version if you like).

Nexus网站上的免费PDF文档非常出色(如果您愿意,也可以购买硬拷贝版本)。

I've used it on both Windows (at work) and Linux (at home) without any problems.

我已经在Windows(工作中)和Linux(家中)上使用它而没有任何问题。

#3


4  

We used to use artifactory, but ended up switching to nexus a while back. The main problem was that the disk space used by artifactory kept growing, and we couldn't find a way to stop it. We're now very happy with nexus. It's a great UI, easy to configure in settings.xml, and easy to manage as a service.

我们曾经使用过神器,但最后一段时间就转向了nexus。主要问题是神器使用的磁盘空间不断增长,我们无法找到阻止它的方法。我们现在对nexus非常满意。它是一个很棒的用户界面,易于在settings.xml中配置,并且易于作为服务进行管理。

#4


3  

I have used Archiva for over a year now and have been very happy with its reliability and performance.

我已经使用Archiva超过一年了,并且对其可靠性和性能非常满意。

Both Archiva and Artifactory are available as .war files so you can deploy them on an application server.

Archiva和Artifactory都可用作.war文件,因此您可以将它们部署在应用程序服务器上。

One advantage of Archiva over Artifactory is that it can share its user database with Continuum.

Archiva优于Artifactory的一个优点是它可以与Continuum共享其用户数据库。

#5


3  

In our company we chose Maven 2 and Nexus..it's awesome :) (same case as yours)

在我们公司,我们选择了Maven 2和Nexus ..真棒:)(与你的情况相同)

#6


3  

We switched from Archiva to Nexus since we get too many problems with it's SQL support. With MySQL we got DB corruption after a shutdown ;(

我们从Archiva切换到Nexus,因为我们在SQL支持方面遇到了太多问题。使用MySQL,我们在关机后得到了DB损坏;(

As soon as Nexus OSS was available as a simple war (so useable on our Tomcat farms), we used it and are very happy with it. Reliable and faster than Archiva.

只要Nexus OSS可以作为一个简单的战争(在我们的Tomcat农场上可用),我们就使用它并且非常满意它。比Archiva更可靠,更快捷。