Hi Peter,

The issue is that you don't use a valid Maven layout. Your curl command
should look like that:
curl --user u:p -T aaa.zip
http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-<http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build4.zip>
SNAPSHOT.zip<http://localhost:8081/artifactory/rNs/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-SNAPSHOT.zip>

Your file names are not considered as SNAPSHOT and that is why the "Max
Unique Snapshots" doesn't clean the old files.

Hope that helps,
Ariel.


On Tue, Oct 29, 2013 at 6:17 PM, pscheir <[email protected]> wrote:

> Hi Ariel,
>
> I am using maven2default as layout.
> Max Unique Snapshots is set to 3.
>
> When I upload the following files they are all in the repository (not just
> 3):
>
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build4.zip
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build5.zip
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build6.zip
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build7.zip
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build8.zip
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build9.zip
> curl --user u:p --upload-file aaa.zip
>
> http://yyy:8081/artifactory/simple/TestRepository/DataProcessing/DataManager/1.0-SNAPSHOT/DataManager-1.0-build10.zip
>
> Thanks you!
>
> Regards, Peter
>
>
>
>
>
> --
> View this message in context:
> http://forums.jfrog.org/Max-Unique-Snapshots-tp7579352p7579357.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to