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 * Copyright (C) 2023 Deutsche Telekom AG. All rights reserved.
10 * ================================================================================
11 * Licensed under the Apache License, Version 2.0 (the "License");
12 * you may not use this file except in compliance with the License.
13 * You may obtain a copy of the License at
15 * http://www.apache.org/licenses/LICENSE-2.0
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the License is distributed on an "AS IS" BASIS,
19 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * See the License for the specific language governing permissions and
21 * limitations under the License.
22 * ============LICENSE_END=========================================================
24 <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">
25 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.oparent</groupId>
29 <artifactId>oparent</artifactId>
30 <version>2.0.0</version>
34 <groupId>org.onap.dcaegen2.services.mapper</groupId>
35 <artifactId>mapper</artifactId>
36 <version>1.5.0-SNAPSHOT</version>
37 <packaging>pom</packaging>
39 <name>dcaegen2-services-mapper</name>
40 <description>Universal VES mapper for DCAE Analytics Service</description>
44 <name>The Apache Software License, Version 2.0</name>
45 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
51 <!-- PROJECT SETTINGS-->
52 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
53 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
54 <main.basedir>${project.basedir}</main.basedir>
57 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
59 <slf4j.version>1.7.25</slf4j.version>
60 <jackson.json.version>2.9.4</jackson.json.version>
62 <netty.http.version>0.16.0</netty.http.version>
63 <gson.version>2.2.4</gson.version>
64 <guava.version>13.0.1</guava.version>
65 <guice.version>3.0</guice.version>
66 <logback.version>1.0.9</logback.version>
67 <findbugs.jsr305.version>2.0.1</findbugs.jsr305.version>
68 <findbugs.annotations.version>3.0.0</findbugs.annotations.version>
69 <lombok.version>1.16.10</lombok.version>
71 <json.path.version>2.2.0</json.path.version>
72 <quartz.version>2.2.0</quartz.version>
73 <httpclient.version>4.5.13</httpclient.version>
74 <commons.lang3.version>3.5</commons.lang3.version>
76 <docker.maven.version>1.0.0</docker.maven.version>
78 <!--TESTING DEPENDENCIES -->
79 <junit.version>4.12</junit.version>
80 <jayway.jsonpath.version>2.2.0</jayway.jsonpath.version>
81 <jsonassert.version>1.4.0</jsonassert.version>
82 <mockito.version>2.5.7</mockito.version>
83 <cucumber.version>1.2.5</cucumber.version>
86 <!-- PLUGINS VERSIONS -->
87 <compiler.plugin.version>3.3</compiler.plugin.version>
88 <!-- <surefire.plugin.version>2.19.1</surefire.plugin.version> -->
89 <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
90 <bundle.plugin.version>2.5.4</bundle.plugin.version>
91 <autorun.plugin.version>1.7</autorun.plugin.version>
92 <eclipe.plugin.version>2.10</eclipe.plugin.version>
93 <findbugs.plugin.version>3.0.2</findbugs.plugin.version>
94 <pmd.plugin.version>3.5</pmd.plugin.version>
95 <!-- <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version> -->
96 <checkstyle.plugin.version>2.16</checkstyle.plugin.version>
97 <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
98 <source.plugin.version>2.4</source.plugin.version>
99 <jar.plugin.version>2.4</jar.plugin.version>
100 <lombok.plugin.version>1.16.10.0</lombok.plugin.version>
101 <jgitflow.plugin.version>1.0-m5.1</jgitflow.plugin.version>
102 <gitcommitid.plugin.version>2.2.3</gitcommitid.plugin.version>
103 <maven.site.plugin>3.5.1</maven.site.plugin>
104 <jxr.plugin.version>2.5</jxr.plugin.version>
105 <project.info.reports.plugin.version>2.7</project.info.reports.plugin.version>
107 <!--PLUGIN SETTINGS -->
108 <!-- <compiler.source.version>1.7</compiler.source.version>
109 <compiler.target.version>1.7</compiler.target.version> -->
110 <compiler.source.version>11</compiler.source.version>
111 <compiler.target.version>11</compiler.target.version>
112 <unit.test.pattern>**/*Test.java</unit.test.pattern>
113 <skip.unit.tests>false</skip.unit.tests>
114 <integration.test.pattern>**/*IT.java</integration.test.pattern>
115 <skip.integration.tests>true</skip.integration.tests>
116 <!-- <pmd.violation.buildfail>true</pmd.violation.buildfail> -->
117 <findbugs.failOnError>true</findbugs.failOnError>
118 <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
119 <checkstyle.file.name>checkstyle.xml</checkstyle.file.name>
120 <checkstyle.suppression.file.name>suppressions.xml</checkstyle.suppression.file.name>
121 <dependency.locations.enabled>false</dependency.locations.enabled>
122 <nexusproxy>https://nexus.onap.org</nexusproxy>
123 <snapshots.path>content/repositories/snapshots/</snapshots.path>
124 <releases.path>content/repositories/releases/</releases.path>
126 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
128 <sonar.coverage.jacoco.xmlReportPaths>
129 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
130 </sonar.coverage.jacoco.xmlReportPaths>
133 <dependencyManagement>
137 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
139 <groupId>com.googlecode.json-simple</groupId>
140 <artifactId>json-simple</artifactId>
141 <version>1.1</version>
146 <groupId>org.apache.commons</groupId>
147 <artifactId>commons-lang3</artifactId>
148 <version>${commons.lang3.version}</version>
151 <!-- TEST DEPENDENCIES -->
154 <groupId>junit</groupId>
155 <artifactId>junit</artifactId>
156 <version>${junit.version}</version>
161 <groupId>org.mockito</groupId>
162 <artifactId>mockito-core</artifactId>
163 <version>${mockito.version}</version>
167 <groupId>com.jayway.jsonpath</groupId>
168 <artifactId>json-path-assert</artifactId>
169 <version>${jayway.jsonpath.version}</version>
173 <groupId>com.spotify</groupId>
174 <artifactId>docker-maven-plugin</artifactId>
175 <version>${docker.maven.version}</version>
180 </dependencyManagement>
187 <directory>${project.basedir}/src/main/resources</directory>
190 <directory>${project.build.directory}/git</directory>
196 <groupId>org.apache.maven.wagon</groupId>
197 <artifactId>wagon-webdav-jackrabbit</artifactId>
198 <version>1.0-beta-7</version>
206 <!-- COMPILER PLUGIN -->
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-compiler-plugin</artifactId>
210 <version>${compiler.plugin.version}</version>
212 <source>${compiler.target.version}</source>
213 <target>${compiler.source.version}</target>
217 <!-- MAVEN SOURCE PLUGIN -->
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-source-plugin</artifactId>
221 <version>${source.plugin.version}</version>
223 <excludeResources>true</excludeResources>
227 <id>attach-sources</id>
228 <phase>verify</phase>
230 <goal>jar-no-fork</goal>
236 <!-- MAVEN BUNDLE PLUGIN -->
238 <groupId>org.apache.felix</groupId>
239 <artifactId>maven-bundle-plugin</artifactId>
240 <version>${bundle.plugin.version}</version>
241 <extensions>true</extensions>
244 <Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency>
245 <Embed-Transitive>true</Embed-Transitive>
246 <Embed-Directory>lib</Embed-Directory>
251 <id>Bundling mapper Jar</id>
252 <phase>package</phase>
260 <!-- MAVEN AUTO RUN PLUGIN -->
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-antrun-plugin</artifactId>
264 <version>${autorun.plugin.version}</version>
267 <!-- ECLIPSE PLUGIN -->
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-eclipse-plugin</artifactId>
271 <version>${eclipe.plugin.version}</version>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-jar-plugin</artifactId>
278 <version>${jar.plugin.version}</version>
282 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
285 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-site-plugin</artifactId>
294 <version>${maven.site.plugin}</version>
297 <groupId>com.spotify</groupId>
298 <artifactId>docker-maven-plugin</artifactId>
299 <version>${docker.maven.version}</version>
301 <skipDockerBuild>true</skipDockerBuild>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-compiler-plugin</artifactId>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-jar-plugin</artifactId>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-source-plugin</artifactId>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-checkstyle-plugin</artifactId>
334 <configLocation>${checkstyle.file.name}</configLocation>
335 <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
342 <module>UniversalVesAdapter</module>