Need help with other JFrog products?
Good news! Enterprise-scale distribution is now handled through the robust JFrog Platform.
Please contact us with any questions.
Only versions that belong to repositories whose type is Maven and that belong to packages that are included in JCenter can be synced with Maven Central.
In order for this functionality to be enabled, your Maven Central username (Sonatype OSS) must be entered when you edit your user profile in Bintray (in the field Sonatype OSS User in the Accounts tab of the Edit Your Profile page). Sonatype OSS User in the Accounts tab of the Edit Your Profile page).
You can use your Sonatype OSS Password in one of the following two ways:
1. Storing it on Bintray in the Profile page Accounts tab of the Edit Your Profile page.
2. Entering it when performing the sync itself, which means that it will not be stored in Bintray. If you don’t want to use your predefined Sonatype OSS credentials, you can override them by enabling the “Override Organization Sonatype OSS credentials” checkbox.
Additionally, your package must comply with the requirement of Maven Central(click here for more information).
Note: Unlike some of the other interfaces that Bintray has with third-party products, it is not required to authorize Bintray to access your Sonatype OSS account.
To sync a Bintray version with a Maven Central artifact:
Access the Version page of the version to be synced with the corresponding artifact in Maven Central.
Select the Maven Central tab (this tab appears only in versions that belong to repos whose type is Maven).
Note: Make sure your Sonatype OSS username has been entered in the Accounts tab of your User profile page.
In the Maven Central tab, you only need to enter your Maven Central User token key and User token password; the identification of the relevant artifact is done automatically.
Optionally, before clicking Sync, you can view info about previous syncs of the same artifact, in the read only-fields on the right side of the tab: Last Synced (date), Last Sync Status and Last Sync Errors.
We also recommend (but it is optional) that you set the Close and release repository when done checkbox, before you sync. This ensures that after the sync process is completed, the artifact in Maven Central is closed
and can no longer be modified.
- After syncing, the info in the read-only fields Last Sync, Last Sync Status and Last Sync Errors is updated to include info about the sync you have just performed; this is info that enables you to check and verify the sync process.