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 Huawei Technologies Co., Ltd.
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
22 <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">
23 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>2.0.0</version>
32 <groupId>org.onap.dcaegen2.services.mapper</groupId>
33 <artifactId>mapper</artifactId>
34 <version>1.3.0-SNAPSHOT</version>
35 <packaging>pom</packaging>
37 <name>dcaegen2-services-mapper</name>
38 <description>Universal VES mapper for DCAE Analytics Service</description>
42 <name>The Apache Software License, Version 2.0</name>
43 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
49 <!-- PROJECT SETTINGS-->
50 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
52 <main.basedir>${project.basedir}</main.basedir>
55 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
57 <slf4j.version>1.7.25</slf4j.version>
58 <jackson.json.version>2.9.4</jackson.json.version>
60 <netty.http.version>0.16.0</netty.http.version>
61 <gson.version>2.2.4</gson.version>
62 <guava.version>13.0.1</guava.version>
63 <guice.version>3.0</guice.version>
64 <logback.version>1.0.9</logback.version>
65 <findbugs.jsr305.version>2.0.1</findbugs.jsr305.version>
66 <findbugs.annotations.version>3.0.0</findbugs.annotations.version>
67 <lombok.version>1.16.10</lombok.version>
69 <json.path.version>2.2.0</json.path.version>
70 <quartz.version>2.2.0</quartz.version>
71 <httpclient.version>4.5.13</httpclient.version>
72 <commons.lang3.version>3.5</commons.lang3.version>
74 <docker.maven.version>1.0.0</docker.maven.version>
76 <!--TESTING DEPENDENCIES -->
77 <junit.version>4.12</junit.version>
78 <jayway.jsonpath.version>2.2.0</jayway.jsonpath.version>
79 <jsonassert.version>1.4.0</jsonassert.version>
80 <mockito.version>2.5.7</mockito.version>
81 <cucumber.version>1.2.5</cucumber.version>
84 <!-- PLUGINS VERSIONS -->
85 <compiler.plugin.version>3.3</compiler.plugin.version>
86 <!-- <surefire.plugin.version>2.19.1</surefire.plugin.version> -->
87 <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
88 <bundle.plugin.version>2.5.4</bundle.plugin.version>
89 <autorun.plugin.version>1.7</autorun.plugin.version>
90 <eclipe.plugin.version>2.10</eclipe.plugin.version>
91 <findbugs.plugin.version>3.0.2</findbugs.plugin.version>
92 <pmd.plugin.version>3.5</pmd.plugin.version>
93 <!-- <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version> -->
94 <checkstyle.plugin.version>2.16</checkstyle.plugin.version>
95 <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
96 <source.plugin.version>2.4</source.plugin.version>
97 <jar.plugin.version>2.4</jar.plugin.version>
98 <lombok.plugin.version>1.16.10.0</lombok.plugin.version>
99 <jgitflow.plugin.version>1.0-m5.1</jgitflow.plugin.version>
100 <gitcommitid.plugin.version>2.2.3</gitcommitid.plugin.version>
101 <maven.site.plugin>3.5.1</maven.site.plugin>
102 <jxr.plugin.version>2.5</jxr.plugin.version>
103 <project.info.reports.plugin.version>2.7</project.info.reports.plugin.version>
105 <!--PLUGIN SETTINGS -->
106 <!-- <compiler.source.version>1.7</compiler.source.version>
107 <compiler.target.version>1.7</compiler.target.version> -->
108 <compiler.source.version>11</compiler.source.version>
109 <compiler.target.version>11</compiler.target.version>
110 <unit.test.pattern>**/*Test.java</unit.test.pattern>
111 <skip.unit.tests>false</skip.unit.tests>
112 <integration.test.pattern>**/*IT.java</integration.test.pattern>
113 <skip.integration.tests>true</skip.integration.tests>
114 <!-- <pmd.violation.buildfail>true</pmd.violation.buildfail> -->
115 <findbugs.failOnError>true</findbugs.failOnError>
116 <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
117 <checkstyle.file.name>checkstyle.xml</checkstyle.file.name>
118 <checkstyle.suppression.file.name>suppressions.xml</checkstyle.suppression.file.name>
119 <dependency.locations.enabled>false</dependency.locations.enabled>
120 <nexusproxy>https://nexus.onap.org</nexusproxy>
121 <snapshots.path>content/repositories/snapshots/</snapshots.path>
122 <releases.path>content/repositories/releases/</releases.path>
124 content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
126 <sonar.coverage.jacoco.xmlReportPaths>
127 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
128 </sonar.coverage.jacoco.xmlReportPaths>
131 <dependencyManagement>
135 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
137 <groupId>com.googlecode.json-simple</groupId>
138 <artifactId>json-simple</artifactId>
139 <version>1.1</version>
144 <groupId>org.apache.commons</groupId>
145 <artifactId>commons-lang3</artifactId>
146 <version>${commons.lang3.version}</version>
149 <!-- TEST DEPENDENCIES -->
152 <groupId>junit</groupId>
153 <artifactId>junit</artifactId>
154 <version>${junit.version}</version>
159 <groupId>org.mockito</groupId>
160 <artifactId>mockito-core</artifactId>
161 <version>${mockito.version}</version>
165 <groupId>com.jayway.jsonpath</groupId>
166 <artifactId>json-path-assert</artifactId>
167 <version>${jayway.jsonpath.version}</version>
171 <groupId>com.spotify</groupId>
172 <artifactId>docker-maven-plugin</artifactId>
173 <version>${docker.maven.version}</version>
178 </dependencyManagement>
185 <directory>${project.basedir}/src/main/resources</directory>
188 <directory>${project.build.directory}/git</directory>
194 <groupId>org.apache.maven.wagon</groupId>
195 <artifactId>wagon-webdav-jackrabbit</artifactId>
196 <version>1.0-beta-7</version>
204 <!-- COMPILER PLUGIN -->
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-compiler-plugin</artifactId>
208 <version>${compiler.plugin.version}</version>
210 <source>${compiler.target.version}</source>
211 <target>${compiler.source.version}</target>
215 <!-- MAVEN SOURCE PLUGIN -->
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-source-plugin</artifactId>
219 <version>${source.plugin.version}</version>
221 <excludeResources>true</excludeResources>
225 <id>attach-sources</id>
226 <phase>verify</phase>
228 <goal>jar-no-fork</goal>
234 <!-- MAVEN BUNDLE PLUGIN -->
236 <groupId>org.apache.felix</groupId>
237 <artifactId>maven-bundle-plugin</artifactId>
238 <version>${bundle.plugin.version}</version>
239 <extensions>true</extensions>
242 <Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency>
243 <Embed-Transitive>true</Embed-Transitive>
244 <Embed-Directory>lib</Embed-Directory>
249 <id>Bundling mapper Jar</id>
250 <phase>package</phase>
258 <!-- MAVEN AUTO RUN PLUGIN -->
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-antrun-plugin</artifactId>
262 <version>${autorun.plugin.version}</version>
265 <!-- ECLIPSE PLUGIN -->
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-eclipse-plugin</artifactId>
269 <version>${eclipe.plugin.version}</version>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-jar-plugin</artifactId>
276 <version>${jar.plugin.version}</version>
280 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
283 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-site-plugin</artifactId>
292 <version>${maven.site.plugin}</version>
295 <groupId>com.spotify</groupId>
296 <artifactId>docker-maven-plugin</artifactId>
297 <version>${docker.maven.version}</version>
299 <skipDockerBuild>true</skipDockerBuild>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-compiler-plugin</artifactId>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-jar-plugin</artifactId>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-source-plugin</artifactId>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-checkstyle-plugin</artifactId>
332 <configLocation>${checkstyle.file.name}</configLocation>
333 <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
340 <module>UniversalVesAdapter</module>