How long does Sonatype staging take to sync my artifacts with Maven central
MavenNexusSonatypeMaven Problem Overview
I have successfully deployed my Maven artifacts (release) into Sonatype's staging repository with Maven.
Uploading address is https://oss.sonatype.org/service/local/staging/deploy/maven2/
I would like to know how long will it take before I can see them in the central repository?
Maven Solutions
Solution 1 - Maven
Provided you have followed the steps to activate the sync, it should take [about 2 hours][1].
> 9 Activate Central Sync > > The first time you promote a release, you need to comment on the OSSRH JIRA ticket you created in Section 3 so we can know you are ready to be synced. We will review your promoted artifacts. If no problem found, we will activate Central Sync for you and close your JIRA ticket. > > After Central Sync is activated, your future promotion will be synced automatically. The sync process runs roughly every 2 hours.
[1]: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-9.ActivateCentralSync "about 2 hours"
Solution 2 - Maven
After a successful release the artifact will be published to Central, typically within 10 minutes. However updates to search.maven.org can take up to two hours.
Solution 3 - Maven
From my last experience, the artifact that I released, it was synced with the Central Repository in ~8 hours.
Solution 4 - Maven
In case others are seeing this question, here's an excerpt from the email received by Central OSSRH (Sonatype) after releasing the first artifact for a new project:
> Central sync is activated for your.domain.artifact. After you successfully release, your component will be published to Central https://repo1.maven.org/maven2/, typically within 30 minutes, though updates to https://search.maven.org can take up to four hours.