Maven repository hosting for non-public artifacts?

26,340

Solution 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.

Solution 2

I'm developer of mymavenrepo.com - it's very simple maven hosting which perfectly fits for personal use and small companies

Solution 3

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:

  1. Add repository:
<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>
  1. 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.

Solution 4

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.

Solution 5

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.

Share:
26,340
eis
Author by

eis

(your about me is currently blank) click here to edit

Updated on August 21, 2020

Comments

  • eis
    eis over 3 years

    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:

    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.

  • eis
    eis over 10 years
    the instructions refer to using dropbox as a public repo, where all artifacts would be visible for the world. With this question I was looking for hosting for non-public artifacts, and preferrably with support.
  • eis
    eis almost 8 years
    I disagree on effort being trivial - it might be for installation, but not for continuous maintenance. I think this question is looking for managed solutions with enterprise support.
  • eis
    eis almost 8 years
    This isn't with explicit support for it though.
  • Manfred Moser
    Manfred Moser almost 8 years
    Nexus Repository is very hands off and low maintenance once installed and if you get a Pro license you have full support for Sonatype for whatever youtinstallation is. Cloud or not or a mixture. A license gives you the ability to run as many installations as you want.
  • eis
    eis about 7 years
    Have to add that in my current project, we've now been without builds for several weeks since nexus metadata updates are broken and our in-house support says they are unable to fix it. This hilights the point that it needs proper support.
  • Tristan
    Tristan about 7 years
    Nice, and about the " $75/month for the min service" stated above, here it looks more like free until 1GB and then 1€/GB/month.
  • Eduardo
    Eduardo over 6 years
    Looks great. Cheaper than running my own Nexus instance on AWS EC2 like I have been doing.
  • Michael C Good
    Michael C Good almost 6 years
    The question does specifically refer to "non-public artifacts" with support
  • Vinit Solanki
    Vinit Solanki over 5 years
    like about less configuration on mymavenrepo.com
  • Raphael
    Raphael over 5 years
    FWIW, Artifactory OSS is available free of charge.
  • Fırat Küçük
    Fırat Küçük over 3 years
    repsy.io also looks promising.
  • Sairaj Sawant
    Sairaj Sawant about 3 years
    Jfrog is on the verge of a service end - jfrog.com/blog/…