Is there any free online maven repository?

↘锁芯ラ 提交于 2019-12-03 06:48:10

问题


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


回答1:


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




回答2:


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.




回答3:


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 :)




回答4:


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




回答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.




回答6:


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



来源:https://stackoverflow.com/questions/7526814/is-there-any-free-online-maven-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!