Garbage Collector Configuration

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Garbage Collector Configuration

connaryscott
Are there any specific Garbage Collector Configuration options?  Such as retaining the last N snapshot versions either globally or at a groupId/artifactid level?




We are using the snapshotrepo to maintain a set of "classified" builds (using the maven classifier in addition to artifactId and groupId) where we need to retain a set of configurations that differ by classifier and snapshot version.


ARTIFACTID-SNAPSHOTVERSION1-CLASSIFIER1.zip
ARTIFACTID-SNAPSHOTVERSION2-CLASSIFIER2.zip

For example, if CLASSIFIER2 was built at a subsequent time to CLASSIFIER1, the garbage collector will remove CLASSIFIER1 and only ensure CLASSIFIER2 remains.




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Garbage Collector Configuration

Yoav  Landman
Hi,

Cleanup by module characteristics is not supported directly from the UI, but is possible to do using plugins and the Artifactory public API. You can run your custom cleanup as a cron job, or as a afterCreate() callback event.

HTH,
Yoav


On Tue, Feb 7, 2012 at 11:25 PM, connaryscott <[hidden email]> wrote:
Are there any specific Garbage Collector Configuration options?  Such as
retaining the last N snapshot versions either globally or at a
groupId/artifactid level?




We are using the snapshotrepo to maintain a set of "classified" builds
(using the maven classifier in addition to artifactId and groupId) where we
need to retain a set of configurations that differ by classifier and
snapshot version.


ARTIFACTID-SNAPSHOTVERSION1-CLASSIFIER1.zip
ARTIFACTID-SNAPSHOTVERSION2-CLASSIFIER2.zip

For example, if CLASSIFIER2 was built at a subsequent time to CLASSIFIER1,
the garbage collector will remove CLASSIFIER1 and only ensure CLASSIFIER2
remains.






--
View this message in context: http://forums.jfrog.org/Garbage-Collector-Configuration-tp7263827p7263827.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Loading...