Release 1.2.0 ves-mapper
[dcaegen2/services/mapper.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
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
12 *
13 *     http://www.apache.org/licenses/LICENSE-2.0
14 *
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=========================================================
21  -->
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>
24
25     <parent>
26       <groupId>org.onap.oparent</groupId>
27       <artifactId>oparent</artifactId>
28       <version>2.0.0</version>
29       <relativePath/>
30     </parent>
31
32     <groupId>org.onap.dcaegen2.services.mapper</groupId>
33     <artifactId>mapper</artifactId>
34     <version>1.2.0-SNAPSHOT</version>
35     <packaging>pom</packaging>
36
37     <name>dcaegen2-services-mapper</name>
38     <description>Universal VES mapper for DCAE Analytics Service</description>
39
40     <licenses>
41         <license>
42             <name>The Apache Software License, Version 2.0</name>
43             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
44         </license>
45     </licenses>
46
47     <properties>
48
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>
53
54         <!--TEST SETTINGS -->
55         <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
56
57         <slf4j.version>1.7.25</slf4j.version>
58         <jackson.json.version>2.9.4</jackson.json.version>
59
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>
68
69         <json.path.version>2.2.0</json.path.version>
70         <quartz.version>2.2.0</quartz.version>
71         <httpclient.version>4.5.6</httpclient.version>
72         <commons.lang3.version>3.5</commons.lang3.version>
73
74         <docker.maven.version>1.0.0</docker.maven.version>
75
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>
82
83
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>
104
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>
123         <site.path>
124             content/sites/site/org/onap/dcaegen2/services/mapper/${project.artifactId}/${project.version}
125         </site.path>
126         <sonar.coverage.jacoco.xmlReportPaths>
127           ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
128         </sonar.coverage.jacoco.xmlReportPaths>
129     </properties>
130
131     <dependencyManagement>
132
133         <dependencies>
134
135             <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
136             <dependency>
137                 <groupId>com.googlecode.json-simple</groupId>
138                 <artifactId>json-simple</artifactId>
139                 <version>1.1</version>
140             </dependency>
141
142             <!-- UTILITIES -->
143             <dependency>
144                 <groupId>org.apache.commons</groupId>
145                 <artifactId>commons-lang3</artifactId>
146                 <version>${commons.lang3.version}</version>
147             </dependency>
148
149             <!-- TEST DEPENDENCIES -->
150
151             <dependency>
152                 <groupId>junit</groupId>
153                 <artifactId>junit</artifactId>
154                 <version>${junit.version}</version>
155                 <scope>test</scope>
156             </dependency>
157
158             <dependency>
159                 <groupId>org.mockito</groupId>
160                 <artifactId>mockito-core</artifactId>
161                 <version>${mockito.version}</version>
162             </dependency>
163
164             <dependency>
165                 <groupId>com.jayway.jsonpath</groupId>
166                 <artifactId>json-path-assert</artifactId>
167                 <version>${jayway.jsonpath.version}</version>
168                 <scope>test</scope>
169             </dependency>
170             <dependency>
171                 <groupId>com.spotify</groupId>
172                 <artifactId>docker-maven-plugin</artifactId>
173                 <version>${docker.maven.version}</version>
174             </dependency>
175
176         </dependencies>
177
178     </dependencyManagement>
179
180
181     <build>
182
183         <resources>
184             <resource>
185                 <directory>${project.basedir}/src/main/resources</directory>
186             </resource>
187             <resource>
188                 <directory>${project.build.directory}/git</directory>
189             </resource>
190         </resources>
191
192         <extensions>
193             <extension>
194                 <groupId>org.apache.maven.wagon</groupId>
195                 <artifactId>wagon-webdav-jackrabbit</artifactId>
196                 <version>1.0-beta-7</version>
197             </extension>
198         </extensions>
199
200         <pluginManagement>
201
202             <plugins>
203
204                 <!-- COMPILER PLUGIN -->
205                 <plugin>
206                     <groupId>org.apache.maven.plugins</groupId>
207                     <artifactId>maven-compiler-plugin</artifactId>
208                     <version>${compiler.plugin.version}</version>
209                     <configuration>
210                         <source>${compiler.target.version}</source>
211                         <target>${compiler.source.version}</target>
212                     </configuration>
213                 </plugin>
214
215                 <!-- MAVEN SOURCE PLUGIN -->
216                 <plugin>
217                     <groupId>org.apache.maven.plugins</groupId>
218                     <artifactId>maven-source-plugin</artifactId>
219                     <version>${source.plugin.version}</version>
220                     <configuration>
221                         <excludeResources>true</excludeResources>
222                     </configuration>
223                     <executions>
224                         <execution>
225                             <id>attach-sources</id>
226                             <phase>verify</phase>
227                             <goals>
228                                 <goal>jar-no-fork</goal>
229                             </goals>
230                         </execution>
231                     </executions>
232                 </plugin>
233
234                 <!-- MAVEN BUNDLE PLUGIN -->
235                 <plugin>
236                     <groupId>org.apache.felix</groupId>
237                     <artifactId>maven-bundle-plugin</artifactId>
238                     <version>${bundle.plugin.version}</version>
239                     <extensions>true</extensions>
240                     <configuration>
241                         <instructions>
242                             <Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency>
243                             <Embed-Transitive>true</Embed-Transitive>
244                             <Embed-Directory>lib</Embed-Directory>
245                         </instructions>
246                     </configuration>
247                     <executions>
248                         <execution>
249                             <id>Bundling mapper Jar</id>
250                             <phase>package</phase>
251                             <goals>
252                                 <goal>bundle</goal>
253                             </goals>
254                         </execution>
255                     </executions>
256                 </plugin>
257
258                 <!-- MAVEN AUTO RUN PLUGIN -->
259                 <plugin>
260                     <groupId>org.apache.maven.plugins</groupId>
261                     <artifactId>maven-antrun-plugin</artifactId>
262                     <version>${autorun.plugin.version}</version>
263                 </plugin>
264
265                 <!-- ECLIPSE PLUGIN -->
266                 <plugin>
267                     <groupId>org.apache.maven.plugins</groupId>
268                     <artifactId>maven-eclipse-plugin</artifactId>
269                     <version>${eclipe.plugin.version}</version>
270                 </plugin>
271
272                 <!-- JAR PLUGIN -->
273                 <plugin>
274                     <groupId>org.apache.maven.plugins</groupId>
275                     <artifactId>maven-jar-plugin</artifactId>
276                     <version>${jar.plugin.version}</version>
277                     <configuration>
278                         <archive>
279                             <manifest>
280                                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
281                             </manifest>
282                             <manifestEntries>
283                                 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>
284                             </manifestEntries>
285                         </archive>
286                     </configuration>
287                 </plugin>
288
289                 <plugin>
290                     <groupId>org.apache.maven.plugins</groupId>
291                     <artifactId>maven-site-plugin</artifactId>
292                     <version>${maven.site.plugin}</version>
293                 </plugin>
294                 <plugin>
295                     <groupId>com.spotify</groupId>
296                     <artifactId>docker-maven-plugin</artifactId>
297                     <version>${docker.maven.version}</version>
298                     <configuration>
299                         <skipDockerBuild>true</skipDockerBuild>
300                     </configuration>
301                 </plugin>
302             </plugins>
303
304         </pluginManagement>
305
306         <plugins>
307
308             <plugin>
309                 <groupId>org.apache.maven.plugins</groupId>
310                 <artifactId>maven-compiler-plugin</artifactId>
311             </plugin>
312
313             <plugin>
314                 <groupId>org.apache.maven.plugins</groupId>
315                 <artifactId>maven-jar-plugin</artifactId>
316             </plugin>
317
318             <plugin>
319                 <groupId>org.apache.maven.plugins</groupId>
320                 <artifactId>maven-source-plugin</artifactId>
321             </plugin>
322
323         </plugins>
324     </build>
325
326     <reporting>
327         <plugins>
328             <plugin>
329                 <groupId>org.apache.maven.plugins</groupId>
330                 <artifactId>maven-checkstyle-plugin</artifactId>
331                 <configuration>
332                     <configLocation>${checkstyle.file.name}</configLocation>
333                     <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
334                 </configuration>
335             </plugin>
336         </plugins>
337     </reporting>
338
339     <modules>
340         <module>UniversalVesAdapter</module>
341     </modules>
342
343 </project>