mirror of https://github.com/apache/maven.git
o Restored Java 1.4 compat
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@680155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
18269faa00
commit
793b39e908
|
@ -73,7 +73,7 @@ public class MavenITmng3599useHttpProxyForWebDAV
|
|||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3599-useHttpProxyForWebDAV" );
|
||||
String settings = FileUtils.fileRead( new File( testDir, "settings.xml.template" ) );
|
||||
settings = StringUtils.replace( settings, "@port@", Integer.valueOf( port ).toString() );
|
||||
settings = StringUtils.replace( settings, "@port@", Integer.toString( port ) );
|
||||
String newSettings = StringUtils.replace( settings, "@protocol@", "http" );
|
||||
FileUtils.fileWrite( new File( testDir, "settings.xml" ).getAbsolutePath(), newSettings );
|
||||
|
||||
|
|
Loading…
Reference in New Issue