You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/09/11 09:09:32 UTC
[jira] Created: (MRM-1421) Archiva repository purge incorrectly
purges based on file timestamps even when the snapshot timestamp is known
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
--
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] Issue Comment Edited: (MRM-1421) Archiva repository purge
incorrectly purges based on file timestamps even when the snapshot
timestamp is known
Posted by "Gayathri Muralidharan (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MRM-1421) Archiva repository purge incorrectly
purges based on file timestamps even when the snapshot timestamp is known
Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Odea Ching updated MRM-1421:
----------------------------------
Fix Version/s: (was: 1.3.2)
1.3.3
> 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
[jira] Closed: (MRM-1421) Archiva repository purge incorrectly
purges based on file timestamps even when the snapshot timestamp is known
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MRM-1421.
-----------------------------
Resolution: Fixed
> 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
[jira] Commented: (MRM-1421) Archiva repository purge incorrectly
purges based on file timestamps even when the snapshot timestamp is known
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234938#action_234938 ]
Brett Porter commented on MRM-1421:
-----------------------------------
I've identified the code to remove, but need to write a unit test before committing
> 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.2
>
>
--
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: (MRM-1421) Archiva repository purge incorrectly
purges based on file timestamps even when the snapshot timestamp is known
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MRM-1421:
------------------------------
Fix Version/s: 1.3.2
Assignee: Brett Porter
> 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.2
>
>
--
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: (MRM-1421) Archiva repository purge incorrectly
purges based on file timestamps even when the snapshot timestamp is known
Posted by "Gayathri Muralidharan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253955#action_253955 ]
Gayathri Muralidharan commented on MRM-1421:
--------------------------------------------
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