mirror of https://github.com/apache/maven.git
disabled maven-mercury test to move it to Mercury ITs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc29595f98
commit
48398db0e4
|
@ -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.api.RepositoryReader;
|
||||||
import org.apache.maven.mercury.repository.local.m2.LocalRepositoryM2;
|
import org.apache.maven.mercury.repository.local.m2.LocalRepositoryM2;
|
||||||
import org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryM2;
|
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.transport.api.Server;
|
||||||
import org.apache.maven.mercury.util.FileUtil;
|
import org.apache.maven.mercury.util.FileUtil;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
|
@ -48,7 +48,7 @@ public class MavenDependencyProcessorTest
|
||||||
|
|
||||||
static final String _remoteRepoUrlSufix = "/maven2";
|
static final String _remoteRepoUrlSufix = "/maven2";
|
||||||
|
|
||||||
HttpTestServer _jetty;
|
// HttpTestServer _jetty;
|
||||||
|
|
||||||
int _port;
|
int _port;
|
||||||
|
|
||||||
|
@ -70,10 +70,10 @@ public class MavenDependencyProcessorTest
|
||||||
_localRepo = new LocalRepositoryM2( "localRepo", _localRepoFile, dp );
|
_localRepo = new LocalRepositoryM2( "localRepo", _localRepoFile, dp );
|
||||||
|
|
||||||
_remoteRepoFile = new File( _remoteRepoDir );
|
_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
|
// FIXME 2009-02-12 Oleg: disabling not to mess with jetty server. Will move to Mercury ITs
|
||||||
// _jetty.start();
|
// _jetty.start();
|
||||||
_port = _jetty.getPort();
|
// _port = _jetty.getPort();
|
||||||
|
|
||||||
Server server = new Server( "testRemote", new URL(_remoteRepoUrlPrefix + _port + _remoteRepoUrlSufix) );
|
Server server = new Server( "testRemote", new URL(_remoteRepoUrlPrefix + _port + _remoteRepoUrlSufix) );
|
||||||
_remoteRepo = new RemoteRepositoryM2( server, dp );
|
_remoteRepo = new RemoteRepositoryM2( server, dp );
|
||||||
|
@ -93,14 +93,14 @@ public class MavenDependencyProcessorTest
|
||||||
public void tearDown()
|
public void tearDown()
|
||||||
throws Exception
|
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
|
// FIXME 2009-02-12 Oleg: disabling not to mess with jetty server. Will move to Mercury ITs
|
||||||
// _jetty.stop();
|
// _jetty.stop();
|
||||||
// _jetty.destroy();
|
// _jetty.destroy();
|
||||||
|
//
|
||||||
System.out.println( "Jetty on :" + _port + " destroyed\n<========\n\n" );
|
// System.out.println( "Jetty on :" + _port + " destroyed\n<========\n\n" );
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue