Hi Mark,

Your build.gradle is missing the apply plugin: 'artifactory' at the root of
the project and the artifactory contextUrl is wrong
contextUrl = 'http://http://localhost:8081/artifactory'
The resolve repository key is 'libs-releases' if you are working against on
of the newer versions of Artifactory then the default virtual repository
was changed to 'libs-release' so double check it. Here is a link to a
screencast <http://www.youtube.com/watch?v=zhhCD5qtocg> explaining DSL
configuration.

I successfully run your build.gradle with the modification I mentioned
using my init.gradle against a fresh new 2.4.1 installation and it worked
perfectly.

The version of the plugin is 2.0.x-SNAPSHOT, 2.0.x-20111123.143146-11 is
the unique transformation on deployment 2.0.x+timestamp+build number so for
sure the GAVC don't find it but only succeed with 2.0.X-SNAPSHOT.

I hope this helped and Happy Thanksgiving :)

Eli
On Fri, Nov 25, 2011 at 1:55 AM, Mark Maxey <[email protected]> wrote:

> Mark Maxey wrote
>  Do you know why I can't find the JAR via GAVC search in repo.jfrog.org?
>
> Let me revise this statement. I can't find the JAR using the explicit
> version number. I can if I use the "2.0.x-SNAPSHOT". I've attached the debug
> STDOUT <http://forums.jfrog.org/file/n7029720/gradle.debug.txt>. The
> error in the log shows the following after successfully downloading the
> POM:
>
> 17:47:41.465 [DEBUG] 
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]  [FAILED     
> ] 
> org.jfrog.buildinfo#build-info-extractor-gradle;2.0.x-SNAPSHOT!build-info-extractor-gradle.pom(pom.original):
>  null (63ms)
> 17:47:41.465 [DEBUG] 
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] WARN: problem 
> while downloading module descriptor: 
> http://repo.jfrog.org/artifactory/gradle-plugins-snapshots/org/jfrog/buildinfo/build-info-extractor-gradle/2.0.x-SNAPSHOT/build-info-extractor-gradle-2.0.x-20111123.143146-11.pom:
>  null (63ms)
>
> Again, I appreciate your help. A lot of my frustration comes from the fact
> that I'm not competent to solve my own problems ...
> ------------------------------
> View this message in context: Re: Publishing Build Info via Gradle post
> milestone-3<http://forums.jfrog.org/Publishing-Build-Info-via-Gradle-post-milestone-3-tp7028576p7029720.html>
> Sent from the Artifactory - Users mailing list 
> archive<http://forums.jfrog.org/Artifactory-Users-f2377369.html>at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to