Skip to content

Commit caef650

Browse files
committed
[BAEL-13313] - Extract versions into properties
1 parent 3942c3b commit caef650

23 files changed

Lines changed: 86 additions & 54 deletions

File tree

‎akka-streams/pom.xml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@
1414
<dependencies>
1515
<dependency>
1616
<groupId>com.typesafe.akka</groupId>
17-
<artifactId>akka-stream_2.11</artifactId>
17+
<artifactId>akka-stream_${scala.version}</artifactId>
1818
<version>${akkastreams.version}</version>
1919
</dependency>
2020
<dependency>
2121
<groupId>com.typesafe.akka</groupId>
22-
<artifactId>akka-stream-testkit_2.11</artifactId>
22+
<artifactId>akka-stream-testkit_${scala.version}</artifactId>
2323
<version>${akkastreams.version}</version>
2424
</dependency>
2525
</dependencies>
2626

2727
<properties>
2828
<akkastreams.version>2.5.2</akkastreams.version>
29+
<scala.version>2.11</scala.version>
2930
</properties>
3031

3132
</project>

‎persistence-modules/jnosql/jnosql-diana/pom.xml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,36 @@
1818
<dependency>
1919
<groupId>org.jnosql.diana</groupId>
2020
<artifactId>diana-document</artifactId>
21-
<version>0.0.5</version>
21+
<version>${jnosql.version}</version>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.jnosql.diana</groupId>
2525
<artifactId>mongodb-driver</artifactId>
26-
<version>0.0.5</version>
26+
<version>${jnosql.version}</version>
2727
</dependency>
2828

2929
<!--NoSQL Column oriented-->
3030
<dependency>
3131
<groupId>org.jnosql.diana</groupId>
3232
<artifactId>diana-column</artifactId>
33-
<version>0.0.5</version>
33+
<version>${jnosql.version}</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>org.jnosql.diana</groupId>
3737
<artifactId>cassandra-driver</artifactId>
38-
<version>0.0.5</version>
38+
<version>${jnosql.version}</version>
3939
</dependency>
4040

4141
<!--NoSQL Key Value oriented-->
4242
<dependency>
4343
<groupId>org.jnosql.diana</groupId>
4444
<artifactId>diana-key-value</artifactId>
45-
<version>0.0.5</version>
45+
<version>${jnosql.version}</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>org.jnosql.diana</groupId>
4949
<artifactId>hazelcast-driver</artifactId>
50-
<version>0.0.5</version>
50+
<version>${jnosql.version}</version>
5151
</dependency>
5252
</dependencies>
5353

‎persistence-modules/spring-data-cassandra-reactive/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<dependency>
2222
<groupId>org.springframework.data</groupId>
2323
<artifactId>spring-data-cassandra</artifactId>
24-
<version>2.1.2.RELEASE</version>
24+
<version>${spring-data-cassandra.version}</version>
2525
</dependency>
2626
<dependency>
2727
<groupId>io.projectreactor</groupId>
@@ -53,6 +53,7 @@
5353
<project.reporting.outputEncoding>UTF-8
5454
</project.reporting.outputEncoding>
5555
<java.version>1.8</java.version>
56+
<spring-data-cassandra.version>2.1.2.RELEASE</spring-data-cassandra.version>
5657
</properties>
5758

5859
</project>

‎spring-akka/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</dependency>
2020
<dependency>
2121
<groupId>com.typesafe.akka</groupId>
22-
<artifactId>akka-actor_2.11</artifactId>
22+
<artifactId>akka-actor_${scala.version}</artifactId>
2323
<version>${akka.version}</version>
2424
</dependency>
2525
<dependency>
@@ -44,6 +44,7 @@
4444
<properties>
4545
<spring.version>4.3.4.RELEASE</spring.version>
4646
<akka.version>2.4.14</akka.version>
47+
<scala.version>2.11</scala.version>
4748
</properties>
4849

4950
</project>

‎spring-boot-angular/src/main/java/com/baeldung/pom.xml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@
66
<version>1.0</version>
77
<packaging>jar</packaging>
88
<name>Spring Boot Angular Application</name>
9+
910
<parent>
1011
<groupId>org.springframework.boot</groupId>
1112
<artifactId>spring-boot-starter-parent</artifactId>
1213
<version>2.1.3.RELEASE</version>
1314
<relativePath/>
1415
</parent>
15-
<properties>
16-
<java.version>1.8</java.version>
17-
</properties>
1816

1917
<dependencies>
2018
<dependency>
@@ -46,4 +44,7 @@
4644
</plugins>
4745
</build>
4846

47+
<properties>
48+
<java.version>1.8</java.version>
49+
</properties>
4950
</project>

‎spring-boot-testing/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<plugin>
102102
<groupId>org.codehaus.gmavenplus</groupId>
103103
<artifactId>gmavenplus-plugin</artifactId>
104-
<version>1.6</version>
104+
<version>${gmavenplus-plugin.version}</version>
105105
<executions>
106106
<execution>
107107
<goals>
@@ -119,6 +119,7 @@
119119
<start-class>com.baeldung.boot.Application</start-class>
120120
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
121121
<spock.version>1.2-groovy-2.4</spock.version>
122+
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
122123
</properties>
123124

124125
</project>

