Fixed broken build
This commit is contained in:
@@ -15,19 +15,11 @@
|
||||
*/
|
||||
package org.springframework.cloud.release;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.invoke.MethodHandles;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.release.internal.Releaser;
|
||||
import org.springframework.cloud.release.internal.build.ProjectBuilder;
|
||||
import org.springframework.cloud.release.internal.pom.ProjectUpdater;
|
||||
|
||||
import static org.slf4j.LoggerFactory.getLogger;
|
||||
|
||||
@SpringBootApplication
|
||||
public class ReleaserApplication implements CommandLineRunner {
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.springframework.cloud.release.spring;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.cloud.release.internal.Releaser;
|
||||
import org.springframework.cloud.release.internal.ReleaserProperties;
|
||||
import org.springframework.cloud.release.internal.build.ProjectBuilder;
|
||||
import org.springframework.cloud.release.internal.pom.ProjectUpdater;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
@@ -27,7 +26,11 @@ import org.springframework.context.annotation.Configuration;
|
||||
@EnableConfigurationProperties(ReleaserProperties.class)
|
||||
class ReleaserConfiguration {
|
||||
|
||||
@Bean Releaser releaser(ReleaserProperties properties) {
|
||||
/*@Bean Releaser releaser(ReleaserProperties properties) {
|
||||
return new Releaser(properties, new ProjectUpdater(properties), new ProjectBuilder(properties));
|
||||
}*/
|
||||
|
||||
@Bean Releaser releaser(ReleaserProperties properties) {
|
||||
return new Releaser(properties, new ProjectUpdater(properties));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user