Maven - how/where to publish artifacts

2019-06-19 08:36发布

问题:

I have open-sourced some of my projects. I'd like to publish the artifacts in a common place. If I don't have to host my own repository, that would be ideal, otherwise I will have to setup my own instance of Nexus (or other repository that you recommend).

Can I publish artifacts to Maven Central? What process do I need to follow to get them there?

回答1:

Yes you can, especially if it is an open source project. Here is some info:

http://central.sonatype.org/pages/ossrh-guide.html