You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Frank Förstemann (JIRA)" <ji...@codehaus.org> on 2010/01/07 11:33:55 UTC
[jira] Created: (CONTINUUM-2426) Purge local repo invalidated local
repository
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
[jira] Updated: (CONTINUUM-2426) Purge local repo invalidated local
repository
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan updated CONTINUUM-2426:
-------------------------------------------
Fix Version/s: (was: 1.4.1 (Beta))
1.4.2 (Beta)
> Purge local repo invalidated local repository
> ---------------------------------------------
>
> Key: CONTINUUM-2426
> URL: https://jira.codehaus.org/browse/CONTINUUM-2426
> Project: Continuum
> Issue Type: Bug
> Components: Purging
> Affects Versions: 1.3.4 (Beta)
> Environment: Windows Server 2003
> Maven 2.0.9
> Reporter: Frank Förstemann
> Fix For: 1.4.2 (Beta)
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208671#action_208671 ]
Wendy Smoak commented on CONTINUUM-2426:
----------------------------------------
Can you confirm whether core.versionhandling is building in Continuum in addition to being resolved from a remote repository?
Are there any other details you can provide about your project and infrastructure to help us reproduce the problem?
I need to understand how the local repo is getting populated in order to figure out how it should be cleaned up.
> 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
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Frank Förstemann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211662#action_211662 ]
Frank Förstemann commented on CONTINUUM-2426:
---------------------------------------------
Exactly:
The problem occurs for artifacts that have been build with "mvn deploy" by Continuum: in the local repository mvn creates:
1. a timestamped version of the artifact referenced by maven-metadata-<repository>.xml .
2. a non-timestamped version of the artifact referenced by maven-metadata-local.xml.
Continuum purges the non-timestamped version of the artifact but keeps maven-metadata-local.xml. If the non-timestamped version of the artifact is purged, maven-metadata-local.xml should be deleted as well.
Downloaded (i.e. not locally built) Artifacts in Snapshot-version does not seem to be affected as the non-timestamped version and it's metadata-file are not created.
> 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
> Fix For: 1.4.0
>
>
> 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
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Frank Förstemann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207490#action_207490 ]
Frank Förstemann commented on CONTINUUM-2426:
---------------------------------------------
... sorry, hit the Add-Button too early ...
After recreating core.versionshandling-9.3.0-SNAPSHOT.jar/pom from the latest timestamped version, dependent projects are building again. To me it seems that maven and continuum are not fully consistent here.
Here's the requested maven-metadata-local.xml for the example above:
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>de.ivu.mb</groupId>
<artifactId>core.versionshandling</artifactId>
<version>9.3.0-SNAPSHOT</version>
<versioning>
<snapshot>
<localCopy>true</localCopy>
</snapshot>
<lastUpdated>20100119154019</lastUpdated>
</versioning>
</metadata>
Regards
Frank
> 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
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Frank Förstemann (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Reimer Prochnow (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211038#action_211038 ]
Reimer Prochnow commented on CONTINUUM-2426:
--------------------------------------------
I can confirm this Bug. After purging, the SNAPSHOT.jar was deleted, and retention-count timestamped versions remained. The maven-metadata-local.xml is referencing a non timestamped version and this file is not found. A build with maven is impossible, but working after just deleting "maven-metadata-local.xml", since than a update is triggered from a global repository.
> 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
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210702#action_210702 ]
Brett Porter commented on CONTINUUM-2426:
-----------------------------------------
Frank, did you resolve the issue already?
> 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
[jira] Updated: (CONTINUUM-2426) Purge local repo invalidated local
repository
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated CONTINUUM-2426:
------------------------------------
Fix Version/s: 1.4.0
> 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
> Fix For: 1.4.0
>
>
> 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
[jira] Commented: (CONTINUUM-2426) Purge local repo invalidated
local repository
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206507#action_206507 ]
Wendy Smoak commented on CONTINUUM-2426:
----------------------------------------
According to http://continuum.apache.org/docs/1.3.4/administrator_guides/purgeConfiguration.html
If you configure days older = 14 and retention count = 2, it should always keep 2 no matter how old they are.
In your directory listing, I think I see that two snapshots were kept:
pdi.kartenleser-9.3.0-20091223.150701-127.jar
pdi.kartenleser-9.3.0-20091223.164758-128.jar
This appears to be working correctly.
If you are getting a Maven build error saying the snapshot is not there, maybe something is wrong with the metadata file. Can you please paste the contents of maven-metadata-local.xml ?
> 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