extract pom version into properties

This commit is contained in:
amit.pandey 2020-01-28 01:35:31 +05:30
parent b6ac94bf51
commit f3740fc344
23 changed files with 113 additions and 49 deletions

View File

@ -77,7 +77,7 @@
<dependency> <dependency>
<groupId>org.codehaus.groovy</groupId> <groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId> <artifactId>groovy-eclipse-compiler</artifactId>
<version>3.3.0-01</version> <version>${groovy.compiler.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.codehaus.groovy</groupId> <groupId>org.codehaus.groovy</groupId>

View File

@ -65,7 +65,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version> <version>${shade.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
@ -109,6 +109,7 @@
<uberjar.name>benchmarks</uberjar.name> <uberjar.name>benchmarks</uberjar.name>
<jmh.version>1.22</jmh.version> <jmh.version>1.22</jmh.version>
<eclipse.collections.version>10.0.0</eclipse.collections.version> <eclipse.collections.version>10.0.0</eclipse.collections.version>
<shade.plugin.version>10.0.0</shade.plugin.version>
</properties> </properties>
</project> </project>

View File

@ -23,7 +23,7 @@
<dependency> <dependency>
<groupId>com.leansoft</groupId> <groupId>com.leansoft</groupId>
<artifactId>bigqueue</artifactId> <artifactId>bigqueue</artifactId>
<version>0.7.0</version> <version>${bigqueue.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -39,4 +39,8 @@
</pluginManagement> </pluginManagement>
</build> </build>
<properties>
<bigqueue.version>0.7.0</bigqueue.version>
</properties>
</project> </project>

View File

@ -189,7 +189,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version> <version>${war.plugin.version}</version>
<configuration> <configuration>
<warSourceDirectory>src/main/webapp</warSourceDirectory> <warSourceDirectory>src/main/webapp</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml> <failOnMissingWebXml>false</failOnMissingWebXml>
@ -218,5 +218,6 @@
<compiler.plugin.version>3.1</compiler.plugin.version> <compiler.plugin.version>3.1</compiler.plugin.version>
<source.version>1.8</source.version> <source.version>1.8</source.version>
<target.version>1.8</target.version> <target.version>1.8</target.version>
<war.plugin.version>3.0.0</war.plugin.version>
</properties> </properties>
</project> </project>

View File

@ -17,7 +17,7 @@
<dependency> <dependency>
<groupId>it.unimi.dsi</groupId> <groupId>it.unimi.dsi</groupId>
<artifactId>dsiutils</artifactId> <artifactId>dsiutils</artifactId>
<version>2.6.0</version> <version>${dsiutils.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -31,4 +31,8 @@
</resources> </resources>
</build> </build>
<properties>
<dsiutils.version>2.6.0</dsiutils.version>
<properties>
</project> </project>

View File

@ -232,7 +232,7 @@
<dependency> <dependency>
<groupId>org.zalando</groupId> <groupId>org.zalando</groupId>
<artifactId>problem-spring-web</artifactId> <artifactId>problem-spring-web</artifactId>
<version>0.24.0-RC.0</version> <version>${zalando.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.security.oauth</groupId> <groupId>org.springframework.security.oauth</groupId>
@ -910,5 +910,6 @@
<sonar.tests>${project.basedir}/src/test/</sonar.tests> <sonar.tests>${project.basedir}/src/test/</sonar.tests>
<!-- jhipster-needle-maven-property --> <!-- jhipster-needle-maven-property -->
<zalando.version>0.24.0-RC.0</zalando.version>
</properties> </properties>
</project> </project>

View File

@ -21,7 +21,7 @@
<dependency> <dependency>
<groupId>io.reactivex.rxjava2</groupId> <groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxkotlin</artifactId> <artifactId>rxkotlin</artifactId>
<version>2.3.0</version> <version>${rxkotlin.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -86,6 +86,7 @@
<guava.version>27.1-jre</guava.version> <guava.version>27.1-jre</guava.version>
<mockk.version>1.9.3</mockk.version> <mockk.version>1.9.3</mockk.version>
<kotlinx-collections-immutable.version>0.1</kotlinx-collections-immutable.version> <kotlinx-collections-immutable.version>0.1</kotlinx-collections-immutable.version>
<rxkotlin.version>2.3.0</rxkotlin.version>
</properties> </properties>
</project> </project>

View File

@ -48,7 +48,7 @@
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.12</version> <version>${junit.version}</version>
</dependency> </dependency>
<!-- logging --> <!-- logging -->
<dependency> <dependency>
@ -148,6 +148,7 @@
<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,7 +73,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId> <artifactId>maven-help-plugin</artifactId>
<version>3.2.0</version> <version>${help.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>show-profiles</id> <id>show-profiles</id>
@ -87,4 +87,8 @@
</plugins> </plugins>
</build> </build>
<properties>
<help.plugin.version>3.2.0</help.plugin.version>
</properties>
</project> </project>

View File

@ -46,7 +46,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId> <artifactId>versions-maven-plugin</artifactId>
<version>2.7</version> <version>${versions.plugin.version}</version>
<configuration> <configuration>
<excludes> <excludes>
<exclude>org.apache.commons:commons-collections4</exclude> <exclude>org.apache.commons:commons-collections4</exclude>
@ -76,6 +76,7 @@
<commons-collections4.version>4.0</commons-collections4.version> <commons-collections4.version>4.0</commons-collections4.version>
<commons-lang3.version>3.0</commons-lang3.version> <commons-lang3.version>3.0</commons-lang3.version>
<commons-beanutils.version>1.9.1</commons-beanutils.version> <commons-beanutils.version>1.9.1</commons-beanutils.version>
<versions.plugin.version>2.7</versions.plugin.version>
</properties> </properties>
</project> </project>

View File

@ -16,6 +16,12 @@
<bootstrap.version>3.3.4</bootstrap.version> <bootstrap.version>3.3.4</bootstrap.version>
<jquery.version>2.1.3</jquery.version> <jquery.version>2.1.3</jquery.version>
<h2.version>1.4.186</h2.version> <h2.version>1.4.186</h2.version>
<compiler.plugin.version>3.2</compiler.plugin.version>
<source.version>1.8</source.version>
<target.version>1.8</target.version>
<enforcer.plugin.version>1.3.1</enforcer.plugin.version>
<deploy.plugin.version>2.8.2</deploy.plugin.version>
<shade.plugin.version>2.2</shade.plugin.version>
</properties> </properties>
<build> <build>
@ -23,16 +29,16 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<source>1.8</source> <source>${source.version}</source>
<target>1.8</target> <target>${target.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version> <version>${enforcer.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>enforce-banned-dependencies</id> <id>enforce-banned-dependencies</id>
@ -95,7 +101,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version> <version>${deploy.plugin.version}</version>
<configuration> <configuration>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>
@ -103,7 +109,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.2</version> <version>${shade.plugin.version}</version>
<configuration> <configuration>
<createDependencyReducedPom>true</createDependencyReducedPom> <createDependencyReducedPom>true</createDependencyReducedPom>
<filters> <filters>

View File

@ -45,7 +45,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId> <artifactId>spring-boot-dependencies</artifactId>
<version>2.2.0.M4</version> <version>${boot.dependencies.version}</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -215,6 +215,7 @@
<ktor.io.version>0.9.5</ktor.io.version> <ktor.io.version>0.9.5</ktor.io.version>
<assertj.version>3.12.0</assertj.version> <assertj.version>3.12.0</assertj.version>
<junit.platform.version>1.3.2</junit.platform.version> <junit.platform.version>1.3.2</junit.platform.version>
<boot.dependencies.version>2.2.0.M4</boot.dependencies.version>
</properties> </properties>
</project> </project>

View File

@ -38,7 +38,7 @@
<dependency> <dependency>
<groupId>org.mapstruct</groupId> <groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId> <artifactId>mapstruct-processor</artifactId>
<version>1.2.0.Final</version> <version>${mapstruct-jdk8.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
@ -93,6 +93,15 @@
Name of the benchmark Uber-JAR to generate. Name of the benchmark Uber-JAR to generate.
--> -->
<uberjar.name>benchmarks</uberjar.name> <uberjar.name>benchmarks</uberjar.name>
<compiler.plugin.version>3.1</compiler.plugin.version>
<shade.plugin.version>2.2</shade.plugin.version>
<install.version>2.5.1</install.version>
<jar.plugin.version>2.4</jar.plugin.version>
<javadoc.plugin.version>2.9.1</javadoc.plugin.version>
<resources.plugin.version>2.6</resources.plugin.version>
<site.plugin.version>3.3</site.plugin.version>
<source.plugin.version>2.2.1</source.plugin.version>
<surefire.plugin.version>2.17</surefire.plugin.version>
</properties> </properties>
<build> <build>
@ -100,7 +109,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<compilerVersion>${javac.target}</compilerVersion> <compilerVersion>${javac.target}</compilerVersion>
<source>${javac.target}</source> <source>${javac.target}</source>
@ -117,7 +126,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.2</version> <version>${shade.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
@ -162,31 +171,31 @@
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-install-plugin</artifactId> <artifactId>maven-install-plugin</artifactId>
<version>2.5.1</version> <version>${install.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>2.4</version> <version>${jar.plugin.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version> <version>${javadoc.plugin.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>2.6</version> <version>${resources.plugin.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>3.3</version> <version>${site.plugin.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version> <version>${source.plugin.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version> <version>${surefire.plugin.version}</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>

View File

@ -19,7 +19,7 @@
<dependency> <dependency>
<groupId>org.hibernate</groupId> <groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId> <artifactId>hibernate-core</artifactId>
<version>5.4.7.Final</version> <version>${hibernate.core.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -51,19 +51,22 @@
<dependency> <dependency>
<groupId>com.h2database</groupId> <groupId>com.h2database</groupId>
<artifactId>h2</artifactId> <artifactId>h2</artifactId>
<version>1.4.200</version> <version>${h2.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-lang3</artifactId>
<version>3.8.1</version> <version>${commons.lang3.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties> <properties>
<maven.deploy.skip>true</maven.deploy.skip> <maven.deploy.skip>true</maven.deploy.skip>
<spring-boot.version>2.1.7.RELEASE</spring-boot.version> <spring-boot.version>2.1.7.RELEASE</spring-boot.version>
<hibernate.core.version>5.4.7.Final</hibernate.core.version>
<h2.version>1.4.200</h2.version>
<commons.lang3.version>3.8.1</commons.lang3.version>
</properties> </properties>
</project> </project>

View File

@ -63,7 +63,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<compilerArgument>-proc:none</compilerArgument> <compilerArgument>-proc:none</compilerArgument>
</configuration> </configuration>
@ -71,7 +71,7 @@
<plugin> <plugin>
<groupId>org.bsc.maven</groupId> <groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId> <artifactId>maven-processor-plugin</artifactId>
<version>3.3.3</version> <version>${processor.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>process</id> <id>process</id>
@ -91,7 +91,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version> <version>${helper.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>add-source</id> <id>add-source</id>
@ -116,6 +116,9 @@
<postgres.version>42.2.5</postgres.version> <postgres.version>42.2.5</postgres.version>
<javax.persistence-api.version>2.2</javax.persistence-api.version> <javax.persistence-api.version>2.2</javax.persistence-api.version>
<assertj.version>3.11.1</assertj.version> <assertj.version>3.11.1</assertj.version>
<compiler.plugin.version>3.5.1</compiler.plugin.version>
<processor.plugin.version>3.3.3</processor.plugin.version>
<helper.plugin.version>3.0.0</helper.plugin.version>
</properties> </properties>
</project> </project>

View File

@ -55,7 +55,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version> <version>${exec.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>document</id> <id>document</id>
@ -89,4 +89,8 @@
</plugins> </plugins>
</build> </build>
<properties>
<exec.plugin.version>1.6.0</exec.plugin.version>
</properties>
</project> </project>

View File

@ -30,7 +30,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<release>${maven.release.version}</release> <release>${maven.release.version}</release>
<encoding>${project.build.sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
@ -39,7 +39,7 @@
<dependency> <dependency>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId> <artifactId>asm</artifactId>
<version>6.1</version> <!-- Use newer version of ASM --> <version>${asm.version}</version> <!-- Use newer version of ASM -->
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
@ -50,6 +50,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.release.version>11</maven.release.version> <maven.release.version>11</maven.release.version>
<sirix-core.version>0.9.3</sirix-core.version> <sirix-core.version>0.9.3</sirix-core.version>
<compiler.plugin.version>3.8.0</compiler.plugin.version>
<asm.version>6.1</asm.version>
</properties> </properties>
</project> </project>

View File

@ -21,7 +21,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId> <artifactId>spring-boot-dependencies</artifactId>
<version>2.1.8.RELEASE</version> <version>${spring.boot.dependencies}</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -97,6 +97,7 @@
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<jdbi.version>3.9.1</jdbi.version> <jdbi.version>3.9.1</jdbi.version>
<spring.boot.dependencies>2.1.8.RELEASE</spring.boot.dependencies>
</properties> </properties>
</project> </project>

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.1.9.RELEASE</version> <version>${spring.boot.starter.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -89,6 +89,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<start-class>com.baeldung.springdatageode.app.ClientCacheApp</start-class> <start-class>com.baeldung.springdatageode.app.ClientCacheApp</start-class>
<spring-geode-starter-version>1.1.1.RELEASE</spring-geode-starter-version> <spring-geode-starter-version>1.1.1.RELEASE</spring-geode-starter-version>
<spring.boot.starter.version>2.1.9.RELEASE</spring.boot.starter.version>
</properties> </properties>
</project> </project>

View File

@ -40,7 +40,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
@ -54,4 +54,8 @@
</plugins> </plugins>
</build> </build>
<properties>
<compiler.plugin.version>3.8.1</compiler.plugin.version>
</properties>
</project> </project>

View File

@ -26,7 +26,7 @@
<dependency> <dependency>
<groupId>org.liquibase</groupId> <groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId> <artifactId>liquibase-core</artifactId>
<version>3.8.1</version> <version>${liquibase.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -51,7 +51,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
@ -65,4 +65,8 @@
</plugins> </plugins>
</build> </build>
<properties>
<compiler.plugin.version>3.8.1</compiler.plugin.version>
<liquibase.version>3.8.1</liquibase.version>
</properties>
</project> </project>

View File

@ -39,16 +39,16 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<source>1.8</source> <source>${source.version}</source>
<target>1.8</target> <target>${target.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version> <version>${dependency.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>copy-dependencies</id> <id>copy-dependencies</id>
@ -84,6 +84,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spf4j.version>8.6.10</spf4j.version> <spf4j.version>8.6.10</spf4j.version>
<org.slf4j.version>1.7.21</org.slf4j.version> <org.slf4j.version>1.7.21</org.slf4j.version>
<compiler.plugin.version>3.8.0</compiler.plugin.version>
<source.version>1.8</source.version>
<target.version>1.8</target.version>
<dependency.plugin.version>3.1.1</dependency.plugin.version>
</properties> </properties>
</project> </project>

View File

@ -39,16 +39,16 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version> <version>${compiler.plugin.version}</version>
<configuration> <configuration>
<source>1.8</source> <source>${source.version}</source>
<target>1.8</target> <target>${target.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version> <version>${dependency.plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>copy-dependencies</id> <id>copy-dependencies</id>
@ -84,6 +84,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spf4j.version>8.6.10</spf4j.version> <spf4j.version>8.6.10</spf4j.version>
<org.slf4j.version>1.7.21</org.slf4j.version> <org.slf4j.version>1.7.21</org.slf4j.version>
<compiler.plugin.version>3.8.0</compiler.plugin.version>
<source.version>1.8</source.version>
<target.version>1.8</target.version>
<dependency.plugin.version>3.1.1</dependency.plugin.version>
</properties> </properties>
</project> </project>