Upgrade jackson 2.9.5
[policy/drools-pdp.git] / pom.xml
1 <!-- 
2   ============LICENSE_START======================================================= 
3   ONAP Policy Engine - Drools PDP 
4   ================================================================================
5   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END========================================================= 
19 -->
20
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24
25         <parent>
26                 <groupId>org.onap.oparent</groupId>
27                 <artifactId>oparent</artifactId>
28                 <version>1.1.0</version>
29                 <relativePath />
30         </parent>
31
32         <groupId>org.onap.policy.drools-pdp</groupId>
33         <artifactId>drools-pdp</artifactId>
34         <version>1.2.0-SNAPSHOT</version>
35         <packaging>pom</packaging>
36         <name>policy-drools-pdp</name>
37
38         <description>The ONAP Policy Engine drools-based PDP Project</description>
39
40         <properties>
41                 <!-- Project common build settings -->
42                 <project.source.version>1.8</project.source.version>
43                 <project.target.version>1.8</project.target.version>
44
45                 <!-- Project path properties -->
46                 <nexusproxy>https://nexus.onap.org</nexusproxy>
47                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
48                 <releases.path>content/repositories/releases/</releases.path>
49                 <snapshots.path>content/repositories/snapshots/</snapshots.path>
50                 <staging.path>content/repositories/staging/</staging.path>
51
52                 <!-- sonar/jacoco overrides -->
53                 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports 
54                         into one file shared across sub-modules -->
55                 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
56                 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
57                 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
58
59                 <!-- Project common dependency versions -->
60                 <dmaap.version>1.1.3</dmaap.version>
61                 <cambria.version>0.0.1</cambria.version>
62                 <jersey.version>2.25.1</jersey.version>
63                 <jersey.swagger.version>1.5.18</jersey.swagger.version>
64                 <jackson.version>2.9.5</jackson.version>
65                 <http.client.version>4.5.5</http.client.version>
66                 <http.core.version>4.4.4</http.core.version>
67                 <logback.version>1.2.3</logback.version>
68                 <junit.version>4.12</junit.version>
69                 <eclipselink.version>2.7.0</eclipselink.version>
70                 <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version>
71                 <hibernate.core.version>5.2.10.Final</hibernate.core.version>
72                 <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version>
73                 <commons.io.version>2.5</commons.io.version>
74                 <guava.version>23.0</guava.version>
75                 <xml.apis.version>1.4.01</xml.apis.version>
76         </properties>
77
78         <modules>
79                 <module>policy-utils</module>
80                 <module>policy-core</module>
81                 <module>policy-endpoints</module>
82                 <module>policy-management</module>
83                 <module>feature-healthcheck</module>
84                 <module>feature-eelf</module>
85                 <module>feature-session-persistence</module>
86                 <module>feature-test-transaction</module>
87                 <module>api-state-management</module>
88                 <module>feature-state-management</module>
89                 <module>api-active-standby-management</module>
90                 <module>feature-active-standby-management</module>
91                 <module>feature-simulators</module>
92                 <module>packages</module>
93         </modules>
94
95         <distributionManagement>
96                 <repository>
97                         <id>ecomp-releases</id>
98                         <name>ONAP Release Repository</name>
99                         <url>${nexusproxy}/${releases.path}</url>
100                 </repository>
101                 <snapshotRepository>
102                         <id>ecomp-snapshots</id>
103                         <name>ONAP Snapshot Repository</name>
104                         <url>${nexusproxy}/${snapshots.path}</url>
105                 </snapshotRepository>
106                 <site>
107                         <id>ecomp-site</id>
108                         <url>dav:${nexusproxy}${sitePath}</url>
109                 </site>
110         </distributionManagement>
111
112         <dependencyManagement>
113                 <dependencies>
114                         <dependency>
115                                 <groupId>com.google.guava</groupId>
116                                 <artifactId>guava</artifactId>
117                                 <version>${guava.version}</version>
118                         </dependency>
119                         <dependency>
120                                 <groupId>javax.ws.rs</groupId>
121                                 <artifactId>javax.ws.rs-api</artifactId>
122                                 <version>2.0.1</version>
123                         </dependency>
124                         <dependency>
125                                 <groupId>org.glassfish.hk2.external</groupId>
126                                 <artifactId>javax.inject</artifactId>
127                                 <version>2.4.0-b31</version>
128                         </dependency>
129                         <dependency>
130                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
131                                 <artifactId>jackson-jaxrs-base</artifactId>
132                                 <version>${jackson.version}</version>
133                         </dependency>
134                         <dependency>
135                                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
136                                 <artifactId>jackson-jaxrs-json-provider</artifactId>
137                                 <version>${jackson.version}</version>
138                         </dependency>
139                         <dependency>
140                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
141                                 <artifactId>jackson-dataformat-xml</artifactId>
142                                 <version>${jackson.version}</version>
143                         </dependency>
144                         <dependency>
145                                 <groupId>com.fasterxml.jackson.dataformat</groupId>
146                                 <artifactId>jackson-dataformat-yaml</artifactId>
147                                 <version>${jackson.version}</version>
148                         </dependency>
149                         <dependency>
150                                 <groupId>com.fasterxml.jackson.datatype</groupId>
151                                 <artifactId>jackson-datatype-joda</artifactId>
152                                 <version>${jackson.version}</version>
153                         </dependency>
154                         <dependency>
155                                 <groupId>org.glassfish.jersey.containers</groupId>
156                                 <artifactId>jersey-common</artifactId>
157                                 <version>${jersey.version}</version>
158                         </dependency>
159                         <dependency>
160                                 <groupId>org.glassfish.jersey.containers</groupId>
161                                 <artifactId>jersey-container-servlet-core</artifactId>
162                                 <version>${jersey.version}</version>
163                         </dependency>
164                         <dependency>
165                                 <groupId>io.swagger</groupId>
166                                 <artifactId>swagger-jersey2-jaxrs</artifactId>
167                                 <version>${jersey.swagger.version}</version>
168                         </dependency>
169                         <dependency>
170                                 <groupId>org.apache.httpcomponents</groupId>
171                                 <artifactId>httpclient</artifactId>
172                                 <version>${http.client.version}</version>
173                         </dependency>
174                         <dependency>
175                                 <groupId>org.apache.httpcomponents</groupId>
176                                 <artifactId>httpcore</artifactId>
177                                 <version>${http.core.version}</version>
178                         </dependency>
179                         <dependency>
180                                 <groupId>ch.qos.logback</groupId>
181                                 <artifactId>logback-classic</artifactId>
182                                 <version>${logback.version}</version>
183                         </dependency>
184                         <dependency>
185                                 <groupId>junit</groupId>
186                                 <artifactId>junit</artifactId>
187                                 <version>${junit.version}</version>
188                         </dependency>
189                         <dependency>
190                                 <groupId>org.eclipse.persistence</groupId>
191                                 <artifactId>eclipselink</artifactId>
192                                 <version>${eclipselink.version}</version>
193                         </dependency>
194                         <dependency>
195                                 <groupId>org.eclipse.persistence</groupId>
196                                 <artifactId>org.eclipse.persistence.jpa</artifactId>
197                                 <version>${eclipselink.version}</version>
198                         </dependency>
199                         <dependency>
200                                 <groupId>org.mariadb.jdbc</groupId>
201                                 <artifactId>mariadb-java-client</artifactId>
202                                 <version>${mariadb.jdbc.version}</version>
203                         </dependency>
204                         <dependency>
205                                 <groupId>org.hibernate</groupId>
206                                 <artifactId>hibernate-core</artifactId>
207                                 <version>${hibernate.core.version}</version>
208                         </dependency>
209                         <dependency>
210                                 <groupId>org.hibernate.common</groupId>
211                                 <artifactId>hibernate-commons-annotations</artifactId>
212                                 <version>${hibernate.commons.annotations.version}</version>
213                         </dependency>
214                         <dependency>
215                                 <groupId>commons-io</groupId>
216                                 <artifactId>commons-io</artifactId>
217                                 <version>${commons.io.version}</version>
218                         </dependency>
219                         <dependency>
220                                 <groupId>xml-apis</groupId>
221                                 <artifactId>xml-apis</artifactId>
222                                 <version>${xml.apis.version}</version>
223                         </dependency>
224                 </dependencies>
225         </dependencyManagement>
226
227         <build>
228                 <plugins>
229                         <plugin>
230                                 <groupId>org.jacoco</groupId>
231                                 <artifactId>jacoco-maven-plugin</artifactId>
232                                 <executions>
233                                         <execution>
234                                                 <id>pre-unit-test</id>
235                                                 <goals>
236                                                         <goal>prepare-agent</goal>
237                                                 </goals>
238                                                 <configuration>
239                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
240                                                         <append>true</append>
241                                                 </configuration>
242                                         </execution>
243                                         <execution>
244                                                 <id>post-unit-test</id>
245                                                 <phase>test</phase>
246                                                 <goals>
247                                                         <goal>report</goal>
248                                                 </goals>
249                                                 <configuration>
250                                                         <dataFile>${sonar.jacoco.reportPath}</dataFile>
251                                                 </configuration>
252                                         </execution>
253                                 </executions>
254                         </plugin>
255                         <plugin>
256                                 <groupId>org.sonatype.plugins</groupId>
257                                 <artifactId>nexus-staging-maven-plugin</artifactId>
258                                 <extensions>true</extensions>
259                                 <configuration>
260                                         <nexusUrl>${nexusproxy}</nexusUrl>
261                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
262                                         <serverId>ecomp-staging</serverId>
263                                 </configuration>
264                         </plugin>
265                         <plugin>
266                                 <groupId>org.apache.maven.plugins</groupId>
267                                 <artifactId>maven-deploy-plugin</artifactId>
268                                 <configuration>
269                                         <skip />
270                                 </configuration>
271                         </plugin>
272                         <plugin>
273                                 <groupId>org.apache.maven.plugins</groupId>
274                                 <artifactId>maven-compiler-plugin</artifactId>
275                                 <version>3.0</version>
276                                 <configuration>
277                                         <encoding>${project.encoding}</encoding>
278                                         <source>${project.source.version}</source>
279                                         <target>${project.target.version}</target>
280                                 </configuration>
281                         </plugin>
282                         <plugin>
283                                 <groupId>org.apache.maven.plugins</groupId>
284                                 <artifactId>maven-resources-plugin</artifactId>
285                                 <version>2.6</version>
286                                 <configuration>
287                                         <encoding>${project.encoding}</encoding>
288                                 </configuration>
289                         </plugin>
290
291                         <plugin>
292                                 <groupId>org.apache.maven.plugins</groupId>
293                                 <artifactId>maven-site-plugin</artifactId>
294                                 <dependencies>
295                                         <dependency>
296                                                 <groupId>org.apache.maven.wagon</groupId>
297                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
298                                                 <version>2.10</version>
299                                         </dependency>
300                                 </dependencies>
301                         </plugin>
302                 </plugins>
303                 <pluginManagement>
304                         <plugins>
305                                 <plugin>
306                                         <groupId>org.jacoco</groupId>
307                                         <artifactId>jacoco-maven-plugin</artifactId>
308                                         <version>${jacoco.version}</version>
309                                         <configuration>
310                                                 <!-- Note: This exclusion list should match <sonar.exclusions> property 
311                                                         above -->
312                                                 <excludes>
313                                                         <exclude>**/gen/**</exclude>
314                                                         <exclude>**/generated-sources/**</exclude>
315                                                         <exclude>**/yang-gen/**</exclude>
316                                                         <exclude>**/pax/**</exclude>
317                                                 </excludes>
318                                         </configuration>
319                                         <executions>
320                                                 <!-- Prepares the property pointing to the JaCoCo runtime agent which 
321                                                         is passed as VM argument when Maven the Surefire plugin is executed. -->
322                                                 <execution>
323                                                         <id>pre-unit-test</id>
324                                                         <goals>
325                                                                 <goal>prepare-agent</goal>
326                                                         </goals>
327                                                         <configuration>
328                                                                 <destFile>${sonar.jacoco.reportPath}</destFile>
329                                                         </configuration>
330                                                 </execution>
331                                                 <!-- Ensures that the code coverage report for unit tests is created 
332                                                         after unit tests have been run. -->
333                                                 <execution>
334                                                         <id>post-unit-test</id>
335                                                         <phase>test</phase>
336                                                         <goals>
337                                                                 <goal>report</goal>
338                                                         </goals>
339                                                         <configuration>
340                                                                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
341                                                         </configuration>
342                                                 </execution>
343                                         </executions>
344                                 </plugin>
345                                 <plugin>
346                                         <groupId>org.eclipse.m2e</groupId>
347                                         <artifactId>lifecycle-mapping</artifactId>
348                                         <version>1.0.0</version>
349                                         <configuration>
350                                                 <lifecycleMappingMetadata>
351                                                         <pluginExecutions>
352                                                                 <pluginExecution>
353                                                                         <pluginExecutionFilter>
354                                                                                 <groupId>org.apache.maven.plugins</groupId>
355                                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
356                                                                                 <versionRange>2.17,)</versionRange>
357                                                                                 <goals>
358                                                                                         <goal>check</goal>
359                                                                                 </goals>
360                                                                         </pluginExecutionFilter>
361                                                                         <action>
362                                                                                 <ignore />
363                                                                         </action>
364                                                                 </pluginExecution>
365                                                         </pluginExecutions>
366                                                 </lifecycleMappingMetadata>
367                                         </configuration>
368                                 </plugin>
369                         </plugins>
370                 </pluginManagement>
371         </build>
372         <reporting>
373                 <plugins>
374                         <plugin>
375                                 <groupId>org.apache.maven.plugins</groupId>
376                                 <artifactId>maven-javadoc-plugin</artifactId>
377                                 <version>2.10.4</version>
378                                 <configuration>
379                                         <failOnError>false</failOnError>
380                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
381                                         <docletArtifact>
382                                                 <groupId>org.umlgraph</groupId>
383                                                 <artifactId>umlgraph</artifactId>
384                                                 <version>5.6</version>
385                                         </docletArtifact>
386                                         <additionalparam>-views</additionalparam>
387                                         <useStandardDocletOptions>true</useStandardDocletOptions>
388                                 </configuration>
389                         </plugin>
390                 </plugins>
391         </reporting>
392
393 </project>