Added missing beans

This commit is contained in:
Marcin Grzejszczak
2019-09-05 11:46:33 +02:00
parent a2983ffa56
commit c77ae8397e
12 changed files with 255 additions and 62 deletions

View File

@@ -22,7 +22,7 @@ import java.util.List;
/**
* Parses the bom and returns all parsed versions.
*/
interface BomParser {
public interface BomParser {
/**
* @param clonedBom - location of the cloned BOM repository

View File

@@ -16,9 +16,7 @@
package org.springframework.cloud.release.internal.buildsystem;
import java.io.File;
import java.util.Collections;
import java.util.Set;
import org.springframework.cloud.release.cloud.buildsystem.SpringCloudMavenBomParser;
import org.springframework.cloud.release.internal.ReleaserProperties;
@@ -30,15 +28,4 @@ public class MavenBomParserAccessor {
Collections.singletonList(new SpringCloudMavenBomParser()));
}
public static BomParser testCloudBomParser(ReleaserProperties properties) {
return new MavenBomParser(properties,
Collections.singletonList(new SpringCloudMavenBomParser() {
@Override
public boolean isApplicable(File root, ReleaserProperties properties,
Set<Project> projects) {
return true;
}
}));
}
}