diff options
author | Pawel <pawel.kasperkiewicz@nokia.com> | 2020-04-20 12:52:39 +0200 |
---|---|---|
committer | Pawel <pawel.kasperkiewicz@nokia.com> | 2020-04-20 15:24:41 +0200 |
commit | cc7a734ffb1a8c38bbcbea6a7a5aead3d25b713b (patch) | |
tree | 53af34452130d5e5bfa112f58e5de830301ef821 /pnfsimulator/pom.xml | |
parent | 1e024d2f6980ac66aceec37fdd88268fda563b34 (diff) |
Extract versions to properties
Issue-ID: INT-1517
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: If966e5f755fc22ad428141bc9d3fdbeb756fa6f8
Diffstat (limited to 'pnfsimulator/pom.xml')
-rw-r--r-- | pnfsimulator/pom.xml | 146 |
1 files changed, 89 insertions, 57 deletions
diff --git a/pnfsimulator/pom.xml b/pnfsimulator/pom.xml index 320805e..bae33f5 100644 --- a/pnfsimulator/pom.xml +++ b/pnfsimulator/pom.xml @@ -54,11 +54,42 @@ <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily> <onap.nexus.url>http://nexus3.onap.org</onap.nexus.url> + <spring-cloud-config-client.version>2.1.4.RELEASE</spring-cloud-config-client.version> + <logback-classic.version>1.2.3</logback-classic.version> + <logback-core.version>1.2.3</logback-core.version> + <slf4j-api.version>1.7.25</slf4j-api.version> + <commons-io.version>2.6</commons-io.version> + <json.version>20180130</json.version> + <gson.version>2.8.2</gson.version> + <httpclient.version>4.5.5</httpclient.version> + <guava.version>21.0</guava.version> + <commons-cli.version>1.4</commons-cli.version> + <commons-lang3.version>3.7</commons-lang3.version> + <lombok.version>1.18.2</lombok.version> + <jackson-datatype-jdk8.version>2.9.7</jackson-datatype-jdk8.version> + <jackson-datatype-jsr310.version>2.9.7</jackson-datatype-jsr310.version> + <vavr-match.version>0.9.2</vavr-match.version> + <vavr.version>0.9.2</vavr.version> + <assertj-core.version>3.9.1</assertj-core.version> + <mockito-core.version>2.18.3</mockito-core.version> + <spring-test.version>5.0.4.RELEASE</spring-test.version> + <springfox-swagger2.version>2.9.2</springfox-swagger2.version> + <springfox-swagger-ui.version>2.9.2</springfox-swagger-ui.version> + <quartz.version>2.2.1</quartz.version> + <quartz-jobs.version>2.2.1</quartz-jobs.version> + <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> + <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> + <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> + <maven-surefire-plugin.version>2.19</maven-surefire-plugin.version> + <junit-platform-surefire-provider.version>1.1.1</junit-platform-surefire-provider.version> </properties> <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> + + <!-- Compile DEPENDENCIES --> + + <dependency> + <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <version>${spring.boot.version}</version> <exclusions> @@ -74,9 +105,9 @@ <version>${spring.boot.version}</version> </dependency> <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-data-mongodb</artifactId> - <version>${spring.boot.version}</version> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-mongodb</artifactId> + <version>${spring.boot.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -86,87 +117,108 @@ <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-config-client</artifactId> - <version>2.1.4.RELEASE</version> + <version>${spring-cloud-config-client.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> - <version>1.2.3</version> + <version>${logback-classic.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> - <version>1.2.3</version> + <version>${logback-core.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> - <version>1.7.25</version> + <version>${slf4j-api.version}</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <version>2.6</version> + <version>${commons-io.version}</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> - <version>20180130</version> + <version>${json.version}</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> - <version>2.8.2</version> + <version>${gson.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> - <version>4.5.5</version> + <version>${httpclient.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> - <version>21.0</version> + <version>${guava.version}</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> - <version>1.4</version> + <version>${commons-cli.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> - <version>3.7</version> + <version>${commons-lang3.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> - <version>1.18.2</version> + <version>${lombok.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jdk8</artifactId> - <version>2.9.7</version> + <version>${jackson-datatype-jdk8.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> - <version>2.9.7</version> + <version>${jackson-datatype-jsr310.version}</version> </dependency> <dependency> - <groupId>io.vavr</groupId> - <artifactId>vavr-match</artifactId> - <version>0.9.2</version> + <groupId>io.vavr</groupId> + <artifactId>vavr-match</artifactId> + <version>${vavr-match.version}</version> + </dependency> + <dependency> + <groupId>io.vavr</groupId> + <artifactId>vavr</artifactId> + <version>${vavr.version}</version> + </dependency> + <dependency> + <groupId>io.springfox</groupId> + <artifactId>springfox-swagger2</artifactId> + <version>${springfox-swagger2.version}</version> + </dependency> + <dependency> + <groupId>io.springfox</groupId> + <artifactId>springfox-swagger-ui</artifactId> + <version>${springfox-swagger-ui.version}</version> + </dependency> + <dependency> + <groupId>org.quartz-scheduler</groupId> + <artifactId>quartz</artifactId> + <version>${quartz.version}</version> + </dependency> + <dependency> + <groupId>org.quartz-scheduler</groupId> + <artifactId>quartz-jobs</artifactId> + <version>${quartz-jobs.version}</version> </dependency> - <dependency> - <groupId>io.vavr</groupId> - <artifactId>vavr</artifactId> - <version>0.9.2</version> - </dependency> + <!-- TEST DEPENDENCIES --> - <dependency> + <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.jupiter.version}</version> @@ -181,19 +233,19 @@ <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>org.mockito</groupId> <artifactId>mockito-core</artifactId> - <version>2.18.3</version> + <version>${mockito-core.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> - <version>5.0.4.RELEASE</version> + <version>${spring-test.version}</version> <scope>test</scope> </dependency> <dependency> @@ -202,27 +254,7 @@ <version>${spring.boot.version}</version> <scope>test</scope> </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <version>2.9.2</version> - </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <version>2.9.2</version> - </dependency> - <dependency> - <groupId>org.quartz-scheduler</groupId> - <artifactId>quartz</artifactId> - <version>2.2.1</version> - </dependency> - <dependency> - <groupId>org.quartz-scheduler</groupId> - <artifactId>quartz-jobs</artifactId> - <version>2.2.1</version> - </dependency> - </dependencies> + </dependencies> <build> <plugins> <plugin> @@ -244,7 +276,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.7.0</version> + <version>${maven-compiler-plugin.version}</version> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> @@ -255,7 +287,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <version>3.0.2</version> + <version>${maven-jar-plugin.version}</version> <configuration> <archive> <manifestEntries> @@ -268,7 +300,7 @@ <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> - <version>2.2.4</version> + <version>${git-commit-id-plugin.version}</version> <executions> <execution> <id>get-commit-info</id> @@ -285,12 +317,12 @@ </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> - <version>2.19</version> + <version>${maven-surefire-plugin.version}</version> <dependencies> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-surefire-provider</artifactId> - <version>1.1.1</version> + <version>${junit-platform-surefire-provider.version}</version> </dependency> </dependencies> <configuration> |