Merge pull request #6671 from amit2103/BAEL-13313

[BAEL-13313] - Extract versions into properties
This commit is contained in:
Loredana Crusoveanu 2019-04-07 10:13:55 +03:00 committed by GitHub
commit 2e4bb83e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 90 additions and 58 deletions

View File

@ -14,18 +14,19 @@
<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-stream_2.11</artifactId>
<artifactId>akka-stream_${scala.version}</artifactId>
<version>${akkastreams.version}</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-stream-testkit_2.11</artifactId>
<artifactId>akka-stream-testkit_${scala.version}</artifactId>
<version>${akkastreams.version}</version>
</dependency>
</dependencies>
<properties>
<akkastreams.version>2.5.2</akkastreams.version>
<scala.version>2.11</scala.version>
</properties>
</project>

View File

@ -18,36 +18,36 @@
<dependency>
<groupId>org.jnosql.diana</groupId>
<artifactId>diana-document</artifactId>
<version>0.0.5</version>
<version>${jnosql.version}</version>
</dependency>
<dependency>
<groupId>org.jnosql.diana</groupId>
<artifactId>mongodb-driver</artifactId>
<version>0.0.5</version>
<version>${jnosql.version}</version>
</dependency>
<!--NoSQL Column oriented-->
<dependency>
<groupId>org.jnosql.diana</groupId>
<artifactId>diana-column</artifactId>
<version>0.0.5</version>
<version>${jnosql.version}</version>
</dependency>
<dependency>
<groupId>org.jnosql.diana</groupId>
<artifactId>cassandra-driver</artifactId>
<version>0.0.5</version>
<version>${jnosql.version}</version>
</dependency>
<!--NoSQL Key Value oriented-->
<dependency>
<groupId>org.jnosql.diana</groupId>
<artifactId>diana-key-value</artifactId>
<version>0.0.5</version>
<version>${jnosql.version}</version>
</dependency>
<dependency>
<groupId>org.jnosql.diana</groupId>
<artifactId>hazelcast-driver</artifactId>
<version>0.0.5</version>
<version>${jnosql.version}</version>
</dependency>
</dependencies>

View File

@ -21,7 +21,7 @@
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
<version>2.1.2.RELEASE</version>
<version>${spring-data-cassandra.version}</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
@ -53,6 +53,7 @@
<project.reporting.outputEncoding>UTF-8
</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-data-cassandra.version>2.1.2.RELEASE</spring-data-cassandra.version>
</properties>
</project>

View File

@ -19,7 +19,7 @@
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor_2.11</artifactId>
<artifactId>akka-actor_${scala.version}</artifactId>
<version>${akka.version}</version>
</dependency>
<dependency>
@ -44,6 +44,7 @@
<properties>
<spring.version>4.3.4.RELEASE</spring.version>
<akka.version>2.4.14</akka.version>
<scala.version>2.11</scala.version>
</properties>
</project>

View File

@ -6,15 +6,13 @@
<version>1.0</version>
<packaging>jar</packaging>
<name>Spring Boot Angular Application</name>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version>
<relativePath/>
</parent>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
@ -46,4 +44,7 @@
</plugins>
</build>
<properties>
<java.version>1.8</java.version>
</properties>
</project>

View File

@ -101,7 +101,7 @@
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.6</version>
<version>${gmavenplus-plugin.version}</version>
<executions>
<execution>
<goals>
@ -119,6 +119,7 @@
<start-class>com.baeldung.boot.Application</start-class>
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
<spock.version>1.2-groovy-2.4</spock.version>
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
</properties>
</project>

View File

