You will need to select the repository's snapshot policy *from the UI*,
under the repository config in the admin section, and set its value to
"non-unique".
If you are using Maven 3, however, your only option is "unique" since Maven
3 dropped support for non-unique snapshots, and if you already have
non-unique snapshots in your local repo the best is to clean them up to
avoid resolution issues.
Another option is to set the policy to "deployer", but this is less
recommended - especially with Maven 3, as it leaves snapshot timestamp
coordination to clients, which is less reliable in concurrent builds.

HTH,
Yoav

On Wed, Nov 23, 2011 at 12:26 AM, adispennette <[email protected]
> wrote:

> I have searched the net for a few hours now trying to determine how to stop
> artifactory version 2.3.4.1 from removing "-SNAPSHOT" from the end of an
> artifact and appending a time stamp when I upload the artifact manually.
> Everything I found points to using the following xml snippet:
>
> <key>snapshots</key>
> <blackedOut>false</blackedOut>
> <handleReleases>false</handleReleases>
> <handleSnapshots>true</handleSnapshots>
> <maxUniqueSnapshots>1</maxUniqueSnapshots>
> <includesPattern>**/*</includesPattern>
> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior>
>
> I have changed my configuration to match this and restarted my tomcat
> server.
> yet when I upload an artifact it appends the time stamp on the end.
>
> I know we can debate practice of using unique and non-unique snapshots but
> that is not the point of this post.  I have to deal with what is already in
> place and do to a recent crash I am trying to set up the artifactory to
> reflect the previous configuration.
>
> Please help,
> Thanks in advance
>
> --
> View this message in context:
> http://forums.jfrog.org/Artifactory-SNAPSHOT-policy-tp7022324p7022324.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to