archiva-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james ahlborn (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MRM-726) snapshot artifacts in maven1 repo with legacy timestamps not being cleaned
Date Mon, 03 Mar 2008 20:54:28 GMT
snapshot artifacts in maven1 repo with legacy timestamps not being cleaned
--------------------------------------------------------------------------

                 Key: MRM-726
                 URL: http://jira.codehaus.org/browse/MRM-726
             Project: Archiva
          Issue Type: Bug
          Components: repository scanning
    Affects Versions: 1.0.1, 1.0.2
            Reporter: james ahlborn
            Priority: Minor


we have artifacts in our maven1 repository which are fairly old (one of the reasons we wanted
to use archiva, to clean up the crud!).  however, it appears that some of the snapshots are
not being cleaned up.  my guess is that it is due to an unrecognized timestamp format:

For an artifact with artifactId "hmsCommon-jwrap", we have snapshots which look like:

hmsCommon-jwrap-20070308.050344.jar


// unit test
public void testLegacyVersion() {
  assertTrue(VersionUtil.isSnapshot("20070308.050344"));
}


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

        

Mime
View raw message