1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START=======================================================
4 * ONAP : DCAEGEN2/services/mapper
5 * ================================================================================
6 * Copyright 2018-2019 TechMahindra
7 * Copyright (C) 2020-2022 Huawei Technologies Co., Ltd.
8 * Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
9 * ================================================================================
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 * ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>2.0.0</version>
33 <groupId>org.onap.dcaegen2.services.mapper</groupId>
34 <artifactId>mapper</artifactId>
35 <version>1.4.3-SNAPSHOT</version>
36 <packaging>pom</packaging>
38 <name>dcaegen2-services-mapper</name>
39 <description>Universal VES mapper for DCAE Analytics Service</description>
43 <name>The Apache Software License, Version 2.0</name>
44 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
50 <!-- PROJECT SETTINGS-->
51 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
52 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
53 <main.basedir>${project.basedir}</main.basedir>
56 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
58 <slf4j.version>1.7.25</slf4j.version>
59 <jackson.json.version>2.9.4</jackson.json.version>
61 <netty.http.version>0.16.0</netty.http.version>
62 <gson.version>2.2.4</gson.version>
63 <guava.version>13.0.1</guava.version>
64 <guice.version>3.0</guice.version>
65 <logback.version>1.0.9</logback.version>
66 <findbugs.jsr305.version>2.0.1</findbugs.jsr305.version>
67 <findbugs.annotations.version>3.0.0</findbugs.annotations.version>
68 <lombok.version>1.16.10</lombok.version>
70 <json.path.version>2.2.0</json.path.version>
71 <quartz.version>2.2.0</quartz.version>
72 <httpclient.version>4.5.13</httpclient.version>
73 <commons.lang3.version>3.5</commons.lang3.version>
75 <docker.maven.version>1.0.0</docker.maven.version>
77 <!--TESTING DEPENDENCIES -->
78 <junit.version>4.12</junit.version>
79 <jayway.jsonpath.version>2.2.0</jayway.jsonpath.version>
80 <jsonassert.version>1.4.0</jsonassert.version>
81 <mockito.version>2.5.7</mockito.version>
82 <cucumber.version>1.2.5</cucumber.version>
85 <!-- PLUGINS VERSIONS -->
86 <compiler.plugin.version>3.3</compiler.plugin.version>
87 <!-- <surefire.plugin.version>2.19.1</surefire.plugin.version> -->
88 <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
89 <bundle.plugin.version>2.5.4</bundle.plugin.version>
90 <autorun.plugin.version>1.7</autorun.plugin.version>
91 <eclipe.plugin.version>2.10</eclipe.plugin.version>
92 <findbugs.plugin.version>3.0.2</findbugs.plugin.version>
93 <pmd.plugin.version>3.5</pmd.plugin.version>
94 <!-- <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version> -->
95 <checkstyle.plugin.version>2.16</checkstyle.plugin.version>
96 <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
97 <source.plugin.version>2.4</source.plugin.version>
98 <jar.plugin.version>2.4</jar.plugin.version>
99 <lombok.plugin.version>1.16.10.0</lombok.plugin.version>
100 <jgitflow.plugin.version>1.0-m5.1</jgitflow.plugin.version>
101 <gitcommitid.plugin.version>2.2.3</gitcommitid.plugin.version>
102 <maven.site.plugin>3.5.1</maven.site.plugin>
103 <jxr.plugin.version>2.5</jxr.plugin.version>
104 <project.info.reports.plugin.version>2.7</project.info.reports.plugin.version>
106 <!--PLUGIN SETTINGS -->
107 <!-- <compiler.source.version>1.7</compiler.source.version>
108 <compiler.target.version>1.7</compiler.target.version> -->
109 <compiler.source.version>11</compiler.source.version>
110 <compiler.target.version>11</compiler.target.version>
111 <unit.test.pattern>**/*Test.java</unit.test.pattern>
112 <skip.unit.tests>false</skip.unit.tests>
113 <integration.test.pattern>**/*IT.java</integration.test.pattern>
114 <skip.integration.tests>true</skip.integration.tests>
115 <!-- <pmd.violation.buildfail>true</pmd.violation.buildfail> -->
116 <findbugs.failOnError>true</findbugs.failOnError>
117 <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
118 <checkstyle.file.name>checkstyle.xml</checkstyle.file.name>
119 <checkstyle.suppression.file.name>suppressions.xml</checkstyle.suppression.file.name>
120 <dependency.locations.enabled>false</dependency.locations.enabled>
121 <nexusproxy>https://nexus.onap.org</nexusproxy>
122 <snapshots.path>content/repositories/snapshots/</snapshots.path>
123 <releases.path>content/repositories/releases/</releases.path>
125 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
127 <sonar.coverage.jacoco.xmlReportPaths>
128 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
129 </sonar.coverage.jacoco.xmlReportPaths>
132 <dependencyManagement>
136 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
138 <groupId>com.googlecode.json-simple</groupId>
139 <artifactId>json-simple</artifactId>
140 <version>1.1</version>
145 <groupId>org.apache.commons</groupId>
146 <artifactId>commons-lang3</artifactId>
147 <version>${commons.lang3.version}</version>
150 <!-- TEST DEPENDENCIES -->
153 <groupId>junit</groupId>
154 <artifactId>junit</artifactId>
155 <version>${junit.version}</version>
160 <groupId>org.mockito</groupId>
161 <artifactId>mockito-core</artifactId>
162 <version>${mockito.version}</version>
166 <groupId>com.jayway.jsonpath</groupId>
167 <artifactId>json-path-assert</artifactId>
168 <version>${jayway.jsonpath.version}</version>
172 <groupId>com.spotify</groupId>
173 <artifactId>docker-maven-plugin</artifactId>
174 <version>${docker.maven.version}</version>
179 </dependencyManagement>
186 <directory>${project.basedir}/src/main/resources</directory>
189 <directory>${project.build.directory}/git</directory>
195 <groupId>org.apache.maven.wagon</groupId>
196 <artifactId>wagon-webdav-jackrabbit</artifactId>
197 <version>1.0-beta-7</version>
205 <!-- COMPILER PLUGIN -->
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-compiler-plugin</artifactId>
209 <version>${compiler.plugin.version}</version>
211 <source>${compiler.target.version}</source>
212 <target>${compiler.source.version}</target>
216 <!-- MAVEN SOURCE PLUGIN -->
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-source-plugin</artifactId>
220 <version>${source.plugin.version}</version>
222 <excludeResources>true</excludeResources>
226 <id>attach-sources</id>
227 <phase>verify</phase>
229 <goal>jar-no-fork</goal>
235 <!-- MAVEN BUNDLE PLUGIN -->
237 <groupId>org.apache.felix</groupId>
238 <artifactId>maven-bundle-plugin</artifactId>
239 <version>${bundle.plugin.version}</version>
240 <extensions>true</extensions>
243 <Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency>
244 <Embed-Transitive>true</Embed-Transitive>
245 <Embed-Directory>lib</Embed-Directory>
250 <id>Bundling mapper Jar</id>
251 <phase>package</phase>
259 <!-- MAVEN AUTO RUN PLUGIN -->
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-antrun-plugin</artifactId>
263 <version>${autorun.plugin.version}</version>
266 <!-- ECLIPSE PLUGIN -->
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-eclipse-plugin</artifactId>
270 <version>${eclipe.plugin.version}</version>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-jar-plugin</artifactId>
277 <version>${jar.plugin.version}</version>
281 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
284 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-site-plugin</artifactId>
293 <version>${maven.site.plugin}</version>
296 <groupId>com.spotify</groupId>
297 <artifactId>docker-maven-plugin</artifactId>
298 <version>${docker.maven.version}</version>
300 <skipDockerBuild>true</skipDockerBuild>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-compiler-plugin</artifactId>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-jar-plugin</artifactId>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-source-plugin</artifactId>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-checkstyle-plugin</artifactId>
333 <configLocation>${checkstyle.file.name}</configLocation>
334 <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
341 <module>UniversalVesAdapter</module>