Is it possible to publish to Maven Central Repository from SourceForge?

Joe DiNottra :

I wanted to publish an open source Java library to Maven, so it's easily acessible to other projects. The Git repository is at SourceForge, but I don't quite understand if it's possible to publish from here or not.

Reading the Maven guide to uploading artifacts I see that only three repositories are "approved". Namely:

  • Apache Software Foundation
  • FuseSource Forge
  • Nuiton.org

My Question

If I create a secondary git repository in one of those, wouldn't that be a hassle to keep both git repositories in sync? I mean, is it wise to have duplicate git repositories, just to be able to publish to the Maven Central Repository?

What sensible options do I have?

wl.GIG :

Actually, nexus private repository is the common way to share our 3rd party jar for private use.

https://www.sonatype.com/nexus-repository-sonatype

you can build your own repostory with the guide

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=37200&siteId=1