[ 
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


Reply via email to