Merge pull request #7797 from amit2103/BAEL-17326

[BAEL-17326] - Extract versions into properties
This commit is contained in:
Loredana Crusoveanu 2019-09-17 00:31:51 +03:00 committed by GitHub
commit 7fa158f131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 77 additions and 43 deletions

View File

@ -16,14 +16,17 @@
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>bazelgreeting</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>${bazelgreeting.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
<version>${commons-lang3.version}</version>
</dependency>
</dependencies>
<properties>
<bazelgreeting.version>1.0.0-SNAPSHOT</bazelgreeting.version>
</properties>
</project>

View File

@ -100,7 +100,7 @@
<dependency>
<groupId>io.arrow-kt</groupId>
<artifactId>arrow-core</artifactId>
<version>0.7.3</version>
<version>${arrow-core.version}</version>
</dependency>
<dependency>
@ -117,7 +117,7 @@
<dependency>
<groupId>nl.komponents.kovenant</groupId>
<artifactId>kovenant</artifactId>
<version>3.3.0</version>
<version>${kovenant.version}</version>
<type>pom</type>
</dependency>
@ -132,13 +132,13 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>27.1-jre</version>
<version>${guava.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-collections-immutable -->
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-collections-immutable</artifactId>
<version>0.1</version>
<version>${kotlinx-collections-immutable.version}</version>
</dependency>
<!-- MockK dependencies-->
@ -151,26 +151,26 @@
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.8.13</version>
<version>${byte-buddy.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.8.13</version>
<version>${byte-buddy.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>2.6</version>
<version>${objenesis.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxkotlin</artifactId>
<version>2.3.0</version>
<version>${rxkotlin.version}</version>
</dependency>
</dependencies>
@ -186,6 +186,13 @@
<assertj.version>3.10.0</assertj.version>
<exposed.version>0.10.4</exposed.version>
<mockk.version>1.9.3</mockk.version>
<guava.version>27.1-jre</guava.version>
<kovenant.version>3.3.0</kovenant.version>
<byte-buddy.version>1.8.13</byte-buddy.version>
<objenesis.version>2.6</objenesis.version>
<rxkotlin.version>2.3.0</rxkotlin.version>
<kotlinx-collections-immutable.version>0.1</kotlinx-collections-immutable.version>
<arrow-core.version>0.7.3</arrow-core.version>
</properties>
</project>

View File

@ -579,7 +579,7 @@
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.7.1</version>
<version>${asciidoctor-maven-plugin.version}</version>
</dependency>
<!-- Reflections -->
<dependency>
@ -789,6 +789,7 @@
<mockftpserver.version>2.7.1</mockftpserver.version>
<commons-net.version>3.6</commons-net.version>
<reflections.version>0.9.11</reflections.version>
<asciidoctor-maven-plugin.version>1.5.7.1</asciidoctor-maven-plugin.version>
</properties>

View File

@ -18,23 +18,26 @@
<h2.version>1.4.199</h2.version>
<httpPort>9080</httpPort>
<httpsPort>9443</httpsPort>
<nimbus-jose-jwt.version>7.3</nimbus-jose-jwt.version>
<bcprov-jdk15on.version>1.62</bcprov-jdk15on.version>
<bcpkix-jdk15on.version>1.62</bcpkix-jdk15on.version>
</properties>
<dependencies>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>7.3</version>
<version>${nimbus-jose-jwt.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.62</version>
<version>${bcprov-jdk15on.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.62</version>
<version>${bcpkix-jdk15on.version}</version>
</dependency>
</dependencies>
<build>

View File

@ -18,13 +18,14 @@
<httpsPort>8643</httpsPort>
<jwt.issuer>http://localhost:9080</jwt.issuer>
<jwt.resourceId>http://localhost:9280</jwt.resourceId>
<microprofile-jwt-auth-api.version>1.1</microprofile-jwt-auth-api.version>
</properties>
<dependencies>
<dependency>
<groupId>org.eclipse.microprofile.jwt</groupId>
<artifactId>microprofile-jwt-auth-api</artifactId>
<version>1.1</version>
<version>${microprofile-jwt-auth-api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@ -15,19 +15,21 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
<openliberty.version>RELEASE</openliberty.version>
<openliberty.maven.version>2.6.4</openliberty.maven.version>
<javaee-web-api.version>8.0</javaee-web-api.version>
<microprofile-config-api.version>1.3</microprofile-config-api.version>
</properties>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>8.0</version>
<version>${javaee-web-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>1.3</version>
<version>${microprofile-config-api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@ -16,8 +16,12 @@
<dependency>
<groupId>org.optaplanner</groupId>
<artifactId>optaplanner-core</artifactId>
<version>7.9.0.Final</version>
<version>${optaplanner-core.version}</version>
</dependency>
</dependencies>
<properties>
<optaplanner-core.version>7.9.0.Final</optaplanner-core.version>
</properties>
</project>

View File

@ -57,7 +57,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
@ -65,7 +65,7 @@
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>3.3.3</version>
<version>${maven-processor-plugin.version}</version>
<executions>
<execution>
<id>process</id>
@ -86,7 +86,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add-source</id>
@ -110,6 +110,8 @@
<eclipselink.version>2.7.4-RC1</eclipselink.version>
<postgres.version>42.2.5</postgres.version>
<javax.persistence-api.version>2.2</javax.persistence-api.version>
<maven-processor-plugin.version>3.3.3</maven-processor-plugin.version>
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
</properties>
</project>

View File

@ -17,6 +17,7 @@
<properties>
<java.version>1.8</java.version>
<r2dbc-h2.version>0.8.0.M8</r2dbc-h2.version>
</properties>
<dependencies>
@ -41,7 +42,7 @@
<dependency>
<groupId>io.r2dbc</groupId>
<artifactId>r2dbc-h2</artifactId>
<version>0.8.0.M8</version>
<version>${r2dbc-h2.version}</version>
</dependency>
<dependency>

View File

@ -20,7 +20,7 @@
<dependency>
<groupId>io.sirix</groupId>
<artifactId>sirix-core</artifactId>
<version>0.9.3</version>
<version>${sirix-core.version}</version>
</dependency>
</dependencies>
@ -48,5 +48,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.release.version>11</maven.release.version>
<sirix-core.version>0.9.3</sirix-core.version>
</properties>
</project>

View File

@ -17,7 +17,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.1.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -116,7 +116,7 @@
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.3</version>
<version>${apt-maven-plugin.version}</version>
<executions>
<execution>
<phase>generate-sources</phase>
@ -148,6 +148,7 @@
<!-- util -->
<guava.version>21.0</guava.version>
<assertj.version>3.8.0</assertj.version>
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>
</properties>
</project>

View File

@ -44,7 +44,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>

View File

@ -18,25 +18,22 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>2.1.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
<version>2.1.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.1.6.RELEASE</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.197</version>
<version>${h2.version}</version>
</dependency>
<dependency>

View File

@ -37,7 +37,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.4</version>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
@ -79,5 +79,6 @@
<start-class>com.baeldung.springbootlogging.SpringBootLoggingApplication</start-class>
<spring-boot-starter-log4j.version>1.3.8.RELEASE</spring-boot-starter-log4j.version>
<gelfj.version>1.1.16</gelfj.version>
<lombok.version>1.18.4</lombok.version>
</properties>
</project>

View File

@ -48,19 +48,19 @@
<dependency>
<groupId>com.innoventsolutions.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime_4.8.0-20180626</artifactId>
<version>4.8.0</version>
<version>${eclipse.birt.runtime.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<version>${log4j.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.6</version>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
@ -80,6 +80,7 @@
<start-class>com.baeldung.birt.engine.ReportEngineApplication</start-class>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<eclipse.birt.runtime.version>4.8.0</eclipse.birt.runtime.version>
</properties>
</project>

View File

@ -18,6 +18,8 @@
<properties>
<java.version>1.8</java.version>
<spring-cloud.version>Greenwich.SR1</spring-cloud.version>
<kafka-avro-serializer.version>4.0.0</kafka-avro-serializer.version>
<avro.version>1.8.2</avro.version>
</properties>
<dependencies>
@ -41,19 +43,19 @@
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
<version>4.0.0</version>
<version>${kafka-avro-serializer.version}</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-compiler</artifactId>
<version>1.8.2</version>
<version>${avro.version}</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<version>1.8.2</version>
<version>${avro.version}</version>
</dependency>
</dependencies>

View File

@ -118,7 +118,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.2</version>
<version>${maven-war-plugin.version}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>

View File

@ -139,7 +139,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>au.com.dius</groupId>

View File

@ -28,17 +28,17 @@
<dependency>
<groupId>org.springframework.security.kerberos</groupId>
<artifactId>spring-security-kerberos-core</artifactId>
<version>1.0.1.RELEASE</version>
<version>${spring-security-kerberos.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security.kerberos</groupId>
<artifactId>spring-security-kerberos-web</artifactId>
<version>1.0.1.RELEASE</version>
<version>${spring-security-kerberos.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security.kerberos</groupId>
<artifactId>spring-security-kerberos-client</artifactId>
<version>1.0.1.RELEASE</version>
<version>${spring-security-kerberos.version}</version>
</dependency>
<dependency>
@ -61,4 +61,8 @@
</plugin>
</plugins>
</build>
<properties>
<spring-security-kerberos.version>1.0.1.RELEASE</spring-security-kerberos.version>
</properties>
</project>

View File

@ -17,8 +17,12 @@
<dependency>
<groupId>org.jeasy</groupId>
<artifactId>easy-random-core</artifactId>
<version>4.0.0</version>
<version>${easy-random-core.version}</version>
</dependency>
</dependencies>
<properties>
<easy-random-core.version>4.0.0</easy-random-core.version>
</properties>
</project>