Added missing beans
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user