Merge branch 'master' into rearrange-liquibase-changelogs
This commit is contained in:
16
demand-forecasting-adapters/build.gradle
Normal file
16
demand-forecasting-adapters/build.gradle
Normal file
@@ -0,0 +1,16 @@
|
||||
apply plugin: 'groovy'
|
||||
|
||||
dependencies {
|
||||
compile(project(":demand-forecasting-model"))
|
||||
compile(project(":adapter-commons"))
|
||||
|
||||
compile("org.projectlombok:lombok:1.16.18")
|
||||
|
||||
runtime("org.postgresql:postgresql:42.1.4")
|
||||
|
||||
testCompile("org.springframework.boot:spring-boot-starter-test")
|
||||
testCompile("org.spockframework:spock-core:1.1-groovy-2.4")
|
||||
testCompile("org.spockframework:spock-spring:1.1-groovy-2.4")
|
||||
testCompile("com.h2database:h2:1.4.194")
|
||||
testCompile(project(":adapter-commons").sourceSets.test.output)
|
||||
}
|
||||
@@ -11,7 +11,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.0.0.RELEASE</version>
|
||||
<version>2.0.2.RELEASE</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
@@ -78,10 +78,43 @@
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<!-- [PIPELINE] -->
|
||||
<distribution.management.release.id>artifactory-local</distribution.management.release.id>
|
||||
<distribution.management.release.url>http://localhost:8081/artifactory/libs-release-local</distribution.management.release.url>
|
||||
<distribution.management.snapshot.url>http://localhost:8081/artifactory/libs-snapshot-local</distribution.management.snapshot.url>
|
||||
<repo.with.binaries>http://localhost:8081/artifactory/libs-release-local</repo.with.binaries>
|
||||
<maven-surefire.version>2.21.0</maven-surefire.version>
|
||||
</properties>
|
||||
|
||||
<!-- [PIPELINE] -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${distribution.management.release.id}</id>
|
||||
<name>Release Repository</name>
|
||||
<url>${distribution.management.release.url}</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>${distribution.management.release.id}</id>
|
||||
<name>Snapshot Repository</name>
|
||||
<url>${distribution.management.snapshot.url}</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.gmavenplus</groupId>
|
||||
<artifactId>gmavenplus-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>addTestSources</goal>
|
||||
<goal>compileTests</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
@@ -91,18 +124,6 @@
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.gmavenplus</groupId>
|
||||
<artifactId>gmavenplus-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>compileTests</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.20.1</version>
|
||||
@@ -117,4 +138,128 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire.version}</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Test*.*</include>>
|
||||
<include>**/*Spec*.*</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/smoke/**</exclude>
|
||||
<exclude>**/e2e/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- [PIPELINE] -->
|
||||
<profile>
|
||||
<id>apicompatibility</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire.version}</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>contracttests/**/*Test*.*</include>
|
||||
<include>contracttests/**/*Spec*.*</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- [PIPELINE] -->
|
||||
<profile>
|
||||
<id>smoke</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire.version}</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>smoke/**/*Tests.java</include>
|
||||
<include>smoke/**/*Test.java</include>
|
||||
<include>smoke/**/*Spec.*</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- [PIPELINE] -->
|
||||
<profile>
|
||||
<id>e2e</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire.version}</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>e2e/**/*Tests.java</include>
|
||||
<include>e2e/**/*Test.java</include>
|
||||
<include>e2e/**/*Spec.*</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spring-snapshots</id>
|
||||
<name>Spring Snapshots</name>
|
||||
<url>https://repo.spring.io/libs-snapshot</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>spring-snapshots</id>
|
||||
<name>Spring Snapshots</name>
|
||||
<url>https://repo.spring.io/libs-snapshot</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.dddbyexamples.factory.delivery.planning.definition.DeliveryPlannerDefi
|
||||
import spock.lang.Specification
|
||||
|
||||
import static java.time.LocalTime.of as time
|
||||
import static DeliveryPlannerDefinition.of
|
||||
import static io.dddbyexamples.factory.delivery.planning.definition.DeliveryPlannerDefinition.of
|
||||
import static io.dddbyexamples.factory.demand.forecasting.Demand.Schema.*
|
||||
|
||||
@SpringBootTest
|
||||
|
||||
Reference in New Issue
Block a user