[
http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207479#action_207479
]
Frank Förstemann commented on CONTINUUM-2426:
---------------------------------------------
As shown below, for SNAPSHOT-versions maven keeps the latest instances of
artifact and pom besides the timestamped copies of these file:
01/19/2010 03:46 PM <DIR> .
01/19/2010 03:46 PM <DIR> ..
01/19/2010 03:42 PM 243,092
core.versionshandling-9.3.0-20100119.144208-216-sources.jar
01/19/2010 03:42 PM 301,912
core.versionshandling-9.3.0-20100119.144208-216.jar
01/19/2010 03:42 PM 5,599
core.versionshandling-9.3.0-20100119.144208-216.pom
01/19/2010 03:46 PM 243,092
core.versionshandling-9.3.0-20100119.144603-217-sources.jar
01/19/2010 03:46 PM 301,912
core.versionshandling-9.3.0-20100119.144603-217.jar
01/19/2010 03:46 PM 5,599
core.versionshandling-9.3.0-20100119.144603-217.pom
01/19/2010 03:46 PM 243,092
core.versionshandling-9.3.0-SNAPSHOT-sources.jar
01/19/2010 03:46 PM 301,912 core.versionshandling-9.3.0-SNAPSHOT.jar
01/19/2010 03:46 PM 5,599 core.versionshandling-9.3.0-SNAPSHOT.pom
01/19/2010 03:46 PM 366 maven-metadata-deploy.p32.xml
01/19/2010 03:46 PM 40 maven-metadata-deploy.p32.xml.sha1
01/19/2010 03:46 PM 318 maven-metadata-local.xml
12 File(s) 1,652,533 bytes
2 Dir(s) 196,755,922,944 bytes free
After purging the repository with continuum (retention count 1 in this example)
the files core.versionshandling-9.3.0-SNAPSHOT.jar and
core.versionshandling-9.3.0-SNAPSHOT.pom are deleted as well. This leads to
errors building dependent projects afterwards.
01/19/2010 04:08 PM <DIR> .
01/19/2010 04:08 PM <DIR> ..
01/19/2010 03:46 PM 243,092
core.versionshandling-9.3.0-20100119.144603-217-sources.jar
01/19/2010 03:46 PM 301,912
core.versionshandling-9.3.0-20100119.144603-217.jar
01/19/2010 03:46 PM 5,599
core.versionshandling-9.3.0-20100119.144603-217.pom
01/19/2010 03:46 PM 366 maven-metadata-deploy.p32.xml
01/19/2010 03:46 PM 40 maven-metadata-deploy.p32.xml.sha1
01/19/2010 03:46 PM 318 maven-metadata-local.xml
6 File(s) 551,327 bytes
2 Dir(s) 196,760,403,968 bytes free
> Purge local repo invalidated local repository
> ---------------------------------------------
>
> Key: CONTINUUM-2426
> URL: http://jira.codehaus.org/browse/CONTINUUM-2426
> Project: Continuum
> Issue Type: Bug
> Components: Purging
> Affects Versions: 1.3.4
> Environment: Windows Server 2003
> Maven 2.0.9
> Reporter: Frank Förstemann
>
> I'm using the following Purge Configuration to clean the local repositories:
> Days Older: 14
> Retention Count: 2
> Delete All: false
> Delete Released Snapshots: false
> If a project <X> have not been build longer than <retentionCount> days,
> continuum deletes the files
> <X>-<Version>.pom/jar/...
> This leads to a Maven error when this artifact is resolved for a dependend
> artifact.
> Example:
> - the files pdi.kartenleser-9.3.0-SNAPSHOT.pom +
> pdi.kartenleser-9.3.0-SNAPSHOT.jar are missing
> $ ls pdi.kartenleser/9.3.0-SNAPSHOT/
> maven-metadata-deploy.p32.xml
> pdi.kartenleser-9.3.0-20091223.150701-127.jar
> maven-metadata-deploy.p32.xml.sha1
> pdi.kartenleser-9.3.0-20091223.150701-127.pom
> maven-metadata-local.xml
> pdi.kartenleser-9.3.0-20091223.164758-128-sources.jar
> maven-metadata-repo.p32.xml
> pdi.kartenleser-9.3.0-20091223.164758-128.jar
> pdi.kartenleser-9.3.0-20091223.150701-127-sources.jar
> pdi.kartenleser-9.3.0-20091223.164758-128.pom
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira