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