‎spring-cloud/spring-cloud-contract/spring-cloud-contract-consumer/pom.xml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@
2020
<dependency>
2121
<groupId>org.springframework.cloud</groupId>
2222
<artifactId>spring-cloud-contract-wiremock</artifactId>
23-
<version>1.2.2.RELEASE</version>
23+
<version>${spring-cloud.version}</version>
2424
<scope>test</scope>
2525
</dependency>
2626
<dependency>
2727
<groupId>org.springframework.cloud</groupId>
2828
<artifactId>spring-cloud-contract-stub-runner</artifactId>
29-
<version>1.2.2.RELEASE</version>
29+
<version>${spring-cloud.version}</version>
3030
<scope>test</scope>
3131
</dependency>
3232
<dependency>
3333
<groupId>org.springframework.boot</groupId>
3434
<artifactId>spring-boot-starter-web</artifactId>
35-
<version>1.5.9.RELEASE</version>
35+
<version>${spring-boot.version}</version>
3636
</dependency>
3737
<dependency>
3838
<groupId>org.springframework.boot</groupId>
3939
<artifactId>spring-boot-starter-data-rest</artifactId>
40-
<version>1.5.9.RELEASE</version>
40+
<version>${spring-boot.version}</version>
4141
</dependency>
4242
<dependency>
4343
<groupId>com.baeldung.spring.cloud</groupId>
@@ -51,5 +51,7 @@
5151
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5252
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5353
<java.version>1.8</java.version>
54+
<spring-cloud.version>1.2.2.RELEASE</spring-cloud.version>
55+
<spring-boot.version>1.5.9.RELEASE</spring-boot.version>
5456
</properties>
5557
</project>

‎spring-cloud/spring-cloud-contract/spring-cloud-contract-producer/pom.xml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
<dependency>
2626
<groupId>org.springframework.boot</groupId>
2727
<artifactId>spring-boot-starter-web</artifactId>
28-
<version>1.5.9.RELEASE</version>
28+
<version>${spring-boot.version}</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>org.springframework.boot</groupId>
3232
<artifactId>spring-boot-starter-data-rest</artifactId>
33-
<version>1.5.9.RELEASE</version>
33+
<version>${spring-boot.version}</version>
3434
</dependency>
3535
</dependencies>
3636
<build>
@@ -66,6 +66,7 @@
6666
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6767
<java.version>1.8</java.version>
6868
<spring-cloud.version>Edgware.SR1</spring-cloud.version>
69+
<spring-boot.version>1.5.9.RELEASE</spring-boot.version>
6970
</properties>
7071

7172
</project>

‎spring-freemarker/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>org.springframework.boot</groupId>
5050
<artifactId>spring-boot-starter-test</artifactId>
51-
<version>1.5.10.RELEASE</version>
51+
<version>${spring-boot.version}</version>
5252
<scope>test</scope>
5353
</dependency>
5454

@@ -59,6 +59,7 @@
5959
<freemarker.version>2.3.28</freemarker.version>
6060
<servletapi.version>3.1.0</servletapi.version>
6161
<failOnMissingWebXml>false</failOnMissingWebXml>
62+
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
6263
</properties>
6364

6465
</project>

‎spring-jersey/pom.xml‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,36 +95,36 @@
9595
<dependency>
9696
<groupId>com.github.tomakehurst</groupId>
9797
<artifactId>wiremock</artifactId>
98-
<version>1.58</version>
98+
<version>${wiremock.version}</version>
9999
<scope>test</scope>
100100
</dependency>
101101
<dependency>
102102
<groupId>com.fasterxml.jackson.jaxrs</groupId>
103103
<artifactId>jackson-jaxrs-json-provider</artifactId>
104-
<version>2.9.7</version>
104+
<version>${jackson.version}</version>
105105
</dependency>
106106
<dependency>
107107
<groupId>com.fasterxml.jackson.core</groupId>
108108
<artifactId>jackson-databind</artifactId>
109-
<version>2.9.7</version>
109+
<version>${jackson.version}</version>
110110
</dependency>
111111
<dependency>
112112
<groupId>org.slf4j</groupId>
113113
<artifactId>slf4j-jdk14</artifactId>
114-
<version>1.7.25</version>
114+
<version>${org.slf4j.version}</version>
115115
</dependency>
116116
<dependency>
117117
<groupId>org.assertj</groupId>
118118
<artifactId>assertj-core</artifactId>
119-
<version>3.10.0</version>
119+
<version>${assertj-core.version}</version>
120120
<scope>test</scope>
121121
</dependency>
122122

123123
<!-- Test -->
124124
<dependency>
125125
<groupId>org.springframework.boot</groupId>
126126
<artifactId>spring-boot-starter-test</artifactId>
127-
<version>1.5.10.RELEASE</version>
127+
<version>${spring-boot.version}</version>
128128
<scope>test</scope>
129129
</dependency>
130130

@@ -228,6 +228,9 @@
228228
<httpcore.version>4.4.9</httpcore.version>
229229
<httpclient.version>4.5.5</httpclient.version>
230230
<servlet-api-version>4.0.0</servlet-api-version>
231+
<wiremock.version>1.58</wiremock.version>
232+
<assertj-core.version>3.10.0</assertj-core.version>
233+
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
231234
</properties>
232235

233236
</project>

0 commit comments

Comments
 (0)