Migrate initializr-generator to Java

This commit is contained in:
Dave Syer
2017-02-08 09:02:36 +00:00
committed by Stephane Nicoll
parent 0ff278a3d0
commit ac20d04985
127 changed files with 10413 additions and 8220 deletions

View File

@@ -37,11 +37,11 @@ public class DefaultDependencyMetadataProviderTests {
@Test
public void filterDependencies() {
Dependency first = Dependency.withId("first", "org.foo", "first",
"1.1.4.RELEASE");
Dependency first = Dependency.withId("first", "org.foo", "first");
first.setVersionRange("1.1.4.RELEASE");
Dependency second = Dependency.withId("second", "org.foo", "second");
Dependency third = Dependency.withId("third", "org.foo", "third",
"1.1.8.RELEASE");
Dependency third = Dependency.withId("third", "org.foo", "third");
third.setVersionRange("1.1.8.RELEASE");
InitializrMetadata metadata = InitializrMetadataTestBuilder.withDefaults()
.addDependencyGroup("test", first, second, third).build();
DependencyMetadata dependencyMetadata = provider.get(metadata,