Package org.eclipse.aether.repository

Examples of org.eclipse.aether.repository.RemoteRepository


            FileUtils.remove(testRepo);

        AetherService aetherService = AetherService.getDefaultInstance();
        List<RemoteRepository> list = aetherService.getRemoteRepositories();
        Assert.assertTrue("Expected at least 1, got "+list.size(), list.size()>0);
        RemoteRepository r = aetherService.getMirrorSelector(list).getMirror(list.get(0));
        Assert.assertTrue("Expected "+Utils.getMirroredURL()+" got "+r.getUrl(), r.getUrl().equals(Utils.getMirroredURL()));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.aether.repository.RemoteRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.