@ -20,24 +20,24 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-wiremock</artifactId>
<version>1.2.2.RELEASE</version>
<version>${spring-cloud.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-stub-runner</artifactId>
<version>1.2.2.RELEASE</version>
<version>${spring-cloud.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>1.5.9.RELEASE</version>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
<version>1.5.9.RELEASE</version>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>com.baeldung.spring.cloud</groupId>
@ -51,5 +51,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud.version>1.2.2.RELEASE</spring-cloud.version>
<spring-boot.version>1.5.9.RELEASE</spring-boot.version>
</properties>
</project>

View File

@ -25,12 +25,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>1.5.9.RELEASE</version>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
<version>1.5.9.RELEASE</version>
<version>${spring-boot.version}</version>
</dependency>
</dependencies>
<build>
@ -66,6 +66,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud.version>Edgware.SR1</spring-cloud.version>
<spring-boot.version>1.5.9.RELEASE</spring-boot.version>
</properties>
</project>

View File

@ -48,7 +48,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version>
<version>${spring-boot.version}</version>
<scope>test</scope>
</dependency>
@ -59,6 +59,7 @@
<freemarker.version>2.3.28</freemarker.version>
<servletapi.version>3.1.0</servletapi.version>
<failOnMissingWebXml>false</failOnMissingWebXml>
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
</properties>
</project>

View File

@ -95,28 +95,28 @@
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId>
<version>1.58</version>
<version>${wiremock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.9.7</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.25</version>
<version>${org.slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.10.0</version>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
@ -124,7 +124,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version>
<version>${spring-boot.version}</version>
<scope>test</scope>
</dependency>
@ -228,6 +228,9 @@
<httpcore.version>4.4.9</httpcore.version>
<httpclient.version>4.5.5</httpclient.version>
<servlet-api-version>4.0.0</servlet-api-version>
<wiremock.version>1.58</wiremock.version>
<assertj-core.version>3.10.0</assertj-core.version>
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
</properties>
</project>

View File

@ -22,7 +22,7 @@
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.1</version>
<version>${javax.mail.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
@ -182,6 +182,7 @@
<scribejava.version>5.1.0</scribejava.version>
<json.version>20180130</json.version>
<apache-tiles.version>3.0.8</apache-tiles.version>
<javax.mail.version>1.6.1</javax.mail.version>
</properties>
</project>

View File

@ -88,7 +88,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version>
<version>${spring-boot.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
@ -118,6 +118,7 @@
<!-- Spring -->
<org.springframework.version>5.0.2.RELEASE</org.springframework.version>
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
<!-- persistence -->
<mysql-connector-java.version>5.1.40</mysql-connector-java.version>

View File

@ -27,12 +27,17 @@
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bus</artifactId>
<version>2.0.8.RELEASE</version>
<version>${reactor.version}</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>2.0.8.RELEASE</version>
<version>${reactor.version}</version>
</dependency>
</dependencies>
<properties>
<spring-cloud-sleuth.version>2.0.2.RELEASE</spring-cloud-sleuth.version>
<reactor.version>2.0.8.RELEASE</reactor.version>
</properties>
</project>

View File

@ -20,17 +20,17 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.7</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.7</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>${jackson.version}</version>
</dependency>
<!-- Spring Security -->
@ -139,7 +139,7 @@
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.4.0</version>
<version>${json-path.version}</version>
<scope>test</scope>
</dependency>
@ -213,6 +213,7 @@
<!-- Maven plugins -->
<maven-war-plugin.version>2.6</maven-war-plugin.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
<json-path.version>2.4.0</json-path.version>
</properties>

View File

@ -137,7 +137,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version>
<version>${spring-boot.version}</version>
<scope>test</scope>
</dependency>
@ -211,7 +211,7 @@
<!-- Maven plugins -->
<maven-war-plugin.version>2.6</maven-war-plugin.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
</properties>
</project>

View File

@ -32,7 +32,7 @@
<dependency>
<groupId>com.stormpath.spring</groupId>
<artifactId>stormpath-default-spring-boot-starter</artifactId>
<version>1.5.4</version>
<version>${stormpath-spring.version}</version>
</dependency>
</dependencies>
@ -60,5 +60,9 @@
</plugin>
</plugins>
</build>
<properties>
<stormpath-spring.version>1.5.4</stormpath-spring.version>
</properties>
</project>

View File

@ -10,10 +10,6 @@
<packaging>jar</packaging>
<description>Spring Session with JDBC tutorial</description>
<properties>
<h2.version>1.4.197</h2.version>
</properties>
<parent>
<artifactId>parent-boot-2</artifactId>
<groupId>com.baeldung</groupId>
@ -52,5 +48,8 @@
</plugins>
</build>
<properties>
<h2.version>1.4.197</h2.version>
</properties>
</project>

View File

@ -15,12 +15,6 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<properties>
<java.version>1.8</java.version>
<tensorflow.version>1.12.0</tensorflow.version>
<junit.jupiter.version>5.4.0</junit.jupiter.version>
</properties>
<dependencies>
<dependency>
<groupId>org.tensorflow</groupId>
@ -49,4 +43,10 @@
</plugin>
</plugins>
</build>
<properties>
<java.version>1.8</java.version>
<tensorflow.version>1.12.0</tensorflow.version>
<junit.jupiter.version>5.4.0</junit.jupiter.version>
</properties>
</project>

View File

@ -42,7 +42,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.4</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -68,12 +68,12 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.197</version>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.2</version>
<version>${lombok.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
@ -145,6 +145,7 @@
<jmeter.version>5.0</jmeter.version>
<grinder.version>3.11</grinder.version>
<spring.boot.version>2.0.5.RELEASE</spring.boot.version>
<h2.version>1.4.197</h2.version>
</properties>
</project>

View File

@ -18,7 +18,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -4,7 +4,7 @@ import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class ArithmeticFunctionTest {
public class ArithmeticFunctionUnitTest {
@Test
public void test_addingIntegers_returnsSum() {

View File

@ -4,7 +4,7 @@ import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class ComparisonFunctionTest {
public class ComparisonFunctionUnitTest {
@Test
public void test_findMax() {

View File

@ -5,7 +5,7 @@ import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({ ComparisonFunctionTest.class, ArithmeticFunctionTest.class })
@SuiteClasses({ ComparisonFunctionUnitTest.class, ArithmeticFunctionUnitTest.class })
public class FunctionTestSuite {
}

View File

@ -6,6 +6,13 @@
<version>0.0.1-SNAPSHOT</version>
<name>parallel-tests-junit</name>
<packaging>pom</packaging>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-java</relativePath>
</parent>
<modules>
<module>math-test-functions</module>

View File

@ -18,7 +18,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -4,7 +4,7 @@ import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class StringFunctionTest {
public class StringFunctionUnitTest {
@Test
public void test_upperCase() {

View File

@ -91,7 +91,7 @@
<dependency>
<groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId>
<version>0.15</version>
<version>${javafaker.version}</version>
</dependency>
</dependencies>
@ -177,6 +177,7 @@
<lambda-behave.version>0.4</lambda-behave.version>
<assertj-guava.version>3.0.0</assertj-guava.version>
<jukito.version>1.5</jukito.version>
<javafaker.version>0.15</javafaker.version>
</properties>
</project>