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.add( line );
|
||||
}
|
||||
|
||||
reader.close();
|
||||
|
@ -179,7 +177,7 @@ public class Verifier
|
|||
newLine += convertArtifact( artifact );
|
||||
newLine += line.substring( index + 1 );
|
||||
|
||||
index = newLine.indexOf( "SNAPSHOT" );
|
||||
index = newLine.lastIndexOf( "SNAPSHOT" );
|
||||
if ( index >= 0 )
|
||||
{
|
||||
List l = new ArrayList();
|
||||
|
@ -189,7 +187,7 @@ public class Verifier
|
|||
}
|
||||
else
|
||||
{
|
||||
return Collections.singletonList( line );
|
||||
return Collections.singletonList( newLine );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue