When new packages are published to Bintray they need to be included first in JCenter before they can be synced out to Maven-Central.

This is a one time step that needs to be performed for the initial release of a project or when a new package is included in the release.

Step-by-step guide

  1. Navigate to the package you need to include on Bintray's site.
  2. Using the Old UI
    1. Click the 'Add to JCenter' button on the bottom right of the package detail page.



    2. If your package is a pom project, and does not include any jar files, ensure the select is pom project is checked before clicking "Send"
  3. Using the New UI
    1. Select the "Add to JCenter" option from the Actions dropdown in the top right of the package detail view.



    2. If your package is a pom project, and does not include any jar files, ensure the select is pom project is checked before clicking "Send"



  4. After the Bintray team has reviewed your request, you'll receive an approval message or rejection message through the Bintray message system.
    1. Packages may be rejected for a couple of reasons:
      1. Not including an SCM link in the package pom.xml or having the repository associated in Bintry - JCenter needs to verify the package is coming from the correct Maven group and exists in the source repository specified.
      2. Not including a sources.jar or javadoc.jar. Both sources and javadoc are required for distributing to Maven-Central, and therefore a requirement for being included in JCenter.
      3. Corrupt POM. Occasionally the Bintray package parser does not know how to interpret a pom.xml file, or the pom is missing a required field. In this case, before a message is even sent requesting review of the package Bintray will state the POM is corrupt. This generally can only be resolved by starting a discussion with JFrog support.
  5. Once a package has been included in JCenter any current and future versions can be synced out to Maven-Central.


Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues