Fixed broken build

This commit is contained in:
Marcin Grzejszczak
2017-03-08 16:22:01 +01:00
parent 5e982feea8
commit 0533f711e5
3 changed files with 15 additions and 15 deletions

View File

@@ -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 {

View File

@@ -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));
}
}