Added missing packages

This commit is contained in:
Marcin Grzejszczak
2017-03-09 09:40:52 +01:00
parent a5c1d3af58
commit 7acb5c9dd0
2 changed files with 7 additions and 15 deletions

View File

@@ -18,6 +18,7 @@ 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;
@@ -26,11 +27,7 @@ import org.springframework.context.annotation.Configuration;
@EnableConfigurationProperties(ReleaserProperties.class)
class ReleaserConfiguration {
/*@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));
return new Releaser(properties, new ProjectUpdater(properties), new ProjectBuilder(properties));
}
}