[ 
http://jira.codehaus.org/browse/MRM-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253955#action_253955
 ] 

Gayathri Muralidharan edited comment on MRM-1421 at 2/3/11 12:23 AM:
---------------------------------------------------------------------

Hi,
We were using Archiva 1.3 and the snapshots were not getting purged due to the 
Layout exception.
Recently we upgraded to 1.3.3 and even then the repository purge is not 
happening due to the following error:

Can you help us out here? Its really a tough task to clean the repository 
without this purge option.

The configuration and the error message are as follows:

Configuration: 
Identifier       snapshots
Name             Testing
Directory        /u/xxx/.m2/repository
WebDAV URL       http://xxx/archiva/repository/snapshots/
Type             Maven 2.x Repository
Releases         Included       
Snapshots        Included       
Delete Released Snapshots       
Repository Purge By Days Older Than     1
Repository Purge By Retention Count     2
Scanned         
Scanning Cron   0 9 * * * ?

Error message :2011-02-03 01:06:18,598 [pool-2-thread-1] INFO 
org.apache.maven.archiva.consumers.core.MetadataUpdaterConsumer - Not 
processing path that is not an artifact: 
abc/def/SNAPSHOT/def-20110130.110618-652.jar (Invalid path to Artifact: 
filename format is invalid,expected timestamp format in filename.)


Thanks,
Gayathri


      was (Author: gayathri):
    Hi,
We were using Archiva 1.3 and the snapshots are not getting purged due to this 
Layout exception.
Recently we upgraded to 1.3.3 and the repository purge is not happening due to 
the following error:

Can you help us out here? Its really a tough task to clear the repository 
without this purge option.

The configuration and the error message are as follows:

Configuration: 
Identifier       snapshots
Name             Testing
Directory        /u/xxx/.m2/repository
WebDAV URL       http://xxx/archiva/repository/snapshots/
Type             Maven 2.x Repository
Releases         Included       
Snapshots        Included       
Delete Released Snapshots       
Repository Purge By Days Older Than     1
Repository Purge By Retention Count     2
Scanned         
Scanning Cron   0 9 * * * ?

Error message :2011-02-03 01:06:18,598 [pool-2-thread-1] INFO 
org.apache.maven.archiva.consumers.core.MetadataUpdaterConsumer - Not 
processing path that is not an artifact: 
abc/def/SNAPSHOT/def-20110130.110618-652.jar (Invalid path to Artifact: 
filename format is invalid,expected timestamp format in filename.)


Thanks,
Gayathri

  
> Archiva repository purge incorrectly purges based on file timestamps even 
> when the snapshot timestamp is known
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1421
>                 URL: http://jira.codehaus.org/browse/MRM-1421
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository scanning
>    Affects Versions: 1.3.1
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 1.3.3
>
>


-- 
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