Did you try to define in your dependency the part after myproduct as
version, i.e. 1.0-SNAPSHOT-20080522.114841-2?

Andreas


-----Original Message-----
From: Richard Chamberlain [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 22, 2008 8:48 AM
To: Maven Users List
Subject: Downloading a unique snapshot

Hi,

 

Still on my quest of getting perforce numbered unique snapshots:

 

1)      If I specify a SNAPSHOT dependency in my pom, can I configure
maven to download the unique named artefact rather than one that has
SNAPSHOT on the end?

i.e. repo has myproduct-1.0-SNAPSHOT-20080522.114841-2.jar, when I
download it the artefact is: myproduct-1.0-SNAPSHOT.jar but i would like
to receive it as: myproduct-1.0-SNAPSHOT-20080522.114841-2.jar (the same
as the repo). I still always want the latest build.

 

2)      Can I specify the format of unique snapshots? Instead of "UTC
Datetime - build number" can I do perforce changelist?

 

Thanks for all your help so far!

 

Rich


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to