Hi Yoav, thanks for your quick repsonse.
This is my resolver definition:
<url name="artifactory-publish">
<ivy pattern="http://
${artifactory.host}:8080/artifactory/try-integration/[organisation]/[module]/[revision]/ivy-[revision].xml"/>
<artifact pattern="http://
${artifactory.host}:8080/artifactory/try-integration/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/>
</url>
On Mon, Apr 4, 2011 at 10:19 AM, Noam Y. Tenne <[email protected]> wrote:
> Hi Carlton,
>
> I see the repository uses the default Ivy layout, so only your first
> example of a revision integration pattern should fit; do the deployed
> artifacts adhere to this layout?
> A couple of ways to find out:
>
> - Selecting one of the deployed artifacts in the tree browser, does the
> "Module ID" field in the "General" panel display a valid module ID or just
> "N/A"?
> - Each pattern configuration editor (Admin->Configuration->Repository
> Layouts) has a resolution tester where you can paste artifact paths and
> test
> to see how the pattern analyzes them. Does the test produce the expected
> information?
>
> The artifact's revision integration representation makes no difference to
> the cleanup as long as it's distinctive enough to uniquely distinguish
> release artifacts from revision artifacts; the cleanup decides which modules
> to clean according to their earliest creation time.
>
> In either case, please provide examples of the artifact and Ivy paths you
> deploy too so that we can try to figure out the problem.
>
> Noam
>
> On Mon, Apr 4, 2011 at 4:57 PM, Carlton Brown <[email protected]>wrote:
>
>> Hi,
>>
>> I am unable to get the automated snapshot cleanup mechanism working. In
>> a repository with max unique snapshots = 3, when I publish the 4th artifact,
>> it is not cleaned up.
>>
>> I am publishing from the Ivy publish task. My repository looks like
>> this.
>> <localRepository>
>> <key>try-integration</key>
>> <description>Test repo</description>
>> <notes>Test notes</notes>
>> <includesPattern>**/*</includesPattern>
>> <repoLayoutRef>ivy-default</repoLayoutRef>
>> <blackedOut>false</blackedOut>
>> <handleReleases>false</handleReleases>
>> <handleSnapshots>true</handleSnapshots>
>> <maxUniqueSnapshots>3</maxUniqueSnapshots>
>>
>> <suppressPomConsistencyChecks>true</suppressPomConsistencyChecks>
>> <propertySets/>
>> <snapshotVersionBehavior>unique</snapshotVersionBehavior>
>>
>>
>> <localRepoChecksumPolicyType>server-generated-checksums</localRepoChecksumPolicyType>
>> </localRepository>
>> </localRepositories>
>>
>> I have tried publishing the artifacts with names such as:
>> \d{14}
>> SNAPSHOT-\d{14|
>> \d{14}-SNAPSHOT
>>
>> Any help?
>>
>> Thanks,
>> Carlton
>>
>>
>> ------------------------------------------------------------------------------
>> Create and publish websites with WebMatrix
>> Use the most popular FREE web apps or write code yourself;
>> WebMatrix provides all the features you need to develop and
>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users