Eli Givoni-2 wrote
> 
> 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.
> 

DOH! I really despise showing my ignorance to the universe and wasting your
time on such simple mistakes.  I used your init.gradle and was able to
publish successfully.

Unfortunately, neither putting the JAR in the lib\plugins nor using the
init.gradle given in the wiki work:

If I run gradle with no options, I get 

Cause: Plugin with id 'artifactory' not found.


I've verified the JAR is in the right place:


C:\Users\mmaxey\Documents\quickstart>dir %GRADLE_HOME%\lib\plugins\*143146*
 Directory of C:\Users\mmaxey\lib\gradle\gradle-1.0-milestone-6\lib\plugins

11/24/2011  05:13 PM         3,341,993
artifactory-2.0.x-20111123.143146-11-uber.jar
11/24/2011  07:38 AM         3,341,993
build-info-extractor-gradle-2.0.x-20111123.143146-11-uber.jar



If I use the init.gradle exactly from the wiki, I get the same error:


Download
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

FAILURE: Build failed with an exception.

* What went wrong:
Could not find group:org.jfrog.buildinfo,
module:build-info-extractor-gradle, version:2.0.x-SNAPSHOT.
Required by:
    :quickstart:unspecified



Mark Maxey wrote
> 
> 

> 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)
> 

> 
> I've attached the  http://forums.jfrog.org/file/n7029720/gradle.debug.txt
> debug STDOUT 
> 


I really appreciate the time you've spent on this.  Perhaps it is just my
pride, but I still believe that the 2 remaining problems above can't be all
be because I'm a blockhead ...

--
View this message in context: 
http://forums.jfrog.org/Publishing-Build-Info-via-Gradle-post-milestone-3-tp7028576p7031468.html
Sent from the Artifactory - Users mailing list archive 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

Reply via email to