You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Richard Chamberlain <ri...@caplin.com> on 2008/05/22 17:48:08 UTC
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
RE: Downloading a unique snapshot
Posted by Richard Chamberlain <ri...@caplin.com>.
That would always give me 1.0-SNAPSHOT-20080522.114841-2. I always want
the latest snapshot, when I receive it i'd like it to be named in a
unique way. Is this possible?
Regards,
Rich
-----Original Message-----
From: Andreas Guther [mailto:Andreas.Guther@markettools.com]
Sent: 23 May 2008 00:20
To: Maven Users List
Subject: RE: Downloading a unique snapshot
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:richard.chamberlain@caplin.com]
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Downloading a unique snapshot
Posted by Andreas Guther <An...@markettools.com>.
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:richard.chamberlain@caplin.com]
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org