Use the bintray-release plugin to upload data to Bintray-HTTP/1.1 404 Not Found [message: Repo & #39; maven & #39; was not found ].

Source: Internet
Author: User
Tags jcenter

Use the bintray-release plug-in to upload data to Bintray-HTTP/1.1 404 Not Found [message: Repo 'maven 'was not found ].

There is always one or more pitfalls in the first step of online tutorials.

Last week, I released a small tool to upload to jcenter for convenient management and future use. I took a look at the tutorial. It took a long time in just a few steps.

By Hongyang tutorial http://www.voidcn.com/blog/lmj623565791/article/p-5798330.html

Several build traps have been changed one after another, such as javadoc lint check. Reference
Http://blog.csdn.net/xingshen58/article/details/51644599.

In the end, the error HTTP/1.1 404 Not Found [message: Repo 'maven 'was not found] will never go through.
Modify the userOrg field in the publish configuration repeatedly.
Replace the gradle-bintray-plugin plug-in with the bintray-release plug-in. Or not. Bintray-release is much easier to configure.

No solution can be found on the Internet. However, one difference is that my Bintray's Edit Profie page has only five options and does not have Repositories. Online pasters have the following seven options: Repositories and GPG signing,

My account can only create a repo in one organization in Organizations.

Okay, you can't get it. Go to github to find the wiki.
Https://github.com/novoda/bintray-release/wiki/Configuration-of-the-publish-closure
UserOrg: Contains the organization name to use for upload.
RepoName: The repository name. Set to 'maven 'by default.
It is explained that. userOrg contains the organization name .. In the tutorial
-- UserOrg = 'hyman '// The bintray.com user name is incorrect!

But what is my account? Why can I directly create maven repositories for various online tutorials?
This problem really cannot be solved by Baidu ..
No way, turn User manua of Bintray

Go to maven repositories
Https://bintray.com/docs/usermanual/formats/formats_mavenrepositories.html

To browse JCenter and download Maven artifacts, you can access it from the Bintray Homepage.
You can see the Maven repository creation interface on the homepage. However, I did not. Click the link it gives. Home Page Description
Https://bintray.com/docs/usermanual/starting/starting_gettingstarted.html#_the_bintray_homepage
The Bintray homepage is always available at https://www.bintray.com, and is designed to be a convenient workspace with easy-to-find links to the most important and frequently used features relevant to your account. when you sign in, your organization profile page will be displayed (if you own more than one organization, the last one you visited when signing out will be displyaed ).
If you are on the open source plan and have not yet created an organization then your user profile page will be displayed.
Either way, you can access your personal profile page, or the profile page of any other organization you own from the profile menu in Bintray's top ribbon.

Take a closer look .. 1. When you sign in, your organization profile page will be displayed
2. If you are on the open source plan and have not yet created an organization then your user profile page will be displayed.

I wiped it. There were two types of home pages. One is normal account logon, and the other is Open source plan account logon?
Go back to the registration page and check it out.

There are actually two types .. In my eyes, I only saw the green start your free trial, and I registered several attempts.
This tutorial http://www.voidcn.com/blog/lmj623565791/article/p-5798330.html just took a sentence .. It took me half a day. It is also possible that the Bintary website at that time did not have these options.
Of course, this website may be changed in the future. Pay attention to it ..

Finally, click For Open Source Plan. After successful registration, you can create a maven repository in your account.
2 more points
1. At the time of registration, many email addresses are not supported yet. Note that.
2. When creating a repository, if you use Bintray-release, enter The name as maven because of its wiki: repoName: The repository name. set to 'maven 'by default. (Please note that there are errors)


Finally, after a day, I Finally built SUCCESSFUL.

If any of the above errors or details are not found, please point out.

 

This article Reprinted from http://www.voidcn.com/blog/tmac2000/article/p-6317244.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.