ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Harrigan <dharri...@gmail.com>
Subject Re: Can't get snapshots!
Date Wed, 06 Apr 2011 16:37:59 GMT
Hi,

Problem solved. Had to switch on "nonunique" on the snapshot
repository properties.

-=david=-

On 6 April 2011 17:32, David Harrigan <dharrigan@gmail.com> wrote:
> Hiya,
>
> I'm a bit confused. I'm publishing a jar to artifactory (2.3.2) using
> the head of the ivy trunk. When I create my jars, I get this:
>
> purple.jar
> purple-source.jar
> purple-javadoc.jar
>
> Then, I get this:
>
> ivy.publish.snapshot:
> [ivy:publish] :: delivering :: com.fubar#purple;0.1.0-SNAPSHOT ::
> 0.1.0-SNAPSHOT :: integration :: Wed Apr 06 17:20:41 BST 2011
> [ivy:publish]   delivering ivy file to
> /home/fubar/development/workspaces/java/purple/tmp/dist/ivy.xml
> [ivy:publish] :: publishing :: com.furbar#purple
> [ivy:publish]   published purple to
> http://localhost:8081/artifactory/libs-snapshot-local/com/fubar/purple/0.1.0-SNAPSHOT/purple-0.1.0-SNAPSHOT.jar
> [ivy:publish]   published purple-source to
> http://localhost:8081/artifactory/libs-snapshot-local/com/fubar/purple/0.1.0-SNAPSHOT/purple-source-0.1.0-SNAPSHOT.jar
> [ivy:publish]   published purple-javadoc to
> http://localhost:8081/artifactory/libs-snapshot-local/com/fubar/purple/0.1.0-SNAPSHOT/purple-javadoc-0.1.0-SNAPSHOT.jar
> [ivy:publish]   published ivy to
> http://localhost:8081/artifactory/libs-snapshot-local/com/fubar/fubar/0.1.0-SNAPSHOT/ivy-0.1.0-SNAPSHOT.xml
>     [echo] Published purple with version 0.1.0-SNAPSHOT to the
> Artifactory Snapshots Repository.
>
> Howver, when I examine the artifactory repo, I get this:
>
> libs-snapshot-local:com/fubar/purple/0.1.0-SNAPSHOT/purple-0.1.0-20110406.161855-1.jar
> libs-snapshot-local:com/fubar/purple/0.1.0-SNAPSHOT/purple-javadoc-0.1.0-SNAPSHOT.jar
> libs-snapshot-local:com/fubar/purple/0.1.0-SNAPSHOT/purple-sources-0.1.0-SNAPSHOT.jar
>
> Notice how the first jar has the timestamp. Unfortunately, I can't
> resolve this in my ivy.xml
>
> <dependency org="com.fubar" name="purple" rev="0.1.0-SNAPSHOT"
> changing="true" conf="runtime->runtime" />
>
> Would anyone have any ideas why the jar is not being formatted
> correctly for lookup?
>
> Thanks!
>
> -=david=-
>
> --
>
>
> I prefer encrypted and signed messages. KeyID: B20A22F9
> Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9
>
> "It is not usually until you've built and used a version of the
> program that you understand the issues well enough to get the design
> right." - Rob Pike, Brian Kernighan.
>



-- 
I prefer encrypted and signed messages. KeyID: B20A22F9
Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9

"It is not usually until you've built and used a version of the
program that you understand the issues well enough to get the design
right." - Rob Pike, Brian Kernighan.

Mime
View raw message