<?xml version="1.0" encoding="UTF-8"?>\r
-<!-- Copyright 2017 ZTE Corporation. Licensed under the Apache License, Version\r
+<!-- Copyright 2017-2020 ZTE Corporation. Licensed under the Apache License, Version\r
2.0 (the "License"); you may not use this file except in compliance with\r
the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\r
Unless required by applicable law or agreed to in writing, software distributed\r
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES\r
OR CONDITIONS OF ANY KIND, either express or implied. See the License for\r
the specific language governing permissions and limitations under the License. -->\r
-<!-- FM-ACTIVE POM DEFINITION -->\r
+\r
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
<modelVersion>4.0.0</modelVersion>\r
<parent>\r
<groupId>org.onap.oparent</groupId>\r
<artifactId>oparent</artifactId>\r
- <version>1.0.0-SNAPSHOT</version>\r
+ <version>3.0.0</version>\r
</parent>\r
\r
<groupId>org.onap.holmes.common</groupId>\r
<artifactId>holmes-common-parent</artifactId>\r
<packaging>pom</packaging>\r
\r
- <version>1.0.0-SNAPSHOT</version>\r
+ <version>1.3.3</version>\r
<name>holmes-common</name>\r
<modules>\r
<module>holmes-actions</module>\r
<properties>\r
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
- <maven.test.skip>false</maven.test.skip>\r
<maven.test.failure.ignore>false</maven.test.failure.ignore>\r
+ <maven.test.skip>false</maven.test.skip>\r
+\r
<finalName>${project.artifactId}-${project.version}</finalName>\r
<release.dir>${basedir}/target</release.dir>\r
<bundle.name>${project.artifactId}-${project.version}</bundle.name>\r
- <pkgzip.dir>${basedir}/../release/pkgzip</pkgzip.dir>\r
- <excludesFile>**/*$*</excludesFile>\r
- <nexusproxy>https://nexus.open-o.org/content</nexusproxy>\r
\r
+ <powermock.version>2.0.7</powermock.version>\r
\r
- <stringtemplate.version>3.2.1</stringtemplate.version>\r
- <mysql.connector.version>5.1.38</mysql.connector.version>\r
- <dropwizard.version>0.8.0</dropwizard.version>\r
- <swagger.version>1.5.3</swagger.version>\r
- <lombok.version>1.16.4</lombok.version>\r
- <jersey.version>2.22.2</jersey.version>\r
- <jaxrs.consumer.version>5.0</jaxrs.consumer.version>\r
- <slf4j.version>1.6.1</slf4j.version>\r
- <quartz.version>2.2.1</quartz.version>\r
+ <dropwizard.version>2.0.9</dropwizard.version>\r
+ <swagger.version>1.6.1</swagger.version>\r
+ <lombok.version>1.18.4</lombok.version>\r
+ <jersey.version>2.31</jersey.version>\r
+ <slf4j.version>1.7.25</slf4j.version>\r
+ <jacoco.version>0.8.5</jacoco.version>\r
+ <sonar.coverage.jacoco.xmlReportPaths>\r
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml\r
+ </sonar.coverage.jacoco.xmlReportPaths>\r
</properties>\r
+\r
<dependencyManagement>\r
<dependencies>\r
+ <dependency>\r
+ <groupId>ch.qos.logback</groupId>\r
+ <artifactId>logback-classic</artifactId>\r
+ <version>1.2.3</version>\r
+ </dependency>\r
<dependency>\r
<groupId>org.onap.msb.java-sdk</groupId>\r
<artifactId>msb-java-sdk</artifactId>\r
- <version>1.0.0-SNAPSHOT</version>\r
+ <version>1.2.5</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.glassfish.jersey.containers</groupId>\r
+ <artifactId>jersey-container-servlet-core</artifactId>\r
+ <version>${jersey.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.glassfish.jersey.core</groupId>\r
+ <artifactId>jersey-common</artifactId>\r
+ <version>${jersey.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.glassfish.jersey.core</groupId>\r
+ <artifactId>jersey-client</artifactId>\r
+ <version>${jersey.version}</version>\r
</dependency>\r
<dependency>\r
<groupId>io.dropwizard</groupId>\r
<version>${dropwizard.version}</version>\r
<scope>provided</scope>\r
</dependency>\r
-\r
<dependency>\r
<groupId>io.dropwizard</groupId>\r
<artifactId>dropwizard-db</artifactId>\r
<version>${dropwizard.version}</version>\r
+ <scope>provided</scope>\r
</dependency>\r
<dependency>\r
<groupId>io.dropwizard</groupId>\r
<artifactId>dropwizard-jdbi</artifactId>\r
- <version>${dropwizard.version}</version>\r
+ <version>2.0.0-rc9</version>\r
</dependency>\r
<dependency>\r
<groupId>io.swagger</groupId>\r
<artifactId>swagger-jersey2-jaxrs</artifactId>\r
<version>${swagger.version}</version>\r
</dependency>\r
-\r
<dependency>\r
<groupId>org.projectlombok</groupId>\r
<artifactId>lombok</artifactId>\r
<version>${lombok.version}</version>\r
</dependency>\r
- <dependency>\r
- <groupId>mysql</groupId>\r
- <artifactId>mysql-connector-java</artifactId>\r
- <version>${mysql.connector.version}</version>\r
- </dependency>\r
-\r
- <dependency>\r
- <groupId>org.antlr</groupId>\r
- <artifactId>stringtemplate</artifactId>\r
- <version>${stringtemplate.version}</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.quartz-scheduler</groupId>\r
- <artifactId>quartz</artifactId>\r
- <version>${quartz.version}</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.jdom</groupId>\r
- <artifactId>jdom</artifactId>\r
- <version>1.1.3</version>\r
- </dependency>\r
<dependency>\r
<groupId>junit</groupId>\r
<artifactId>junit</artifactId>\r
<dependency>\r
<groupId>org.powermock</groupId>\r
<artifactId>powermock-module-junit4</artifactId>\r
- <version>1.6.5</version>\r
+ <version>${powermock.version}</version>\r
<scope>test</scope>\r
</dependency>\r
<dependency>\r
<groupId>org.easymock</groupId>\r
<artifactId>easymock</artifactId>\r
- <version>3.0</version>\r
+ <version>4.2</version>\r
<scope>test</scope>\r
</dependency>\r
<dependency>\r
<groupId>org.powermock</groupId>\r
<artifactId>powermock-api-easymock</artifactId>\r
- <version>1.6.5</version>\r
+ <version>${powermock.version}</version>\r
<scope>test</scope>\r
</dependency>\r
<dependency>\r
<groupId>org.powermock</groupId>\r
<artifactId>powermock-module-junit4-rule</artifactId>\r
- <version>1.6.5</version>\r
+ <version>${powermock.version}</version>\r
<scope>test</scope>\r
</dependency>\r
<dependency>\r
<groupId>org.powermock</groupId>\r
<artifactId>powermock-classloading-xstream</artifactId>\r
- <version>1.6.5</version>\r
+ <version>${powermock.version}</version>\r
<scope>test</scope>\r
</dependency>\r
<dependency>\r
- <groupId>org.apache.activemq</groupId>\r
- <artifactId>activemq-core</artifactId>\r
- <version>5.7.0</version>\r
+ <groupId>com.google.guava</groupId>\r
+ <artifactId>guava</artifactId>\r
+ <version>29.0-jre</version>\r
</dependency>\r
<dependency>\r
- <groupId>org.apache.geronimo.specs</groupId>\r
- <artifactId>geronimo-jms_1.1_spec</artifactId>\r
- <version>1.1.1</version>\r
+ <groupId>commons-codec</groupId>\r
+ <artifactId>commons-codec</artifactId>\r
+ <version>1.14</version>\r
</dependency>\r
<dependency>\r
- <groupId>org.apache.activemq</groupId>\r
- <artifactId>activemq-pool</artifactId>\r
- <version>5.8.0</version>\r
- </dependency>\r
- <dependency>\r
- <groupId>org.apache.httpcomponents</groupId>\r
- <artifactId>httpclient</artifactId>\r
- <version>4.3.6</version>\r
+ <groupId>com.google.code.gson</groupId>\r
+ <artifactId>gson</artifactId>\r
+ <version>2.8.6</version>\r
</dependency>\r
</dependencies>\r
</dependencyManagement>\r
+\r
+ <build>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>org.jacoco</groupId>\r
+ <artifactId>jacoco-maven-plugin</artifactId>\r
+ <version>${jacoco.version}</version>\r
+ <executions>\r
+ <execution>\r
+ <id>prepare-agent</id>\r
+ <goals>\r
+ <goal>prepare-agent</goal>\r
+ </goals>\r
+ </execution>\r
+ <execution>\r
+ <id>report</id>\r
+ <goals>\r
+ <goal>report</goal>\r
+ </goals>\r
+ <configuration>\r
+ <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>\r
+ <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
+ </configuration>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
</project>\r
\r