diff --git a/demand-forecasting-model/pom.xml b/demand-forecasting-model/pom.xml index ccbba4f..e064ea9 100644 --- a/demand-forecasting-model/pom.xml +++ b/demand-forecasting-model/pom.xml @@ -9,14 +9,45 @@ jar 1.0-SNAPSHOT - - org.springframework.boot - spring-boot-starter-parent - 1.5.8.RELEASE - + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + -parameters + + + + org.codehaus.gmavenplus + gmavenplus-plugin + 1.6 + + + + compileTests + + + + + + maven-surefire-plugin + 2.20.1 + + false + + **/*Spec.java + **/*Test.java + + + + + - pl.com.bottega shared-kernel-model @@ -28,29 +59,29 @@ 1.16.18 provided - - org.springframework.boot - spring-boot-starter-data-jpa - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-data-rest - - - org.springframework.boot - spring-boot-starter-test + junit + junit + 4.12 test - org.postgresql - postgresql - 42.1.4 - runtime + org.assertj + assertj-core + 3.8.0 + test + + + info.cukes + cucumber-java + 1.2.5 + test + + + info.cukes + cucumber-core + 1.2.5 + test org.spockframework @@ -58,29 +89,5 @@ 1.1-groovy-2.4 test - - org.spockframework - spock-spring - 1.1-groovy-2.4 - test - - - net.bytebuddy - byte-buddy - 1.7.9 - - - - 1.8 - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - \ No newline at end of file diff --git a/demand-forecasting-model/src/main/java/pl/com/bottega/factory/AppConfiguration.java b/demand-forecasting-model/src/main/java/pl/com/bottega/factory/AppConfiguration.java deleted file mode 100644 index 05e5a51..0000000 --- a/demand-forecasting-model/src/main/java/pl/com/bottega/factory/AppConfiguration.java +++ /dev/null @@ -1,20 +0,0 @@ -package pl.com.bottega.factory; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.annotation.Bean; - -import java.time.Clock; - -@SpringBootApplication -public class AppConfiguration { - - public static void main(String[] args) { - SpringApplication.run(AppConfiguration.class, args); - } - - @Bean - public Clock clock() { - return Clock.systemDefaultZone(); - } -} diff --git a/pom.xml b/pom.xml index 8c84277..9a9d68f 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 1.0-SNAPSHOT - + app-monolith shared-kernel-model demand-forecasting-model shortages-prediction-model