Added TIMESTAMP_PATTERN variable to fix build error in archiva-repository-layer.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2007-08-27 11:58:14 +00:00
parent dd76a49078
commit a19fe2147a
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ public class VersionUtil
public static final Pattern UNIQUE_SNAPSHOT_PATTERN = Pattern.compile( "^(.*)-([0-9]{8}\\.[0-9]{6})-([0-9]+)$" );
public static final Pattern TIMESTAMP_PATTERN = Pattern.compile( "^([0-9]{8})\\.([0-9]{6})$" );
/**
* <p>
* Tests if the unknown string contains elements that identify it as a version string (or not).