plugins.gradle.org/m2 test failing

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

plugins.gradle.org/m2 test failing

Whgibbo
Hi, I'm using Artifactory-oss 4.2.1 and I'm trying to add a remote repository for the https://plugins.gradle.org/m2 But it is failing I've tried adding it as a gradle, maven and generic repository but it is failing with a 404. If I go to the page directly in a browser I also get a 404. Yet when I use it in my gradle build it is obtaining the gradle.plugin.com.github.mjdetullio.gradle:coverity-plugin. Any ideas or thoughts to what I'm doing wrong ?
Reply | Threaded
Open this post in threaded view
|

Re: plugins.gradle.org/m2 test failing

David Pierce
I think you just want to use "https://plugins.gradle.org/" as the URL. When I enter that and hit the "Test" button, it succeeds, but if I add the "m2" like you are, I get the same 404 error.

Incidentally, the "m2" suffix is typically used by Maven repositories, not Gradle ones. (To distinguish Maven v2 or v3 compatible repositories from Maven v1 repositories.)

Regards,
Dave P.

On 1/4/2016 9:22 AM, Whgibbo wrote:
Hi, I'm using Artifactory-oss 4.2.1 and I'm trying to add a remote repository for the https://plugins.gradle.org/m2 But it is failing I've tried adding it as a gradle, maven and generic repository but it is failing with a 404. If I go to the page directly in a browser I also get a 404. Yet when I use it in my gradle build it is obtaining the gradle.plugin.com.github.mjdetullio.gradle:coverity-plugin. Any ideas or thoughts to what I'm doing wrong ?

View this message in context: plugins.gradle.org/m2 test failing
Sent from the Artifactory - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------


_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: plugins.gradle.org/m2 test failing

Whgibbo
I tried using "https://plugins.gradle.org", but when you browser the repository it is only showing a few items.   As it happens it is only showing the items that are show via the browser which is about 10 items.

Any thoughts ?
Reply | Threaded
Open this post in threaded view
|

Re: plugins.gradle.org/m2 test failing

David Pierce
Don't know enough about Gradle to know why the gradle.org repo shows
what it shows, but if you punch in the
"/plugin/com.github.mjdetullio.gradle.coverity" path for what you're
looking for, Artifactory finds it right away.

I'm an IT guy and not really a software developer, so "it works like
it's supposed to and the dev team is happy" is usually when I go back to
my ticket queue to find my next problem. :-)

Maybe somebody with more gradle experience can chime in?

Regards,
Dave P.

On 1/5/2016 4:01 AM, Whgibbo wrote:

> I tried using "https://plugins.gradle.org", but when you browser the
> repository it is only showing a few items.   As it happens it is only
> showing the items that are show via the browser which is about 10 items.
>
> Any thoughts ?
>
>
>
> --
> View this message in context: http://forums.jfrog.org/plugins-gradle-org-m2-test-failing-tp7580693p7580695.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: plugins.gradle.org/m2 test failing

drorb
In reply to this post by Whgibbo
https://plugins.gradle.org/m2 is the correct URL to use for the remote repository.
Since plugins.gradle.org does not actually host the repository but rather redirects to various locations which stores the artifacts (Bintray, S3), you will not be able to browse the repository content (but rather get 404 errors).
For the same reason the Artifactory test button will fail to validate the repository.
However you will still be able to resolve Artifacts from this repository as Artifactory will follow the redirects.

In addition, https://plugins.gradle.org is the web UI for the Gralde plugins portal and should be used as a repository URL.