Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After distributing packages to Artifactory and getting them included in JCenter the final step is syncing them out to Maven-Central.

...

  1. Navigate to your Bintray repository
  2. Switch to the Old UI



  3. Click on the package you'd like to sync.
  4. Ensure the package has been include in JCenter.
    There will be a 'JCenter' logo in the bottom right of the package detail view if the package has been included.
  5. Click on the 'Maven Central' tab in the package detail view.
  6. Ensure the 'Close and release repository when done' option is checked, and click 'Sync'



  7. If successful the Last Sync Status on right-hand side will display: "Successfully synced and closed repo."
  8. If unsuccessful, you'll need to resolve the issues stated in the Last Sync Status. These may be:
    1. Missing Javadoc JarsMissing Source Jars
    2. Unsigned Packages
    3. Intermittent issues with Maven Central - Just retry
    4.  
      Your package needs to include a sources.jar in order be included in Maven-Central. Recreate your package with sources, redistribute the package to Bintray, and attempt to sync again.
    5. Missing: no javadoc jar found in folder '<package path / version>', Dropping existing partial staging repository.
      Your package needs to include Javadocs in order be synced out to Maven Central. Add these, redistribute the package to Bintray, and run the sync again.
    6. Failed to promote repository: <repository name>. Server response: ... <msg>Unhandled: Staging repository is already transitioning: ...<\msg> ... Dropping existing partial staging repository.
      Only one package can be released at a time. Once the current one complete, or after waiting a couple of minutes, syncing the repository again should succeed.

    7. If there are other undocumented issues, retrying after a few minutes will generally be all that is needed to sync artifacts successfully.Repository on Maven-Central in bad state - Retry

Content by Label
showLabelsfalse
max5
spacesITKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("mavencentral","bintray") and type = "page" and space = "ITKB"
labelsbintray mavencentral

...