mirror of
https://github.com/apache/maven.git
synced 2025-02-24 11:29:57 +00:00
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 String constructVersion()
|
||||
|
||||
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…
x
Reference in New Issue
Block a user