I am newbie to publishing library to Jcenter.
I have successfully created a library, uploaded it to bintray(v1.0) and linked it to Jcenter by following this
Now I did some improvement changes to my source code and wanted that to be the default version 1.0, so I logged into my bintray account and deleted version 1.0( which is linked to jcenter). Now when I pushed my library to bintray it forced me to upgrade my version, which I did(v 1.1) and it sucessfully got uploaded to bintray. Now I wanted to publish this to jcenter so I tried to linked it to jcenter but I got the following message from bintray team
Hi,
The package you requested to include already exists in JCenter:
http://jcenter.bintray.com/com/worldline/in/worldlineipg/1.0/
The simplest thing would be to go to the package page and make an
ownership request, which will keep it linked to JCenter from your own
repository.
Before you make the ownership request please make sure you remove
existing versions of the package from your repo in order to prevent
conflicts. This way the ownership request can go through successfully.
After the ownership request has been approved, you may deploy modules
directly into your package.
Kind Regards, JFrog Support
But at bintray's homepage I see 0 packages linked to Jcenter
I can see both the version at bintray but Jcenter have only v1.0 published there.
So I need little help in understanding
How can I make v 1.1 as the deafult 1.0 and delete the current 1.0?
If that's not possible then how do I push my v1.1 to Jcenter ?
With regards to the issue you are experiencing, it seems that the package 'worldlineipg' is not owned by you, and the owner of the package is "Bintray". You can verify it here.
In addition, you can see that the package in your personal Bintray repository is not linked to JCenter. (See below screenshot)
This scenario, which "Bintray" user takes the ownership of the package, usually happens if the user deletes the package / rename the package after it is linked to JCenter.
Since JCenter is an OSS repository and other people might use the files in it, we do not allow deleting packages from it. The scenario which "Bintray" user takes the ownership of the package promise that there will be no content loss.
In order to regain ownership of the package, go to the package page and make an ownership request. (Click on the "I'm the creator" button).
Before doing the above, please make sure to remove any packages with the same name or path prefix from your personal account. In this case, since you have a new version which is not in JCenter, you will have to add it manually again after you will re-gain ownership of the package.
We hope this clarifies.
Please let us know if you have any follow up questions regarding this.
Best Regards,
Yonatan Brand
Related
I'm trying to create a Maven repository through Bintray that is part of JCenter. I have already uploaded my library by following this guide, but when I click on the button that says "Add to JCenter" and follow the prompts, I get an error that reads:
Failed to send message: The Version Control <url> returns 404
I'd like to know why this is failing and how am I supposed to set up the VC URL if not the way I've done already.
A few things to add which I believe could be the cause of the problems:
My Bintray account is not connected to GitHub (I can change this, but gotta talk to the people above first)
My GitHub repo is private (Ideally, we don't change this option)
Per Bintray Documentation You Must Have the Premium Plan to access private repositories
Note that private repositories in GitHub are only displayed and available for importing by Bintray users with Premium Plan accounts who also have "Access private repositories" permissions in GitHub.
If you do have the premium plan, you must give access to the private repo as well within GitHub
Could you please help me how to Link Bintray Library to jCenter.
I research a lot and found that we have to be an OSS or Premium account to Update. I also create an Issue on https://issues.sonatype.org/browse/OSSRH-36683 and also get a response.
I also config the OSS account link into bintray account but couldn't see Link To jCenter button.
Library URL: https://bintray.com/khangtran/maven/preferences-helper
Below a screenshot, could you please take a look and guide me what wrong with my configuration.
Finally, I found the problem is my Account is Trial Account, so I delete it and re-create it with the "oss" and then setups project the same with the previous and I can add it to jCenter.
I am using THIS PAGE to generate configuration file for GCM APIs.
I accidentally added a duplicate staging flavored package name: stag apart from staging. I wonder if there is any way to remove it? I cannot find the package list in Google develop console anywhere.
If you go to the Console -> Manage all projects there should probably be a project that relates to your incorrectly entered package. If you delete the project, the package will no longer be visible in the list (be sure not to delete something thats actually needed :P).
I am trying to sync my library with Maven Central, but I get this error:
What should I do? Please give step by step instructions . I know that you want to create files and pom.xml setting.xml , but shde create them and what plainy need to connect ?
Your package should be complaint with all the Maven Central requirements, while in your case your packages aren't signed and (as the bottom of the screenshot shows) have POM files that don't meet the requirements. While Bintray can't help you with your POM files, it can sign the files you upload for you.
If you have specific questions about other failures (after you figured out the signing), feel free to post additional questions with the failure log.
I pushed an .aar artifact to Jcenter repository through bintray and gradle. I followed this tutorial step by step, the only thing I did different was I didn't give the correct Github repository link because the git repository is private. Now I am stuck at step 16. After I pushed my artifact file. I tried to follow the step 16 however that option isn't working in Bintray website. I tried to access my artifact as a dependency in another project but gradle can't find it and gives "Failed to resolve com.wingoku.tickers:1.0.0". What am I doing wrong?
Best Regards
EDIT:
I clicked on Add To JCenter last night and clicked the checkbox and provided my Groupid and it said "Message sent to bintray". Still When I click on Add to jcenter it asks me the same thing. And I still can't follow step 16 because MavenControl is still no clickable.
Your request for inclusion to JCenter is still pending or was rejected. My best guess will be that's because you don't have correct GitHub repository link. The free service in Bintray is for OSS projects only and providing the source control link is a mandatory requirement.