mirror of https://github.com/apache/archiva.git
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:
parent
dd76a49078
commit
a19fe2147a
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue