32

Is there any free online private maven2 or maven3 repository? So that team can access the repository from various region.

Maheshkumar
  • 724
  • 1
  • 10
  • 19

7 Answers7

17

If you use github, you could use a private github project as your maven repository. There are instruction on how to publish your maven artifacts to github here: https://stackoverflow.com/a/14013645/82156

Community
  • 1
  • 1
emmby
  • 99,783
  • 65
  • 191
  • 249
11

we can use dropbox for online maven repository. But it is not completely private. you can use it if it gives you enough privacy.

This is the instruction to create free maven online maven repository on dropbox

  1. Create an account on dropbox
  2. Download and install dropbox client
  3. After you install dropbox client, A folder called "Dropbox" will create in Users folder. There is a public folder in it. Create a sub folder in public folder and copy the url of that sub folder(ex: C:\Users\Lakshman\Dropbox\Public\repository)
  4. Execute the following command to deploy the project artifacts to this path

mvn deploy -DskipTests=true -DaltDeploymentRepository=dropbox::default::file:///C:/Users/Lakshman/Dropbox/Public/repository

  1. you can use this in your pom file to the above task

     <distributionManagement>
        <repository>
        <id>dropbox.repo</id>
         <url>file:///C:/Users/Lakshman/Dropbox/Public/repository</url>
        </repository>
    </distributionManagement>
    

if you have sync your local folder with dropbox it will automatically upload artifacts to online repository. you can get the link by login to Dropbox and go to public folder and click copy public link.

This solution got from here and referenced this also.

lakshman
  • 2,641
  • 6
  • 37
  • 63
8

I just found a free repo for personal projects. Might not be suitable for team work and/or professional use though. Note that it seems to be from Russia. I am not connected in any kind to that project so I have no idea about the privacy of the data posted there. But it seems to work ok.

https://mymavenrepo.com

I have not tried but there is also

https://bintray.com/

This one might have a better reputation :)

Ronan Quillevere
  • 3,699
  • 1
  • 29
  • 44
  • 2
    It's only a free beta. They will charge fees in the future. They only say, they will keep it affordable. Also mymavenrepo is not really secure. You get a public read/write URL and the only security meassurement is that it's hard to guess the URL. – Urr4 Sep 08 '16 at 07:31
  • I don't know bintray, but I'll check it out, thanks. – Urr4 Sep 08 '16 at 07:31
  • Bintray is not free – m0skit0 Mar 18 '19 at 11:14
  • 1
    Bintray is about to be closed at May 1st 2021: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter – Rapekas Feb 08 '21 at 13:00
  • https://mymavenrepo.com works fine, and gives 256 Mb for free – Mitrakov Artem Sep 08 '21 at 17:43
8

We use https://repsy.io in one of our project. It's straight simple and convenient with 1GB free limit.

A. Yasar G.
  • 362
  • 3
  • 11
6

Update: GitHub launches the Package feature in Beta which supports the Maven: https://github.com/features/package-registry

Update: the Deveo has been acquired by Perforce, see this link

As of September 12, Deveo is now Helix TeamHub. The new name and branding represent our new, integrated solution from Deveo and Perforce.

Helix TeamHub can be hosted in our cloud or on your own servers with Helix TeamHub Enterprise, powered by Helix4Git.

Have you tried Deveo, I am using this cloud service and has 1G storage for free. You can deploy the Maven repository on it.

New features in Deveo 3.17

Pull requests between repositories

Maven and Ivy repositories

Deadlines for issues

Emojis

enter image description here

Community
  • 1
  • 1
Xin Meng
  • 1,982
  • 3
  • 20
  • 32
  • As I can see, it now called [HelixTeadHub](http://info.perforce.com/try-perforce-helix-teamhub-free) – guai Mar 12 '18 at 09:25
  • @guai you are right, they are acquired by Perforce https://www.perforce.com/deveo-customer-info at last year (September 12) – Xin Meng Mar 12 '18 at 10:06
5

I recently wrote a lightweight Google App-Engine application to host my private repositories, backed by Google Cloud Storage (which is multi-regional per default):

https://github.com/renaudcerrato/appengine-maven-repository

Thanks to Google App-Engine free quotas, and depending on the scale needed, you won't have to pay anything.

Renaud Cerrato
  • 1,297
  • 16
  • 20
0

For this purpose you could use a SVN repository. Some of them are available for private usage for free. Take a look on Maven: Commit single artifact to svn repository

Community
  • 1
  • 1
amra
  • 16,125
  • 7
  • 50
  • 47