use of org.jboss.galleon.universe.MvnUniverse in project galleon by wildfly.
the class UniverseTestCase method setup.
@BeforeClass
public static void setup() throws Exception {
universeSpec_builtin = new UniverseSpec(MavenUniverseFactory.ID, TestConstants.GROUP_ID + ":" + UNIVERSE_NAME_BUILTIN);
cli = new CliWrapper(universeSpec_builtin);
MvnUniverse universe3 = MvnUniverse.getInstance(UNIVERSE_NAME_BUILTIN, cli.getSession().getMavenRepoManager());
CliTestUtils.setupUniverse(universe3, cli, UNIVERSE_NAME_BUILTIN, Arrays.asList(PRODUCER3));
MvnUniverse universe1 = MvnUniverse.getInstance(UNIVERSE_NAME, cli.getSession().getMavenRepoManager());
universeSpec1 = CliTestUtils.setupUniverse(universe1, cli, UNIVERSE_NAME, Arrays.asList(PRODUCER1));
MvnUniverse universe2 = MvnUniverse.getInstance(UNIVERSE_NAME2, cli.getSession().getMavenRepoManager());
universeSpec2 = CliTestUtils.setupUniverse(universe2, cli, UNIVERSE_NAME2, Arrays.asList(PRODUCER2));
}
use of org.jboss.galleon.universe.MvnUniverse in project galleon by wildfly.
the class CliTestUtils method setupUniverse.
public static UniverseSpec setupUniverse(CliWrapper cli, String name, List<String> producers) throws ProvisioningException {
MavenRepoManager mgr = cli.getSession().getMavenRepoManager();
MvnUniverse universe = MvnUniverse.getInstance(name, mgr);
return setupUniverse(universe, cli, name, producers);
}
use of org.jboss.galleon.universe.MvnUniverse in project galleon by wildfly.
the class FindFeaturePacksTestCase method setup.
@BeforeClass
public static void setup() throws Exception {
cli = new CliWrapper();
MvnUniverse universe = MvnUniverse.getInstance(UNIVERSE_NAME, cli.getSession().getMavenRepoManager());
universeSpec = CliTestUtils.setupUniverse(universe, cli, UNIVERSE_NAME, Arrays.asList(PRODUCER1, XPRODUCER));
}
use of org.jboss.galleon.universe.MvnUniverse in project galleon by wildfly.
the class ListFeaturePacksTestCase method setup.
@BeforeClass
public static void setup() throws Exception {
cli = new CliWrapper();
MvnUniverse universe = MvnUniverse.getInstance(UNIVERSE_NAME, cli.getSession().getMavenRepoManager());
universeSpec = CliTestUtils.setupUniverse(universe, cli, UNIVERSE_NAME, Arrays.asList(PRODUCER1), DEFAULT_FREQUENCY);
}
Aggregations