aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-03-24 13:27:44 +0100
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-03-24 13:27:44 +0100
commit2b7128c666045716d946e079e59cba04d4420b33 (patch)
treebdd73d1faea582c1831b0453ea780e7444a2049c
parent231025ca1a8f1afcc6a2ce7874b7ab2c8f6cbdc7 (diff)
Add versions to pom file
Change-Id: I6c5a66a9fd18dcff29bf7af7eef50bc5ec044f06 Issue-ID: DCAEGEN2-2696 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
-rw-r--r--pom.xml59
1 files changed, 39 insertions, 20 deletions
diff --git a/pom.xml b/pom.xml
index bf55f39a..557e602e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,6 +50,25 @@
</modules>
<properties>
+ <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
+ <asm.version>6.1.1</asm.version>
+ <commons-lang3.version>3.7</commons-lang3.version>
+ <maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version>
+ <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
+ <os-maven-plugin.version>1.6.0</os-maven-plugin.version>
+ <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
+ <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
+ <guava.version>27.0.1-jre</guava.version>
+ <logback-classic.version>1.3.0-alpha4</logback-classic.version>
+ <slf4j-api.version>1.8.0-beta1</slf4j-api.version>
+ <reactor-bom.version>2020.0.2</reactor-bom.version>
+ <kafka-clients.version>2.3.1</kafka-clients.version>
+ <commons-cli.version>1.4</commons-cli.version>
+ <javax.json-api.version>1.1.2</javax.json-api.version>
+ <javax.json.version>1.1.2</javax.json.version>
+ <micrometer-registry-prometheus.version>1.1.5</micrometer-registry-prometheus.version>
+ <assertj-core.version>3.9.1</assertj-core.version>
+ <mockito-kotlin.version>2.1.0</mockito-kotlin.version>
<coroutines.version>1.3.0-M2</coroutines.version>
<kotlin.version>1.3.31</kotlin.version>
<arrow.version>0.9.0</arrow.version>
@@ -102,7 +121,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>3.1.0</version>
+ <version>${maven-resources-plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
@@ -167,7 +186,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
- <version>6.1.1</version> <!-- Use newer version of ASM -->
+ <version>${asm.version}</version> <!-- Use newer version of ASM -->
</dependency>
</dependencies>
</plugin>
@@ -191,7 +210,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.7</version>
+ <version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
@@ -210,7 +229,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.0</version>
+ <version>${maven-failsafe-plugin.version}</version>
<configuration>
<failIfNoTests>${failIfMissingComponentTests}</failIfNoTests>
<forkCount>1</forkCount>
@@ -222,7 +241,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.7</version>
+ <version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
@@ -241,7 +260,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
+ <version>${exec-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
@@ -249,7 +268,7 @@
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
- <version>1.6.0</version>
+ <version>${os-maven-plugin.version}</version>
</extension>
</extensions>
</build>
@@ -287,7 +306,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.1</version>
+ <version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>docker-copy-internal-deps</id>
@@ -318,7 +337,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.30.0</version>
+ <version>${docker-maven-plugin.version}</version>
<executions>
<execution>
<id>docker-build-image</id>
@@ -399,7 +418,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
- <version>27.0.1-jre</version>
+ <version>${guava.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
@@ -468,19 +487,19 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
- <version>1.3.0-alpha4</version>
+ <version>${logback-classic.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.8.0-beta1</version>
+ <version>${slf4j-api.version}</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bom</artifactId>
<!-- remember to update netty native bindings versions -->
- <version>2020.0.2</version>
+ <version>${reactor-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -488,7 +507,7 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
- <version>2.3.1</version>
+ <version>${kafka-clients.version}</version>
</dependency>
<!--
Disable native extension (epoll) on production for now.
@@ -516,22 +535,22 @@
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
- <version>1.4</version>
+ <version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>javax.json</groupId>
<artifactId>javax.json-api</artifactId>
- <version>1.1.2</version>
+ <version>${javax.json-api.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
- <version>1.1.2</version>
+ <version>${javax.json.version}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
- <version>1.1.5</version>
+ <version>${micrometer-registry-prometheus.version}</version>
</dependency>
<dependency>
<groupId>org.onap.dcaegen2.services.sdk</groupId>
@@ -577,13 +596,13 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
- <version>3.9.1</version>
+ <version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.nhaarman.mockitokotlin2</groupId>
<artifactId>mockito-kotlin</artifactId>
- <version>2.1.0</version>
+ <version>${mockito-kotlin.version}</version>
<scope>test</scope>
</dependency>
<dependency>