Hello,

I have populated an  Artifactory Ivy repository with all my project’s third
party dependencies, source jars, & javadocs.  I am on Gradle version -->
gradle-1.0-milestone-6. 

Using my Gradle build script I can build successfully (pulling all the
configured dependencies from Artifactory) and publish the project
artifact(s) to Artifactory (using the Gradle Artifactory Plugin OR via
Jenkins using the Artifactory plugin).    
 
However I have noticed that when building my project, only the third party
dependency jars are carried over from Artifactory into my local file system
Gradle cache, but none of the associated source jar and javadoc zip files. 
These are pretty standard 3rd party dependency files (spring framework,
slf4j, commons.*, etc).   Not sure if it is an Ivy, Gradle, or an
Artifactory issue(?).  For the purposes of my Gradle Eclipse Plugin
integration having the  javadocs and source files at my disposal is key.

Within my Gradle script's eclipse configuration block I have explicitly set
the downloadSources & downloadJavadoc values to true

eclipse {
        //default settings for dependencies sources/javadoc download:
        downloadSources = true
        downloadJavadoc = true
}

Here is an example spring framework entry taken from my generated .classpath
file.  

Yes, I have a sourcepath entry, but it isn't the actual
org.springframework.beans source jar.  It's merely the original jar file
with an appended "-sources.jar" file.  

        <classpathentry
sourcepath=&quot;C:/Users/bedminster/.gradle/caches/artifacts-4/org.springframework/org.springframework.beans/5b254350c22ca2a465f43872accbd613/sources/&lt;b>org.springframework.beans-3.0.5.RELEASE-sources.jar*"
 
kind="lib"
path="C:/Users/bedminster/.gradle/caches/artifacts-4/org.springframework/org.springframework.beans/5b254350c22ca2a465f43872accbd613/jars/org.springframework.beans-3.0.5.RELEASE.jar"
exported="true"/>

Again I am not sure what are the underlying issues here.  Could it possibly
be my custom Artifactory Ivy repository layout?  Or could it be that the 3rd
party module's Ivy.xml publications need to be configured or set-up a
certain way? 
  
I certainly appreciate in advance any assistance that can be provided.

-Brett 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Downloading-3rd-party-source-and-javadocs-from-Artifactory-Ivy-repo-tp5134221p5134221.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to