use of io.quarkus.bootstrap.resolver.TsArtifact in project quarkus by quarkusio.
the class VersionPropertyDependencyTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact x12 = new TsArtifact("x", "2");
final TsArtifact x13 = new TsArtifact("x", "3");
install(x12);
install(x13);
setPomProperty("x.version", "2");
addDep(new TsArtifact("x", "${x.version}"));
addCollectedDep(x12, DependencyFlags.DIRECT);
}
use of io.quarkus.bootstrap.resolver.TsArtifact in project quarkus by quarkusio.
the class DependencyPresentTwiceInTheGraphInCompileAndProvidedScopesTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact common1 = new TsArtifact("common", "1");
final TsArtifact common2 = new TsArtifact("common", "2");
installAsDep(new TsArtifact("required-dep1").addDependency(new TsDependency(common1, "provided")), true);
install(common1, false);
install(common2, true);
installAsDep(new TsArtifact("required-dep2").addDependency(common2), true);
}
use of io.quarkus.bootstrap.resolver.TsArtifact in project quarkus by quarkusio.
the class DependencyPresentTwiceInTheGraphTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact common1 = new TsArtifact("common", "1");
install(common1, true);
installAsDep(new TsArtifact("required-dep1").addDependency(common1), true);
installAsDep(new TsArtifact("required-dep2").addDependency(common1), true);
}
use of io.quarkus.bootstrap.resolver.TsArtifact in project quarkus by quarkusio.
the class DirectDependencyOverridesManagedDependencyTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact x12 = new TsArtifact("x", "2");
final TsArtifact x13 = new TsArtifact("x", "3");
installAsDep(x12);
install(x13);
addManagedDep(x13);
}
use of io.quarkus.bootstrap.resolver.TsArtifact in project quarkus by quarkusio.
the class DependenciesOnDifferentVersionsOfAnArtifactTestCase method setupDependencies.
@Override
protected void setupDependencies() {
final TsArtifact common1 = new TsArtifact("common", "1");
install(common1, true);
installAsDep(new TsArtifact("required-dep1").addDependency(common1));
installAsDep(new TsArtifact("required-dep2").addDependency(new TsArtifact("common", "2")));
}
Aggregations