extract version into properties tag & moved common properties in parent

This commit is contained in:
amit.pandey 2020-06-20 23:32:32 +05:30
parent 556a51175e
commit 36f15adbd7
39 changed files with 134 additions and 65 deletions

View File

@ -41,7 +41,7 @@
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId> <artifactId>spring-data-jpa</artifactId>
<version>1.11.23.RELEASE</version> <version>${spring-data-jpa.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
@ -64,49 +64,49 @@
<dependency> <dependency>
<groupId>org.apache.activemq</groupId> <groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<version>5.7.0</version> <version>${activemq-core.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.derby</groupId> <groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId> <artifactId>derby</artifactId>
<version>10.8.1.2</version> <version>${derby.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.12</version> <version>${junit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- the JTA API --> <!-- the JTA API -->
<dependency> <dependency>
<groupId>javax.transaction</groupId> <groupId>javax.transaction</groupId>
<artifactId>jta</artifactId> <artifactId>jta</artifactId>
<version>1.1</version> <version>${jta.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.0.1B_spec</artifactId> <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
<version>1.0</version> <version>${geronimo.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.validation</groupId> <groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId> <artifactId>validation-api</artifactId>
<version>2.0.1.Final</version> <version>${validation-api.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.hibernate.validator</groupId> <groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId> <artifactId>hibernate-validator</artifactId>
<version>6.1.2.Final</version> <version>${hibernate-validator.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.el</groupId> <groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId> <artifactId>javax.el-api</artifactId>
<version>3.0.0</version> <version>${javax.el-api.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.glassfish.web</groupId> <groupId>org.glassfish.web</groupId>
<artifactId>javax.el</artifactId> <artifactId>javax.el</artifactId>
<version>2.2.4</version> <version>${javax.el.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -114,6 +114,15 @@
<atomikos-version>5.0.6</atomikos-version> <atomikos-version>5.0.6</atomikos-version>
<spring-version>5.1.6.RELEASE</spring-version> <spring-version>5.1.6.RELEASE</spring-version>
<hibernate.version>5.4.3.Final</hibernate.version> <hibernate.version>5.4.3.Final</hibernate.version>
<spring-data-jpa.version>1.11.23.RELEASE</spring-data-jpa.version>
<activemq-core.version>5.7.0</activemq-core.version>
<derby.version>10.8.1.2</derby.version>
<jta.version>1.1</jta.version>
<geronimo.version>1.0</geronimo.version>
<validation-api.version>2.0.1.Final</validation-api.version>
<hibernate-validator.version>6.1.2.Final</hibernate-validator.version>
<javax.el-api.version>3.0.0</javax.el-api.version>
<javax.el.version>2.2.4</javax.el.version>
</properties> </properties>
</project> </project>

View File

@ -34,7 +34,11 @@
<dependency> <dependency>
<groupId>org.junit</groupId> <groupId>org.junit</groupId>
<artifactId>junit5-engine</artifactId> <artifactId>junit5-engine</artifactId>
<version>5.0.0-ALPHA</version> <version>${junit5.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<junit5.version>5.0.0-ALPHA</junit5.version>
</properties>
</project> </project>

View File

@ -19,31 +19,31 @@
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.13</version> <version>${junit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.googlecode.thread-weaver</groupId> <groupId>com.googlecode.thread-weaver</groupId>
<artifactId>threadweaver</artifactId> <artifactId>threadweaver</artifactId>
<version>0.2</version> <version>${threadweaver.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.code.tempus-fugit</groupId> <groupId>com.google.code.tempus-fugit</groupId>
<artifactId>tempus-fugit</artifactId> <artifactId>tempus-fugit</artifactId>
<version>1.1</version> <version>${tempus-fugit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.googlecode.multithreadedtc</groupId> <groupId>com.googlecode.multithreadedtc</groupId>
<artifactId>multithreadedtc</artifactId> <artifactId>multithreadedtc</artifactId>
<version>1.01</version> <version>${multithreadedtc.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.openjdk.jcstress</groupId> <groupId>org.openjdk.jcstress</groupId>
<artifactId>jcstress-core</artifactId> <artifactId>jcstress-core</artifactId>
<version>0.5</version> <version>${jcstress-core.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -63,8 +63,8 @@
<version>3.1</version> <version>3.1</version>
<configuration> <configuration>
<compilerVersion>${javac.target}</compilerVersion> <compilerVersion>${javac.target}</compilerVersion>
<source>${javac.target}</source> <source>${java.version}</source>
<target>${javac.target}</target> <target>${java.version}</target>
</configuration> </configuration>
</plugin> </plugin>
@ -99,7 +99,11 @@
</build> </build>
<properties> <properties>
<javac.target>1.8</javac.target> <junit.version>4.13</junit.version>
<threadweaver.version>0.2</threadweaver.version>
<tempus-fugit.version>1.1</tempus-fugit.version>
<multithreadedtc.version>1.01</multithreadedtc.version>
<jcstress-core.version>0.5</jcstress-core.version>
</properties> </properties>
</project> </project>

View File

@ -50,7 +50,7 @@
<dependency> <dependency>
<groupId>com.github.tomakehurst</groupId> <groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId> <artifactId>wiremock</artifactId>
<version>2.26.3</version> <version>${wiremock.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -80,6 +80,7 @@
<properties> <properties>
<assertj.version>3.6.1</assertj.version> <assertj.version>3.6.1</assertj.version>
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version> <maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
<wiremock.version>2.26.3</wiremock.version>
</properties> </properties>
</project> </project>

View File

@ -24,7 +24,7 @@
<dependency> <dependency>
<groupId>org.json</groupId> <groupId>org.json</groupId>
<artifactId>json</artifactId> <artifactId>json</artifactId>
<version>20200518</version> <version>${json.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -38,4 +38,8 @@
</resources> </resources>
</build> </build>
<properties>
<json.version>20200518</json.version>
</properties>
</project> </project>

View File

@ -29,7 +29,7 @@
<dependency> <dependency>
<groupId>org.assertj</groupId> <groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId> <artifactId>assertj-core</artifactId>
<version>3.15.0</version> <version>${assertj-core.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -44,4 +44,8 @@
</resources> </resources>
</build> </build>
<properties>
<assertj-core.version>3.15.0</assertj-core.version>
</properties>
</project> </project>

View File

@ -41,7 +41,7 @@
<dependency> <dependency>
<groupId>javax.xml.bind</groupId> <groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId> <artifactId>jaxb-api</artifactId>
<version>2.3.1</version> <version>${jaxb-api.version}</version>
</dependency> </dependency>
@ -54,6 +54,7 @@
<!-- testing --> <!-- testing -->
<assertj-core.version>3.10.0</assertj-core.version> <assertj-core.version>3.10.0</assertj-core.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
</properties> </properties>
</project> </project>

View File

@ -38,7 +38,7 @@
<dependency> <dependency>
<groupId>org.openpnp</groupId> <groupId>org.openpnp</groupId>
<artifactId>opencv</artifactId> <artifactId>opencv</artifactId>
<version>3.4.2-0</version> <version>${opencv.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.twelvemonkeys.imageio</groupId> <groupId>com.twelvemonkeys.imageio</groupId>
@ -68,6 +68,7 @@
<imageio.version>3.3.2</imageio.version> <imageio.version>3.3.2</imageio.version>
<tess4j.version>4.5.1</tess4j.version> <tess4j.version>4.5.1</tess4j.version>
<tesseract-platform.version>4.1.0-1.5.2</tesseract-platform.version> <tesseract-platform.version>4.1.0-1.5.2</tesseract-platform.version>
<opencv.version>3.4.2-0</opencv.version>
</properties> </properties>
</project> </project>

View File

@ -23,7 +23,7 @@
<dependency> <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId> <groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId> <artifactId>jackson-datatype-jsr310</artifactId>
<version>2.9.8</version> <version>${jackson-datatype.version}</version>
</dependency> </dependency>
<!-- CSV --> <!-- CSV -->
<dependency> <dependency>
@ -51,6 +51,7 @@
<properties> <properties>
<assertj.version>3.11.0</assertj.version> <assertj.version>3.11.0</assertj.version>
<jackson-datatype.version>2.9.8</jackson-datatype.version>
</properties> </properties>
</project> </project>

View File

@ -47,12 +47,13 @@
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-lang3</artifactId>
<version>3.9</version> <version>${commons-lang3.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties> <properties>
<jsoniter.version>0.9.23</jsoniter.version> <jsoniter.version>0.9.23</jsoniter.version>
<assertj-core.version>3.11.1</assertj-core.version> <assertj-core.version>3.11.1</assertj-core.version>
<moshi.version>1.9.2</moshi.version> <moshi.version>1.9.2</moshi.version>
<commons-lang3.version>3.9</commons-lang3.version>
</properties> </properties>
</project> </project>

View File

@ -151,7 +151,6 @@
</dependencies> </dependencies>
<properties> <properties>
<junit.version>4.12</junit.version>
<mockito-kotlin.version>1.5.0</mockito-kotlin.version> <mockito-kotlin.version>1.5.0</mockito-kotlin.version>
<kodein.version>4.1.0</kodein.version> <kodein.version>4.1.0</kodein.version>
<klaxon.version>3.0.4</klaxon.version> <klaxon.version>3.0.4</klaxon.version>

View File

@ -148,7 +148,6 @@
<dependency.plugin.version>3.1.1</dependency.plugin.version> <dependency.plugin.version>3.1.1</dependency.plugin.version>
<surefire.plugin.version>2.22.1</surefire.plugin.version> <surefire.plugin.version>2.22.1</surefire.plugin.version>
<exec.plugin.version>1.3.2</exec.plugin.version> <exec.plugin.version>1.3.2</exec.plugin.version>
<junit.version>4.12</junit.version>
</properties> </properties>
</project> </project>

View File

@ -73,19 +73,19 @@
<dependency> <dependency>
<groupId>com.uber.nullaway</groupId> <groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId> <artifactId>nullaway</artifactId>
<version>0.3.0</version> <version>${nullaway.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId> <artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.8</version> <version>${plexus-compiler.version}</version>
</dependency> </dependency>
<!-- override plexus-compiler-javac-errorprone's dependency on <!-- override plexus-compiler-javac-errorprone's dependency on
Error Prone with the latest version --> Error Prone with the latest version -->
<dependency> <dependency>
<groupId>com.google.errorprone</groupId> <groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId> <artifactId>error_prone_core</artifactId>
<version>2.1.3</version> <version>${errorprone.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -230,5 +230,8 @@
<httpclient.version>4.5.12</httpclient.version> <httpclient.version>4.5.12</httpclient.version>
<velocity-engine-core.version>2.2</velocity-engine-core.version> <velocity-engine-core.version>2.2</velocity-engine-core.version>
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
<nullaway.version>0.3.0</nullaway.version>
<plexus-compiler.version>2.8</plexus-compiler.version>
<errorprone.version>2.1.3</errorprone.version>
</properties> </properties>
</project> </project>

View File

@ -91,7 +91,7 @@
<dependency> <dependency>
<groupId>org.glassfish.web</groupId> <groupId>org.glassfish.web</groupId>
<artifactId>javax.el</artifactId> <artifactId>javax.el</artifactId>
<version>2.2.4</version> <version>${glassfish.web.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -111,6 +111,7 @@
<awaitility.version>3.0.0</awaitility.version> <awaitility.version>3.0.0</awaitility.version>
<streamex.version>0.6.5</streamex.version> <streamex.version>0.6.5</streamex.version>
<javax.el.version>3.0.0</javax.el.version> <javax.el.version>3.0.0</javax.el.version>
<glassfish.web.version>2.2.4</glassfish.web.version>
</properties> </properties>
</project> </project>

View File

@ -16,17 +16,17 @@
<dependency> <dependency>
<groupId>co.paralleluniverse</groupId> <groupId>co.paralleluniverse</groupId>
<artifactId>quasar-core</artifactId> <artifactId>quasar-core</artifactId>
<version>0.8.0</version> <version>${quasar.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>co.paralleluniverse</groupId> <groupId>co.paralleluniverse</groupId>
<artifactId>quasar-actors</artifactId> <artifactId>quasar-actors</artifactId>
<version>0.8.0</version> <version>${quasar.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>co.paralleluniverse</groupId> <groupId>co.paralleluniverse</groupId>
<artifactId>quasar-reactive-streams</artifactId> <artifactId>quasar-reactive-streams</artifactId>
<version>0.8.0</version> <version>${quasar.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -78,4 +78,8 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<properties>
<quasar.version>0.8.0</quasar.version>
</properties>
</project> </project>

View File

@ -144,7 +144,6 @@
<jdk.version>1.8</jdk.version> <jdk.version>1.8</jdk.version>
<annotation.api.version>1.3.2</annotation.api.version> <annotation.api.version>1.3.2</annotation.api.version>
<lombok.version>1.2.3</lombok.version> <lombok.version>1.2.3</lombok.version>
<junit.version>4.12</junit.version>
<reactor.version>3.1.6.RELEASE</reactor.version> <reactor.version>3.1.6.RELEASE</reactor.version>
<compiler.plugin.version>3.7.0</compiler.plugin.version> <compiler.plugin.version>3.7.0</compiler.plugin.version>
<exec.plugin.version>1.6.0</exec.plugin.version> <exec.plugin.version>1.6.0</exec.plugin.version>

View File

@ -82,6 +82,7 @@
<!-- plugins --> <!-- plugins -->
<thin.version>1.0.22.RELEASE</thin.version> <thin.version>1.0.22.RELEASE</thin.version>
<spring-boot.version>2.2.6.RELEASE</spring-boot.version> <spring-boot.version>2.2.6.RELEASE</spring-boot.version>
<aspectjweaver.version>1.9.1</aspectjweaver.version>
</properties> </properties>
</project> </project>

View File

@ -46,7 +46,6 @@
<commons.io.version>2.6</commons.io.version> <commons.io.version>2.6</commons.io.version>
<jmh.version>1.19</jmh.version> <jmh.version>1.19</jmh.version>
<modelmapper.version>2.3.7</modelmapper.version> <modelmapper.version>2.3.7</modelmapper.version>
<junit.version>4.12</junit.version>
<hamcrest.version>2.2</hamcrest.version> <hamcrest.version>2.2</hamcrest.version>
</properties> </properties>

View File

@ -33,6 +33,7 @@
<properties> <properties>
<spring.version>5.2.5.RELEASE</spring.version> <spring.version>5.2.5.RELEASE</spring.version>
<spring-security.version>5.2.3.RELEASE</spring-security.version> <spring-security.version>5.2.3.RELEASE</spring-security.version>
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
</properties> </properties>
</project> </project>

View File

@ -13,17 +13,19 @@
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<junit.version>4.13</junit.version>
<lombok.version>1.18.12</lombok.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.12</version> <version>${lombok.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.13</version> <version>${junit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -63,12 +63,12 @@
<dependency> <dependency>
<groupId>org.thymeleaf</groupId> <groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId> <artifactId>thymeleaf</artifactId>
<version>3.0.11.RELEASE</version> <version>${thymeleaf.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.xhtmlrenderer</groupId> <groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf</artifactId> <artifactId>flying-saucer-pdf</artifactId>
<version>9.1.20</version> <version>${flying-saucer-pdf.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -90,6 +90,8 @@
<poi-scratchpad.version>3.15</poi-scratchpad.version> <poi-scratchpad.version>3.15</poi-scratchpad.version>
<batik-transcoder.version>1.8</batik-transcoder.version> <batik-transcoder.version>1.8</batik-transcoder.version>
<poi-ooxml.version>3.15</poi-ooxml.version> <poi-ooxml.version>3.15</poi-ooxml.version>
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
<flying-saucer-pdf.version>9.1.20</flying-saucer-pdf.version>
</properties> </properties>
</project> </project>

View File

@ -33,7 +33,7 @@
<dependency> <dependency>
<groupId>redis.clients</groupId> <groupId>redis.clients</groupId>
<artifactId>jedis</artifactId> <artifactId>jedis</artifactId>
<version>3.3.0</version> <version>${redisson.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.kstyrc</groupId> <groupId>com.github.kstyrc</groupId>

View File

@ -42,7 +42,7 @@
<dependency> <dependency>
<groupId>org.mapstruct</groupId> <groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId> <artifactId>mapstruct-jdk8</artifactId>
<version>1.3.1.Final</version> <version>${mapstruct.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
@ -68,4 +68,14 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<properties>
<spring-boot-version>2.1.9.RELEASE</spring-boot-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<start-class>com.baeldung.springdatageode.app.ClientCacheApp</start-class>
<spring-geode-starter-version>1.1.1.RELEASE</spring-geode-starter-version>
<spring.boot.starter.version>2.1.9.RELEASE</spring.boot.starter.version>
<mapstruct.version>1.3.1.Final</mapstruct.version>
</properties>
</project> </project>

View File

@ -22,7 +22,7 @@
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.data</groupId>
<artifactId>spring-data-releasetrain</artifactId> <artifactId>spring-data-releasetrain</artifactId>
<version>Lovelace-SR9</version> <version>${spring-releasetrain}</version>
<type>pom</type> <type>pom</type>
</dependency> </dependency>
@ -101,6 +101,7 @@
<mysema.maven.version>1.1.3</mysema.maven.version> <mysema.maven.version>1.1.3</mysema.maven.version>
<mongodb-reactivestreams.version>1.9.2</mongodb-reactivestreams.version> <mongodb-reactivestreams.version>1.9.2</mongodb-reactivestreams.version>
<projectreactor.version>3.2.0.RELEASE</projectreactor.version> <projectreactor.version>3.2.0.RELEASE</projectreactor.version>
<spring-releasetrain>Lovelace-SR9</spring-releasetrain>
</properties> </properties>
</project> </project>

View File

@ -87,7 +87,7 @@
<dependency> <dependency>
<groupId>com.github.javafaker</groupId> <groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId> <artifactId>javafaker</artifactId>
<version>0.18</version> <version>${javafaker.version}0.18</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
@ -177,6 +177,7 @@
<kotlin.version>1.2.71</kotlin.version> <!-- Same as spring-boot-dependencies:2.1.7.RELEASE --> <kotlin.version>1.2.71</kotlin.version> <!-- Same as spring-boot-dependencies:2.1.7.RELEASE -->
<httpclient.version>4.5.8</httpclient.version> <httpclient.version>4.5.8</httpclient.version>
<start-class>com.baeldung.Spring5Application</start-class> <start-class>com.baeldung.Spring5Application</start-class>
<javafaker.version>0.18</javafaker.version>
</properties> </properties>
</project> </project>

View File

@ -60,12 +60,12 @@
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId> <artifactId>okhttp</artifactId>
<version>4.0.1</version> <version>${okhttp.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId> <artifactId>mockwebserver</artifactId>
<version>4.0.1</version> <version>${okhttp.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -171,6 +171,7 @@
<geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version> <geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version>
<commons-collections4.version>4.1</commons-collections4.version> <commons-collections4.version>4.1</commons-collections4.version>
<jetty-reactive-httpclient.version>1.0.3</jetty-reactive-httpclient.version> <jetty-reactive-httpclient.version>1.0.3</jetty-reactive-httpclient.version>
<okhttp.version>4.0.1</okhttp.version>
</properties> </properties>
</project> </project>

View File

@ -27,7 +27,7 @@
<dependency> <dependency>
<groupId>com.h2database</groupId> <groupId>com.h2database</groupId>
<artifactId>h2</artifactId> <artifactId>h2</artifactId>
<version>1.4.197</version> <version>${h2.version}</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -17,7 +17,7 @@
<dependency> <dependency>
<groupId>org.aspectj</groupId> <groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId> <artifactId>aspectjweaver</artifactId>
<version>1.9.1</version> <version>${aspectjweaver.version}</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -18,7 +18,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId> <artifactId>spring-boot-starter</artifactId>
<version>2.2.3.RELEASE</version> <version>${spring-boot.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -92,5 +92,6 @@
<properties> <properties>
<!-- The main class to start by executing java -jar --> <!-- The main class to start by executing java -jar -->
<start-class>com.baeldung.intro.App</start-class> <start-class>com.baeldung.intro.App</start-class>
<spring-boot.version>2.2.3.RELEASE</spring-boot.version>
</properties> </properties>
</project> </project>

View File

@ -122,12 +122,12 @@
<dependency> <dependency>
<groupId>org.aspectj</groupId> <groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId> <artifactId>aspectjrt</artifactId>
<version>1.9.1</version> <version>${aspectjweaver.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.aspectj</groupId> <groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId> <artifactId>aspectjweaver</artifactId>
<version>1.9.1</version> <version>${aspectjweaver.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -42,7 +42,7 @@
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
<version>2.6</version> <version>${commons-io.version}</version>
</dependency> </dependency>
<dependency> <dependency>
@ -170,6 +170,7 @@
<springcloud.version>2.0.2.RELEASE</springcloud.version> <springcloud.version>2.0.2.RELEASE</springcloud.version>
<httpclient.version>4.5.8</httpclient.version> <httpclient.version>4.5.8</httpclient.version>
<spring-boot-admin-starter-client.version>2.1.6</spring-boot-admin-starter-client.version> <spring-boot-admin-starter-client.version>2.1.6</spring-boot-admin-starter-client.version>
<commons-io.version>2.6</commons-io.version>
</properties> </properties>
</project> </project>

View File

@ -22,17 +22,17 @@
<dependency> <dependency>
<groupId>org.springframework.security.oauth</groupId> <groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId> <artifactId>spring-security-oauth2</artifactId>
<version>2.4.0.RELEASE</version> <version>${spring-security-oauth2.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
<version>2.6</version> <version>${commons-io.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.security.oauth.boot</groupId> <groupId>org.springframework.security.oauth.boot</groupId>
<artifactId>spring-security-oauth2-autoconfigure</artifactId> <artifactId>spring-security-oauth2-autoconfigure</artifactId>
<version>2.2.2.RELEASE</version> <version>${spring-security-oauth2-autoconfigure.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -84,6 +84,10 @@
<properties> <properties>
<start-class>com.baeldung.springbootsecurity.basic_auth.SpringBootSecurityApplication</start-class> <start-class>com.baeldung.springbootsecurity.basic_auth.SpringBootSecurityApplication</start-class>
<commons-io.version>2.6</commons-io.version>
<spring-security-oauth2.version>2.4.0.RELEASE</spring-security-oauth2.version>
<commons-io.version>2.6</commons-io.version>
<spring-security-oauth2-autoconfigure.version>2.2.2.RELEASE</spring-security-oauth2-autoconfigure.version>
</properties> </properties>
</project> </project>

View File

@ -44,7 +44,7 @@
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-circuitbreaker-resilience4j</artifactId> <artifactId>spring-cloud-starter-circuitbreaker-resilience4j</artifactId>
<version>1.0.2.RELEASE</version> <version>${circuitbreaker-resilience4j.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -52,4 +52,8 @@
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<circuitbreaker-resilience4j.version>1.0.2.RELEASE</circuitbreaker-resilience4j.version>
</properties>
</project> </project>

View File

@ -29,7 +29,7 @@
<dependency> <dependency>
<groupId>org.junit</groupId> <groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId> <artifactId>junit-bom</artifactId>
<version>5.5.2</version> <version>${junit-bom.version}</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -108,6 +108,7 @@
<spring-boot.version>2.2.6.RELEASE</spring-boot.version> <spring-boot.version>2.2.6.RELEASE</spring-boot.version>
<hibernate-validator.version>6.0.2.Final</hibernate-validator.version> <hibernate-validator.version>6.0.2.Final</hibernate-validator.version>
<redis.version>0.7.2</redis.version> <redis.version>0.7.2</redis.version>
<junit-bom.version>5.5.2</junit-bom.version>
</properties> </properties>
</project> </project>

View File

@ -32,7 +32,7 @@
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
<version>28.2-jre</version> <version>${guava.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
@ -55,13 +55,13 @@
<dependency> <dependency>
<groupId>org.awaitility</groupId> <groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId> <artifactId>awaitility</artifactId>
<version>4.0.2</version> <version>${awaitility.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.assertj</groupId> <groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId> <artifactId>assertj-core</artifactId>
<version>2.9.1</version> <version>${assertj-core.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -80,6 +80,9 @@
<maven.surefire.version>2.22.1</maven.surefire.version> <maven.surefire.version>2.22.1</maven.surefire.version>
<annotation-api.version>1.3.2</annotation-api.version> <annotation-api.version>1.3.2</annotation-api.version>
<spring.boot.version>2.2.2.RELEASE</spring.boot.version> <spring.boot.version>2.2.2.RELEASE</spring.boot.version>
<guava.version>28.2-jre</guava.version>
<awaitility.version>4.0.2</awaitility.version>
<assertj-core.version>2.9.1</assertj-core.version>
</properties> </properties>
</project> </project>

View File

@ -63,7 +63,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version> <version>${spring-boot-starter-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -64,7 +64,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version> <version>${spring-boot-starter-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -57,7 +57,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version> <version>${spring-boot-starter-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
@ -114,6 +114,7 @@
<!-- Maven plugins --> <!-- Maven plugins -->
<maven-resources-plugin.version>2.7</maven-resources-plugin.version> <maven-resources-plugin.version>2.7</maven-resources-plugin.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
</properties> </properties>
</project> </project>

View File

@ -152,7 +152,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<version>1.5.10.RELEASE</version> <version>${spring-boot-starter-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -185,6 +185,7 @@
<spring-security.version>4.2.3.RELEASE</spring-security.version> <spring-security.version>4.2.3.RELEASE</spring-security.version>
<spring-data-jpa.version>1.11.3.RELEASE</spring-data-jpa.version> <spring-data-jpa.version>1.11.3.RELEASE</spring-data-jpa.version>
<logback-classic.version>1.2.3</logback-classic.version> <logback-classic.version>1.2.3</logback-classic.version>
<spring-boot-starter-test.version>1.5.10.RELEASE</spring-boot-starter-test.version>
</properties> </properties>
</project> </project>