diff --git a/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java b/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java index 7e2720bfc4..d1bbcd96fd 100644 --- a/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java +++ b/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java @@ -18,7 +18,7 @@ import org.apache.maven.mercury.repository.api.Repository; import org.apache.maven.mercury.repository.api.RepositoryReader; import org.apache.maven.mercury.repository.local.m2.LocalRepositoryM2; import org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryM2; -import org.apache.maven.mercury.spi.http.server.HttpTestServer; +//import org.apache.maven.mercury.spi.http.server.HttpTestServer; import org.apache.maven.mercury.transport.api.Server; import org.apache.maven.mercury.util.FileUtil; import org.junit.After; @@ -48,7 +48,7 @@ public class MavenDependencyProcessorTest static final String _remoteRepoUrlSufix = "/maven2"; - HttpTestServer _jetty; +// HttpTestServer _jetty; int _port; @@ -70,10 +70,10 @@ public class MavenDependencyProcessorTest _localRepo = new LocalRepositoryM2( "localRepo", _localRepoFile, dp ); _remoteRepoFile = new File( _remoteRepoDir ); - _jetty = new HttpTestServer( _remoteRepoFile, _remoteRepoUrlSufix ); +// _jetty = new HttpTestServer( _remoteRepoFile, _remoteRepoUrlSufix ); // FIXME 2009-02-12 Oleg: disabling not to mess with jetty server. Will move to Mercury ITs // _jetty.start(); - _port = _jetty.getPort(); +// _port = _jetty.getPort(); Server server = new Server( "testRemote", new URL(_remoteRepoUrlPrefix + _port + _remoteRepoUrlSufix) ); _remoteRepo = new RemoteRepositoryM2( server, dp ); @@ -93,14 +93,14 @@ public class MavenDependencyProcessorTest public void tearDown() throws Exception { - if( _jetty != null ) - { +// if( _jetty != null ) +// { // FIXME 2009-02-12 Oleg: disabling not to mess with jetty server. Will move to Mercury ITs // _jetty.stop(); // _jetty.destroy(); - - System.out.println( "Jetty on :" + _port + " destroyed\n<========\n\n" ); - } +// +// System.out.println( "Jetty on :" + _port + " destroyed\n<========\n\n" ); +// } } @Test