How to opensource a Maven plugin?

↘锁芯ラ 提交于 2019-11-27 08:06:01

问题


I have a Maven plugin that I want to share with outside world. Is there an official Maven repository I can deploy this plugin too ? What are the steps involved ?

Any links to documentation much appreciated

I've been reading http://www.sonatype.com/people/2008/11/adding-a-jar-to-a-maven-repository-with-sonatype-nexus/ but this just seems to describe deploying to internal Nexus repository, wheras I want to deploy to an external repo so any user can use it.


回答1:


I would recommend:

  • Setting up an account in Github in order to have a place to host your source code.
  • Setting up an account in Cloudbee's BuildHive. This is a free Jenkins CI for Open Source projects. This will test your project on every push to Github.
  • Request rights to publish your project to Maven Central.

The bit with the request will take around up to a day normally and then you'll be able to publish your code directly to Maven Central.



来源:https://stackoverflow.com/questions/15876211/how-to-opensource-a-maven-plugin

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