问题
Is there some hosting solution, be it paid or free, that offers explicit maven repository hosting for non-public artifacts, preferably with support?
These are the alternatives I'm aware about:
- Hosting on your own public server with credentials
- For open source projects, there is free sonatype hosting
- Hosting on Amazon
- It can be hosted on github, google code or some other VCS hosting
However, all of these either require some maintenance overhead beyond just using the repository manager (beyond just using nexus) and/or are not really fully supported solutions, or are not meant for closed-source projects.
If I need to have a solution that is available on the internet but it is "private" as it should be available for the people of the Company only, are there some other alternatives? I'm assuming here that there is no server that is already public, so having a new server just for maven artifact hosting seems a bit big. I'm a bit surprised that I was unable to find commercial alternatives.
回答1:
Jfrog offer their artifactory repository manager as a cloud service.
Personally some of the default configuration choices ("fixing" metadata, etc) are just plain wrong, but you can configure it to do the right thing.
(Full disclosure: both jfrog and sonatype are partners of cloudbees (my employer))
Edit: They offer a 30-day trial, and their pricing can be seen here.
回答2:
I'm developer of mymavenrepo.com - it's very simple maven hosting which perfectly fits for personal use and small companies
回答3:
I've been searching for this as well and came acrosss this link https://blog.openshift.com/nexus-repository-manager-in-the-cloud-for-free-with-openshift/ which explains how to set up a Nexus application on OpenShift. I followed the steps outlined in this page and got it up and running pretty quickly. You can disble the "anonymous" user to remove public access and set up your own users. It can tie into LDAP you have that available.
回答4:
It seems there is a service called deps about to open in 2017. From their description, it sounds like the answer to my question, but we'll have to see how it turns out.
回答5:
There is no commercial offering of Nexus Repository in the cloud as such, but any managed server that includes the features to run a Java application is suitable. And there are LOTS of them around. And others partners like CA automatically include it in a stack they provision for customers.
The only overhead you are going to have to manage is to install and run Nexus Repository. That however is trivial and can be done within a couple of minutes.
Depending on your usage you could even run this on a VM that you turn off when no one needs it. E.g. out of 24 hours a day .. if your dev and CI servers only need it for 12 .. shut the VM down the rest of the time. And you can automate that all easily as well.
回答6:
This might be considered a promotion, but we just released support for hosting Maven repositories in the cloud at Deveo. There is no other information available yet than the release blog post. The pricing, however, should be more friendly than what jFrog offers.
Disclaimer: I'm affiliated with the company.
回答7:
JitPack is a services that makes it easy to host non-public (private) Maven artifacts.
The way it works is that it builds your private Git repositories from source and publishes resulting artifacts. The artifacts are only accessible to you and those who have access to Git repo itself, like people in your company.
The way you use it is by adding the repository and point your dependencies at the Git Repo:
- Add repository:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
- Add dependency
<dependency>
<groupId>com.github.User</groupId>
<artifactId>Repository</artifactId>
<version>Tag</version>
</dependency>
More information and authentication in the docs. Their pricing can be seen on their pricing page.
回答8:
DropBox is another possible option see https://code.google.com/p/peter-lavalle/wiki/MavenOnDropBox
来源:https://stackoverflow.com/questions/12525929/maven-repository-hosting-for-non-public-artifacts