mirror of https://github.com/apache/maven.git
fix integration tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
567412e9a0
commit
0c305115a6
|
@ -149,8 +149,6 @@ public class Verifier
|
||||||
}
|
}
|
||||||
|
|
||||||
lines.addAll( replaceArtifacts( line ) );
|
lines.addAll( replaceArtifacts( line ) );
|
||||||
|
|
||||||
lines.add( line );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
reader.close();
|
reader.close();
|
||||||
|
@ -179,7 +177,7 @@ public class Verifier
|
||||||
newLine += convertArtifact( artifact );
|
newLine += convertArtifact( artifact );
|
||||||
newLine += line.substring( index + 1 );
|
newLine += line.substring( index + 1 );
|
||||||
|
|
||||||
index = newLine.indexOf( "SNAPSHOT" );
|
index = newLine.lastIndexOf( "SNAPSHOT" );
|
||||||
if ( index >= 0 )
|
if ( index >= 0 )
|
||||||
{
|
{
|
||||||
List l = new ArrayList();
|
List l = new ArrayList();
|
||||||
|
@ -189,7 +187,7 @@ public class Verifier
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return Collections.singletonList( line );
|
return Collections.singletonList( newLine );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue