Replace springboot jackson deps
[aai/aai-common.git] / aai-core / pom.xml
1 <?xml version="1.0"?>
2 <!--
3
4     ============LICENSE_START=======================================================
5     org.onap.aai
6     ================================================================================
7     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
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 -->
23 <project
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
25         xmlns="http://maven.apache.org/POM/4.0.0"
26         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27         <modelVersion>4.0.0</modelVersion>
28         <parent>
29                 <groupId>org.onap.aai.aai-common</groupId>
30                 <artifactId>aai-parent</artifactId>
31                 <version>1.6.1-SNAPSHOT</version>
32                 <relativePath>../aai-parent/pom.xml</relativePath>
33         </parent>
34         <artifactId>aai-core</artifactId>
35         <name>aai-core</name>
36         <packaging>jar</packaging>
37         <properties>
38                 <springframework.version>4.3.24.RELEASE</springframework.version>
39                 <sonar.language>java</sonar.language>
40                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
41                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
42                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
43                 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
44                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
45                 <httpclient.version>4.5.5</httpclient.version>
46                 <jackson.version>2.2.3</jackson.version>
47                 <eelf.core.version>1.0.1-oss</eelf.core.version>
48                 <logback.version>1.2.3</logback.version>
49                 <freemarker.version>2.3.21</freemarker.version>
50                 <jacoco.line.coverage.limit>0.50</jacoco.line.coverage.limit>
51                 <gremlin.version>3.2.2</gremlin.version>
52                 <groovy.version>2.4.15</groovy.version>
53                 <jetty.version>9.4.11.v20180605</jetty.version>
54
55                 <!-- Start of Default ONAP Schema Properties -->
56                 <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
57                 <gendoc.version>v15</gendoc.version>
58                 <aai.release>onap</aai.release>
59                 <schema.uri.base.path>/aai</schema.uri.base.path>
60                 <schema.configuration.location>N/A</schema.configuration.location>
61                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
62                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
63                 <schema.version.depth.start>v10</schema.version.depth.start>
64                 <schema.version.related.link.start>v10</schema.version.related.link.start>
65                 <schema.version.app.root.start>v11</schema.version.app.root.start>
66                 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
67                 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
68                 <schema.version.api.default>v15</schema.version.api.default>
69                 <schema.version.list>v10,v11,v12,v13,v14,v15</schema.version.list>
70                 <schema.translator.list>config</schema.translator.list>
71                 <!-- End of Default ONAP Schema Properties -->
72         </properties>
73         <profiles>
74                 <!-- Start of ONAP profile -->
75                 <profile>
76                         <id>onap</id>
77                         <properties>
78                                 <springframework.version>4.3.24.RELEASE</springframework.version>
79                                 <aai.release>onap</aai.release>
80                                 <schema.configuration.location>N/A</schema.configuration.location>
81                                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
82                                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
83                                 <schema.version.depth.start>v10</schema.version.depth.start>
84                                 <schema.version.related.link.start>v10</schema.version.related.link.start>
85                                 <schema.version.app.root.start>v11</schema.version.app.root.start>
86                                 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
87                                 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
88                                 <schema.version.api.default>v15</schema.version.api.default>
89                                 <schema.version.list>v10,v11,v12,v13,v14,v15</schema.version.list>
90                                 <gendoc.version>v15</gendoc.version>
91                         </properties>
92                 </profile>
93                 <!-- End of ONAP profile -->
94         </profiles>
95         <build>
96                 <plugins>
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-surefire-plugin</artifactId>
100                                 <version>2.12.4</version>
101                                 <configuration>
102                                         <argLine>-noverify ${argLine}</argLine>
103                                         <systemPropertyVariables>
104                                                 <AJSC_HOME>.</AJSC_HOME>
105                                                 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
106                                         </systemPropertyVariables>
107                                 </configuration>
108                         </plugin>
109                         <plugin>
110                                 <groupId>org.apache.maven.plugins</groupId>
111                                 <artifactId>maven-dependency-plugin</artifactId>
112                                 <version>2.8</version>
113                         </plugin>
114                         <plugin>
115                                 <groupId>org.codehaus.mojo</groupId>
116                                 <artifactId>sonar-maven-plugin</artifactId>
117                                 <version>3.2</version>
118                         </plugin>
119                         <plugin>
120                                 <groupId>org.jacoco</groupId>
121                                 <artifactId>jacoco-maven-plugin</artifactId>
122                                 <version>0.7.7.201606060606</version>
123                                 <configuration>
124                                         <dumpOnExit>true</dumpOnExit>
125                                 </configuration>
126                                 <executions>
127                                         <execution>
128                                                 <id>jacoco-initialize-unit-tests</id>
129                                                 <goals>
130                                                         <goal>prepare-agent</goal>
131                                                 </goals>
132                                                 <configuration>
133                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
134                                                         <!-- <append>true</append> -->
135                                                 </configuration>
136                                         </execution>
137                                         <execution>
138                                                 <id>post-unit-test</id>
139                                                 <phase>test</phase>
140                                                 <goals>
141                                                         <goal>report</goal>
142                                                 </goals>
143                                                 <configuration>
144                                                         <!-- Sets the path to the file which contains the execution data. -->
145                                                         <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
146                                                         <!-- Sets the output directory for the code coverage report. -->
147                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
148                                                 </configuration>
149                                         </execution>
150                                         <execution>
151                                                 <id>default-check</id>
152                                                 <goals>
153                                                         <goal>check</goal>
154                                                 </goals>
155                                                 <configuration>
156                                                         <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
157                                                         <rules>
158                                                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
159                                                                         <element>BUNDLE</element>
160                                                                         <limits>
161                                                                                 <limit implementation="org.jacoco.report.check.Limit">
162                                                                                         <counter>LINE</counter>
163                                                                                         <value>COVEREDRATIO</value>
164                                                                                         <minimum>${jacoco.line.coverage.limit}</minimum>
165                                                                                 </limit>
166                                                                         </limits>
167                                                                 </rule>
168                                                         </rules>
169                                                 </configuration>
170                                         </execution>
171                                 </executions>
172                         </plugin>
173                         <plugin>
174                                 <!-- explicitly define maven-deploy-plugin after other to force exec 
175                                         order -->
176                                 <groupId>org.apache.maven.plugins</groupId>
177                                 <artifactId>maven-deploy-plugin</artifactId>
178                         </plugin>
179                         <plugin>
180                                 <groupId>org.apache.maven.plugins</groupId>
181                                 <artifactId>maven-site-plugin</artifactId>
182                         </plugin>
183                 </plugins>
184         </build>
185
186         <dependencies>
187                 <dependency>
188                         <groupId>org.onap.aai.aai-common</groupId>
189                         <artifactId>aai-schema-ingest</artifactId>
190                 </dependency>
191                 <dependency>
192                         <groupId>org.onap.aai.aai-common</groupId>
193                         <artifactId>aai-annotations</artifactId>
194                 </dependency>
195                 <dependency>
196                         <groupId>commons-lang</groupId>
197                         <artifactId>commons-lang</artifactId>
198                 </dependency>
199                 <dependency>
200                         <groupId>org.apache.commons</groupId>
201                         <artifactId>commons-text</artifactId>
202                         <scope>compile</scope>
203                 </dependency>
204                 <dependency>
205                         <groupId>com.att.eelf</groupId>
206                         <artifactId>eelf-core</artifactId>
207                 </dependency>
208                 <dependency>
209                         <groupId>org.codehaus.jackson</groupId>
210                         <artifactId>jackson-core-asl</artifactId>
211                 </dependency>
212                 <dependency>
213                         <groupId>org.codehaus.jackson</groupId>
214                         <artifactId>jackson-mapper-asl</artifactId>
215                 </dependency>
216                 <dependency>
217                         <groupId>junit</groupId>
218                         <artifactId>junit</artifactId>
219                         <scope>test</scope>
220                 </dependency>
221                 <dependency>
222                         <groupId>org.hamcrest</groupId>
223                         <artifactId>hamcrest-junit</artifactId>
224                         <scope>test</scope>
225                 </dependency>
226                 <dependency>
227                         <groupId>org.hamcrest</groupId>
228                         <artifactId>hamcrest-core</artifactId>
229                         <scope>test</scope>
230                 </dependency>
231                 <dependency>
232                         <groupId>org.mockito</groupId>
233                         <artifactId>mockito-all</artifactId>
234                         <scope>test</scope>
235                 </dependency>
236                 <dependency>
237                         <groupId>org.powermock</groupId>
238                         <artifactId>powermock-module-junit4</artifactId>
239                         <scope>test</scope>
240                 </dependency>
241                 <dependency>
242                         <groupId>org.powermock</groupId>
243                         <artifactId>powermock-api-mockito</artifactId>
244                         <scope>test</scope>
245                 </dependency>
246                 <dependency>
247                         <groupId>com.google.guava</groupId>
248                         <artifactId>guava</artifactId>
249                 </dependency>
250                 <dependency>
251                         <groupId>org.janusgraph</groupId>
252                         <artifactId>janusgraph-core</artifactId>
253                         <exclusions>
254                                 <exclusion>
255                                         <groupId>org.slf4j</groupId>
256                                         <artifactId>slf4j-log4j12</artifactId>
257                                 </exclusion>
258                                 <exclusion>
259                                         <groupId>dom4j</groupId>
260                                         <artifactId>dom4j</artifactId>
261                                 </exclusion>
262                         </exclusions>
263                 </dependency>
264                 <dependency>
265                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
266                         <artifactId>jackson-jaxrs-json-provider</artifactId>
267                 </dependency>
268                 <dependency>
269                         <groupId>com.googlecode.json-simple</groupId>
270                         <artifactId>json-simple</artifactId>
271                 </dependency>
272                 <dependency>
273                         <groupId>javax.xml.bind</groupId>
274                         <artifactId>jaxb-api</artifactId>
275                 </dependency>
276                 <dependency>
277                         <groupId>org.eclipse.persistence</groupId>
278                         <artifactId>eclipselink</artifactId>
279                 </dependency>
280                 <dependency>
281                         <groupId>com.google.code.gson</groupId>
282                         <artifactId>gson</artifactId>
283                 </dependency>
284                 <dependency>
285                         <groupId>com.jayway.jsonpath</groupId>
286                         <artifactId>json-path</artifactId>
287                 </dependency>
288                 <dependency>
289                         <groupId>org.eclipse.jetty</groupId>
290                         <artifactId>jetty-util</artifactId>
291                 </dependency>
292                 <dependency>
293                         <groupId>com.fasterxml.jackson.module</groupId>
294                         <artifactId>jackson-module-jaxb-annotations</artifactId>
295                 </dependency>
296                 <dependency>
297                         <groupId>com.sun.jersey</groupId>
298                         <artifactId>jersey-core</artifactId>
299                 </dependency>
300                 <dependency>
301                         <groupId>com.sun.jersey</groupId>
302                         <artifactId>jersey-client</artifactId>
303                 </dependency>
304                 <dependency>
305                         <groupId>com.sun.jersey</groupId>
306                         <artifactId>jersey-json</artifactId>
307                 </dependency>
308                 <dependency>
309                         <groupId>javax.ws.rs</groupId>
310                         <artifactId>javax.ws.rs-api</artifactId>
311                 </dependency>
312                 <dependency>
313                         <groupId>org.apache.tinkerpop</groupId>
314                         <artifactId>gremlin-core</artifactId>
315                 </dependency>
316                 <dependency>
317                         <groupId>org.apache.tinkerpop</groupId>
318                         <artifactId>tinkergraph-gremlin</artifactId>
319                 </dependency>
320                 <dependency>
321                         <groupId>org.slf4j</groupId>
322                         <artifactId>slf4j-api</artifactId>
323                 </dependency>
324                 <dependency>
325                         <groupId>com.fasterxml.jackson.core</groupId>
326                         <artifactId>jackson-annotations</artifactId>
327
328                 </dependency>
329                 <dependency>
330                         <groupId>com.fasterxml.jackson.dataformat</groupId>
331                         <artifactId>jackson-dataformat-yaml</artifactId>
332                 </dependency>
333                 <dependency>
334                         <groupId>xml-apis</groupId>
335                         <artifactId>xml-apis</artifactId>
336                 </dependency>
337                 <dependency>
338                         <groupId>commons-cli</groupId>
339                         <artifactId>commons-cli</artifactId>
340                 </dependency>
341                 <dependency>
342                         <groupId>com.beust</groupId>
343                         <artifactId>jcommander</artifactId>
344                 </dependency>
345                 <dependency>
346                         <groupId>org.json</groupId>
347                         <artifactId>json</artifactId>
348
349                 </dependency>
350                 <dependency>
351                         <groupId>javax.servlet</groupId>
352                         <artifactId>javax.servlet-api</artifactId>
353                 </dependency>
354                 <dependency>
355                         <groupId>com.bazaarvoice.jolt</groupId>
356                         <artifactId>jolt-complete</artifactId>
357                 </dependency>
358                 <dependency>
359                         <groupId>ch.qos.logback</groupId>
360                         <artifactId>logback-core</artifactId>
361                 </dependency>
362                 <dependency>
363                         <groupId>ch.qos.logback</groupId>
364                         <artifactId>logback-classic</artifactId>
365                 </dependency>
366                 <dependency>
367                         <groupId>ch.qos.logback</groupId>
368                         <artifactId>logback-access</artifactId>
369                 </dependency>
370                 <dependency>
371                         <groupId>org.apache.activemq</groupId>
372                         <artifactId>activemq-broker</artifactId>
373                 </dependency>
374                 <dependency>
375                         <groupId>org.apache.activemq</groupId>
376                         <artifactId>activemq-openwire-legacy</artifactId>
377                 </dependency>
378                 <dependency>
379                         <groupId>com.opencsv</groupId>
380                         <artifactId>opencsv</artifactId>
381                 </dependency>
382                 <dependency>
383                         <groupId>org.freemarker</groupId>
384                         <artifactId>freemarker</artifactId>
385                 </dependency>
386                 <dependency>
387                         <groupId>com.github.fge</groupId>
388                         <artifactId>json-patch</artifactId>
389                 </dependency>
390                 <dependency>
391                         <groupId>org.codehaus.groovy</groupId>
392                         <artifactId>groovy</artifactId>
393                         <classifier>indy</classifier>
394                 </dependency>
395                 <dependency>
396                         <groupId>org.springframework</groupId>
397                         <artifactId>spring-context</artifactId>
398                 </dependency>
399                 <dependency>
400                         <groupId>org.springframework</groupId>
401                         <artifactId>spring-web</artifactId>
402                 </dependency>
403                 <dependency>
404                         <groupId>org.springframework</groupId>
405                         <artifactId>spring-core</artifactId>
406                 </dependency>
407                 <dependency>
408                         <groupId>org.springframework</groupId>
409                         <artifactId>spring-expression</artifactId>
410                 </dependency>
411                 <dependency>
412                         <groupId>org.springframework</groupId>
413                         <artifactId>spring-webmvc</artifactId>
414                 </dependency>
415                 <dependency>
416                         <groupId>org.springframework</groupId>
417                         <artifactId>spring-test</artifactId>
418                         <scope>test</scope>
419                 </dependency>
420                 <dependency>
421                         <groupId>org.springframework.boot</groupId>
422                         <artifactId>spring-boot-test</artifactId>
423                         <scope>test</scope>
424                 </dependency>
425                 <dependency>
426                         <groupId>org.powermock</groupId>
427                         <artifactId>powermock-module-javaagent</artifactId>
428                         <scope>test</scope>
429                 </dependency>
430                 <dependency>
431                         <groupId>org.skyscreamer</groupId>
432                         <artifactId>jsonassert</artifactId>
433                         <scope>test</scope>
434                 </dependency>
435                 <dependency>
436                         <groupId>org.apache.httpcomponents</groupId>
437                         <artifactId>httpclient</artifactId>
438                 </dependency>
439                 <dependency>
440                         <groupId>org.apache.tinkerpop</groupId>
441                         <artifactId>gremlin-groovy</artifactId>
442                         <exclusions>
443                                 <exclusion>
444                                         <groupId>org.codehaus.groovy</groupId>
445                                         <artifactId>groovy</artifactId>
446                                 </exclusion>
447                         </exclusions>
448                 </dependency>
449                 <dependency>
450                         <groupId>org.springframework</groupId>
451                         <artifactId>spring-jms</artifactId>
452                 </dependency>
453                 <dependency>
454                         <groupId>com.fasterxml.jackson.core</groupId>
455                         <artifactId>jackson-core</artifactId>
456                 </dependency>
457                 <dependency>
458                         <groupId>com.fasterxml.jackson.core</groupId>
459                         <artifactId>jackson-databind</artifactId>
460                 </dependency>
461                 <dependency>
462                         <groupId>com.fasterxml.jackson.core</groupId>
463                         <artifactId>jackson-annotations</artifactId>
464                 </dependency>
465                 <dependency>
466                         <groupId>log4j</groupId>
467                         <artifactId>log4j</artifactId>
468                 </dependency>
469         </dependencies>
470
471         <!-- Plugins and repositories -->
472         <pluginRepositories>
473                 <pluginRepository>
474                         <id>central</id>
475                         <url>http://repo1.maven.org/maven2</url>
476                 </pluginRepository>
477                 <pluginRepository>
478                         <id>EvoSuite</id>
479                         <name>EvoSuite Repository</name>
480                         <url>http://www.evosuite.org/m2</url>
481                 </pluginRepository>
482         </pluginRepositories>
483
484         <reporting>
485                 <plugins>
486                         <plugin>
487                                 <groupId>org.apache.maven.plugins</groupId>
488                                 <artifactId>maven-javadoc-plugin</artifactId>
489                                 <version>2.10.4</version>
490                                 <configuration>
491                                         <failOnError>false</failOnError>
492                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
493                                         <docletArtifact>
494                                                 <groupId>org.umlgraph</groupId>
495                                                 <artifactId>umlgraph</artifactId>
496                                                 <version>5.6</version>
497                                         </docletArtifact>
498                                         <additionalparam>-views</additionalparam>
499                                         <useStandardDocletOptions>true</useStandardDocletOptions>
500                                 </configuration>
501                         </plugin>
502                 </plugins>
503         </reporting>
504 </project>