Hi,
I have a very simple test project that I am trying to get to publish to
artifactory using the gradle plugin v1.0.5 I am able to pull dependencies
using 1.0.5, but for some reason uploadArchives just does nothing. It
doesn't fail, it just doesn't upload anything to the repository. I am
running a stock install of artifactory locally just to figure out the ins
and outs of it, so it has all of the default repositories already. Here is
what I have:
build.gradle:
buildscript {
apply {
apply from:
"http://localhost:8081/artifactory/repo/org/jfrog/buildinfo/build-info-extractor-gradle/1.0.1/artifactoryplugin-1.0.1.gradle"
}
}
apply {
plugin 'java'
plugin 'groovy'
plugin 'idea'
plugin 'eclipse'
}
dependencies {
compile gradleApi()
groovy localGroovy()
}
group = 'com.test.buildtools'
version = "1.0.0-SNAPSHOT"
gradle.properties:
artifactory.resolve.repoKey=repo
artifactory.publish.repoKey=plugins-snapshot-local
artifactory.publishMaven=false
artifactory.publish.artifacts=true
artifactory.contextUrl=http://localhost:8081/artifactory
artifactory.publish.username=admin
artifactory.publish.password={DESede}7eevlM6j5M5uycNhPR/aYg==
Here is what I get when I use 1.0.1:
$ gradle clean uploadArchives
The PluginCollection.allPlugins() method is deprecated and will be removed
in the next version of Gradle. You should use the all() method instead.
The DomainObjectCollection.allObjects() method is deprecated and will be
removed in the next version of Gradle. You should use the all() method
instead.
:clean
:compileJava UP-TO-DATE
:compileGroovy
:processResources
:classes
:jar
:uploadArchives
Upload
http://localhost:8081/artifactory/plugins-snapshot-local;buildInfo.build.name=buildtools;buildInfo.build.number=1304620788723/com/test/buildtools/buildtools/1.0.0-SNAPSHOT/buildtools-1.0.0-SNAPSHOT.jar
Upload
http://localhost:8081/artifactory/plugins-snapshot-local;buildInfo.build.name=buildtools;buildInfo.build.number=1304620788723/com/test/buildtools/buildtools/1.0.0-SNAPSHOT/ivy-1.0.0-SNAPSHOT.xml
And here is what I get with 1.0.5:
The PluginCollection.allPlugins() method is deprecated and will be removed
in the next version of Gradle. You should use the all() method instead.
:clean
:compileJava UP-TO-DATE
:compileGroovy
:processResources
:classes
:jar
:uploadArchives
No failure, just nothing. If I run with -d I don't see it trying. Did
something change from 1.0.1 to 1.0.5 that requires a new property or
something?
--
View this message in context:
http://forums.jfrog.org/Gradle-Plugin-1-0-5-won-t-upload-archives-tp6335255p6335255.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users