mirror of https://github.com/apache/maven.git
trim metadata file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14f4c980c1
commit
4b01d88bc3
|
@ -68,7 +68,7 @@ public class SnapshotArtifactMetadata
|
|||
|
||||
protected void setContent( String content )
|
||||
{
|
||||
Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher( content );
|
||||
Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher( content.trim() );
|
||||
if ( matcher.matches() )
|
||||
{
|
||||
timestamp = matcher.group( 2 );
|
||||
|
|
Loading…
Reference in New Issue