Release aai/aai-common
[aai/aai-common.git] / aai-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 ============LICENSE_START======================================================
5 org.onap.aai
6 ===============================================================================
7 Copyright © 2019 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 xmlns="http://maven.apache.org/POM/4.0.0"
24          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26   <modelVersion>4.0.0</modelVersion>
27   <parent>
28     <groupId>org.onap.aai.aai-common</groupId>
29     <artifactId>aai-common</artifactId>
30     <version>1.11.0</version>
31   </parent>
32   <artifactId>aai-parent</artifactId>
33   <name>aai-parent</name>
34   <packaging>pom</packaging>
35
36   <modules>
37
38   </modules>
39
40   <properties>
41     <!-- update this just prior to release or figure out something with version.properties -->
42     <aai.release.version>${aai.common.version}</aai.release.version>
43     <aai.common.logging.version>1.5.1</aai.common.logging.version>
44     <aai.rest.client.version>1.5.1</aai.rest.client.version>
45     <aai.schema.service.version>1.7.3</aai.schema.service.version>
46
47     <aaf.version>2.1.15</aaf.version>
48     <antlr.version>4.7.2</antlr.version>
49     <activemq.version>5.16.1</activemq.version>
50     <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
51     <commons.beanutils.version>1.9.4</commons.beanutils.version>
52     <commons.cli.version>1.4</commons.cli.version>
53     <commons.compress.version>1.21</commons.compress.version>
54     <commons.configuration.version>1.10</commons.configuration.version>
55     <commons.io.version>2.8.0</commons.io.version>
56     <commons.lang.version>2.6</commons.lang.version>
57     <commons.lang3.version>3.9</commons.lang3.version>
58     <commons.net.version>3.6</commons.net.version>
59     <commons.text.version>1.8</commons.text.version>
60     <docker.fabric.version>0.31.0</docker.fabric.version>
61     <dmaap.client.version>1.1.9</dmaap.client.version>
62     <easy.mock.version>4.0.2</easy.mock.version>
63     <eclipse.persistence.version>2.7.11</eclipse.persistence.version>
64     <eelf.core.version>2.0.0-oss</eelf.core.version>
65     <freemarker.version>2.3.31</freemarker.version>
66     <google.guava.version>19.0</google.guava.version>
67     <gremlin.version>3.2.3</gremlin.version>
68     <groovy.version>2.5.15</groovy.version>
69     <gson.version>2.8.6</gson.version>
70     <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
71     <hamcrest.core.version>2.2</hamcrest.core.version>
72     <jackson.bom.version>2.10.1</jackson.bom.version>
73     <janusgraph.version>0.2.3</janusgraph.version>
74     <javatuples.version>1.2</javatuples.version>
75     <jaxb.version>2.3.1</jaxb.version>
76     <old.jaxb.version>2.3.0.1</old.jaxb.version>
77     <jaxrs.version>2.0.1</jaxrs.version>
78     <jcommander.version>1.78</jcommander.version>
79     <jersey.version>1.19.4</jersey.version>
80     <jnr.ffi.version>2.1.11</jnr.ffi.version>
81     <jolt.version>0.0.24</jolt.version>
82     <jopt.simple.version>5.0.4</jopt.simple.version>
83     <jsonassert.version>1.5.0</jsonassert.version>
84     <json.patch.version>1.9</json.patch.version>
85     <!--
86         JSONPath has an bug when it tries to parse an expression
87         when nesting reaches three levels so an junit was failing
88         when it was moving to an library of 2.3.0 or above
89         There seems to be no new releases since 2017 so not sure if
90         this library is still active or not
91         We might need to move away from this library but its in the core logic
92         and would take some time to refactor
93         Please don't upgrade to 2.3.0 or above for nexus iq or security scans
94         as it could potentially break our code
95     -->
96     <json.path.version>2.2.0</json.path.version>
97     <json.version>20190722</json.version>
98     <junit.version>4.12</junit.version>
99     <httpclient.version>4.5.13</httpclient.version>
100     <io.swagger.version>1.5.24</io.swagger.version>
101     <logback.version>1.2.7</logback.version>
102     <slf4j.version>1.7.25</slf4j.version>
103     <log4j.version>2.17.1</log4j.version>
104     <mockito.all.version>1.10.19</mockito.all.version>
105     <mockito.core.version>1.10.19</mockito.core.version>
106     <netty.handler.version>4.1.63.Final</netty.handler.version>
107     <netty.version>4.1.63.Final</netty.version>
108     <opencsv.version>3.1</opencsv.version>
109     <powermock.version>1.6.6</powermock.version>
110     <plexus.utils.version>3.1.1</plexus.utils.version>
111     <reflections.version>0.9.10</reflections.version>
112     <snakeyaml.version>1.29</snakeyaml.version>
113
114     <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
115     <javax.servlet.version>3.1.0</javax.servlet.version>
116     <javax.annotation.version>1.2</javax.annotation.version>
117
118     <sonar.jacoco.reportPath />
119     <sonar.jacoco.itReportPath />
120     <sonar.jacoco.reportMissing.force.zero />
121
122     <!-- we let things pass by default, set custom level for each child project -->
123     <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
124
125     <jacoco.version>0.8.5</jacoco.version>
126     <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
127     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
128     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
129     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
130
131     <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
132
133     <spring.version>5.1.13.RELEASE</spring.version>
134     <spring.jms.version>5.1.13.RELEASE</spring.jms.version>
135     <spring.test.version>5.1.13.RELEASE</spring.test.version>
136     <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
137     <json.simple.version>1.1.1</json.simple.version>
138     <powermock.api.mockito2.version>2.0.4</powermock.api.mockito2.version>
139     <aspectj.version>1.9.1</aspectj.version>
140     <logging.analytics.version>1.5.1</logging.analytics.version>
141   </properties>
142
143   <profiles>
144     <profile>
145       <id>spring-boot-2-1</id>
146       <properties>
147         <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
148       </properties>
149     </profile>
150     <profile>
151       <id>spring-boot-1-5</id>
152       <properties>
153         <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
154       </properties>
155     </profile>
156   </profiles>
157
158   <dependencyManagement>
159     <dependencies>
160
161       <dependency>
162         <groupId>com.googlecode.json-simple</groupId>
163         <artifactId>json-simple</artifactId>
164         <version>${json.simple.version}</version>
165       </dependency>
166
167       <dependency>
168         <groupId>org.onap.aai.aai-common</groupId>
169         <artifactId>aai-schema-ingest</artifactId>
170         <version>${aai.release.version}</version>
171       </dependency>
172
173       <dependency>
174         <groupId>org.onap.aai.aai-common</groupId>
175         <artifactId>aai-core</artifactId>
176         <version>${aai.release.version}</version>
177       </dependency>
178
179       <dependency>
180         <groupId>org.onap.aai.aai-common</groupId>
181         <artifactId>aai-aaf-auth</artifactId>
182         <version>${aai.release.version}</version>
183       </dependency>
184
185       <dependency>
186         <groupId>org.onap.aai.aai-common</groupId>
187         <artifactId>aai-els-onap-logging</artifactId>
188         <version>${aai.release.version}</version>
189       </dependency>
190
191       <dependency>
192         <groupId>org.onap.aai.aai-common</groupId>
193         <artifactId>aai-annotations</artifactId>
194         <version>${aai.release.version}</version>
195       </dependency>
196
197       <dependency>
198         <groupId>org.onap.aai.aai-common</groupId>
199         <artifactId>aai-rest</artifactId>
200         <version>${aai.release.version}</version>
201       </dependency>
202
203       <dependency>
204         <groupId>com.fasterxml.jackson</groupId>
205         <artifactId>jackson-bom</artifactId>
206         <version>${jackson.bom.version}</version>
207         <type>pom</type>
208         <scope>import</scope>
209       </dependency>
210
211       <dependency>
212         <groupId>org.springframework.boot</groupId>
213         <artifactId>spring-boot-starter-web</artifactId>
214         <version>${spring.boot.version}</version>
215       </dependency>
216
217       <dependency>
218         <groupId>org.springframework.boot</groupId>
219         <artifactId>spring-boot-starter-parent</artifactId>
220         <version>${spring.boot.version}</version>
221         <type>pom</type>
222         <scope>import</scope>
223       </dependency>
224
225       <dependency>
226         <groupId>org.springframework.boot</groupId>
227         <artifactId>spring-boot-dependencies</artifactId>
228         <version>${spring.boot.version}</version>
229         <type>pom</type>
230         <scope>import</scope>
231       </dependency>
232
233       <dependency>
234         <groupId>org.springframework.boot</groupId>
235         <artifactId>spring-boot-test</artifactId>
236         <scope>test</scope>
237         <version>${spring.boot.version}</version>
238       </dependency>
239
240       <dependency>
241         <groupId>org.springframework</groupId>
242         <artifactId>spring-test</artifactId>
243         <version>${spring.test.version}</version>
244       </dependency>
245
246       <dependency>
247         <groupId>commons-configuration</groupId>
248         <artifactId>commons-configuration</artifactId>
249         <version>${commons.configuration.version}</version>
250       </dependency>
251
252       <dependency>
253         <groupId>org.apache.commons</groupId>
254         <artifactId>commons-lang3</artifactId>
255         <version>${commons.lang3.version}</version>
256       </dependency>
257
258       <dependency>
259         <groupId>com.att.eelf</groupId>
260         <artifactId>eelf-core</artifactId>
261         <version>${eelf.core.version}</version>
262       </dependency>
263
264       <dependency>
265         <groupId>ch.qos.logback</groupId>
266         <artifactId>logback-core</artifactId>
267         <version>${logback.version}</version>
268       </dependency>
269
270       <dependency>
271         <groupId>ch.qos.logback</groupId>
272         <artifactId>logback-classic</artifactId>
273         <version>${logback.version}</version>
274       </dependency>
275
276       <dependency>
277         <groupId>ch.qos.logback</groupId>
278         <artifactId>logback-access</artifactId>
279         <version>${logback.version}</version>
280       </dependency>
281
282       <dependency>
283         <groupId>org.slf4j</groupId>
284         <artifactId>slf4j-api</artifactId>
285         <version>${slf4j.version}</version>
286       </dependency>
287
288       <dependency>
289         <groupId>org.hamcrest</groupId>
290         <artifactId>java-hamcrest</artifactId>
291         <version>${hamcrest.junit.version}</version>
292       </dependency>
293
294       <dependency>
295         <groupId>org.hamcrest</groupId>
296         <artifactId>hamcrest-core</artifactId>
297         <version>${hamcrest.core.version}</version>
298       </dependency>
299
300       <dependency>
301         <groupId>org.hamcrest</groupId>
302         <artifactId>hamcrest-junit</artifactId>
303         <version>${hamcrest.junit.version}</version>
304       </dependency>
305
306       <dependency>
307         <groupId>javax.servlet</groupId>
308         <artifactId>javax.servlet-api</artifactId>
309         <version>${javax.servlet.version}</version>
310         <scope>provided</scope>
311       </dependency>
312       <dependency>
313         <groupId>javax.annotation</groupId>
314         <artifactId>javax.annotation-api</artifactId>
315         <version>${javax.annotation.version}</version>
316       </dependency>
317
318       <dependency>
319         <groupId>junit</groupId>
320         <artifactId>junit</artifactId>
321         <version>${junit.version}</version>
322         <scope>test</scope>
323       </dependency>
324
325       <dependency>
326         <groupId>com.google.guava</groupId>
327         <artifactId>guava</artifactId>
328         <version>${google.guava.version}</version>
329       </dependency>
330
331       <dependency>
332         <groupId>org.janusgraph</groupId>
333         <artifactId>janusgraph-core</artifactId>
334         <version>${janusgraph.version}</version>
335       </dependency>
336
337       <dependency>
338         <groupId>org.janusgraph</groupId>
339         <artifactId>janusgraph-cassandra</artifactId>
340         <version>${janusgraph.version}</version>
341       </dependency>
342
343       <dependency>
344         <groupId>org.janusgraph</groupId>
345         <artifactId>janusgraph-cql</artifactId>
346         <version>${janusgraph.version}</version>
347       </dependency>
348
349       <dependency>
350         <groupId>com.github.jnr</groupId>
351         <artifactId>jnr-ffi</artifactId>
352         <version>${jnr.ffi.version}</version>
353       </dependency>
354
355       <dependency>
356         <groupId>org.apache.tinkerpop</groupId>
357         <artifactId>tinkergraph-gremlin</artifactId>
358         <version>${gremlin.version}</version>
359       </dependency>
360       <dependency>
361         <groupId>org.apache.tinkerpop</groupId>
362         <artifactId>gremlin-core</artifactId>
363         <version>${gremlin.version}</version>
364       </dependency>
365       <dependency>
366         <groupId>org.apache.tinkerpop</groupId>
367         <artifactId>gremlin-driver</artifactId>
368         <version>${gremlin.version}</version>
369       </dependency>
370
371       <dependency>
372         <groupId>org.apache.tinkerpop</groupId>
373         <artifactId>gremlin-groovy</artifactId>
374         <version>${gremlin.version}</version>
375       </dependency>
376
377       <dependency>
378         <groupId>org.codehaus.groovy</groupId>
379         <artifactId>groovy</artifactId>
380         <version>${groovy.version}</version>
381         <classifier>indy</classifier>
382       </dependency>
383
384       <dependency>
385         <groupId>org.mockito</groupId>
386         <artifactId>mockito-all</artifactId>
387         <version>${mockito.all.version}</version>
388       </dependency>
389
390       <dependency>
391         <groupId>org.mockito</groupId>
392         <artifactId>mockito-core</artifactId>
393         <version>${mockito.core.version}</version>
394         <scope>test</scope>
395       </dependency>
396       <dependency>
397         <groupId>org.powermock</groupId>
398         <artifactId>powermock-module-junit4</artifactId>
399         <version>${powermock.version}</version>
400       </dependency>
401
402       <dependency>
403         <groupId>org.powermock</groupId>
404         <artifactId>powermock-module-junit4-rule-agent</artifactId>
405         <version>${powermock.version}</version>
406       </dependency>
407
408       <dependency>
409         <groupId>org.powermock</groupId>
410         <artifactId>powermock-api-mockito2</artifactId>
411         <version>${powermock.api.mockito2.version}</version>
412       </dependency>
413       <dependency>
414         <groupId>org.powermock</groupId>
415         <artifactId>powermock-core</artifactId>
416         <version>${powermock.api.mockito2.version}</version>
417       </dependency>
418       <dependency>
419         <groupId>org.powermock</groupId>
420         <artifactId>powermock-module-javaagent</artifactId>
421         <version>${powermock.version}</version>
422       </dependency>
423       <dependency>
424         <groupId>com.beust</groupId>
425         <artifactId>jcommander</artifactId>
426         <version>${jcommander.version}</version>
427       </dependency>
428
429       <dependency>
430         <groupId>org.antlr</groupId>
431         <artifactId>antlr4-runtime</artifactId>
432         <version>${antlr.version}</version>
433       </dependency>
434       <dependency>
435         <groupId>org.antlr</groupId>
436         <artifactId>antlr4-maven-plugin</artifactId>
437         <version>${antlr.version}</version>
438       </dependency>
439
440       <dependency>
441         <groupId>org.json</groupId>
442         <artifactId>json</artifactId>
443         <version>${json.version}</version>
444       </dependency>
445
446       <dependency>
447         <groupId>org.freemarker</groupId>
448         <artifactId>freemarker</artifactId>
449         <version>${freemarker.version}</version>
450       </dependency>
451
452       <dependency>
453         <groupId>javax.xml.bind</groupId>
454         <artifactId>jaxb-api</artifactId>
455         <version>${jaxb.version}</version>
456       </dependency>
457
458       <dependency>
459         <groupId>org.apache.activemq</groupId>
460         <artifactId>activemq-broker</artifactId>
461         <version>${activemq.version}</version>
462       </dependency>
463
464       <dependency>
465         <groupId>org.apache.activemq</groupId>
466         <artifactId>activemq-client</artifactId>
467         <version>${activemq.version}</version>
468       </dependency>
469
470       <dependency>
471         <groupId>org.apache.activemq</groupId>
472         <artifactId>activemq-openwire-legacy</artifactId>
473         <version>${activemq.version}</version>
474       </dependency>
475
476       <dependency>
477         <groupId>org.onap.aaf.authz</groupId>
478         <artifactId>aaf-cadi-core</artifactId>
479         <version>${aaf.version}</version>
480         <scope>compile</scope>
481       </dependency>
482       <dependency>
483         <groupId>org.onap.aaf.authz</groupId>
484         <artifactId>aaf-cadi-aaf</artifactId>
485         <version>${aaf.version}</version>
486         <scope>compile</scope>
487       </dependency>
488
489       <dependency>
490         <groupId>org.easymock</groupId>
491         <artifactId>easymock</artifactId>
492         <version>${easy.mock.version}</version>
493         <scope>test</scope>
494       </dependency>
495
496       <dependency>
497         <groupId>com.sun.xml.bind</groupId>
498         <artifactId>jaxb-xjc</artifactId>
499         <version>${old.jaxb.version}</version>
500       </dependency>
501
502       <dependency>
503         <groupId>com.sun.xml.bind</groupId>
504         <artifactId>jaxb-impl</artifactId>
505         <version>${old.jaxb.version}</version>
506       </dependency>
507
508       <dependency>
509         <groupId>com.sun.xml.bind</groupId>
510         <artifactId>jaxb-core</artifactId>
511         <version>${old.jaxb.version}</version>
512       </dependency>
513
514       <dependency>
515         <groupId>org.eclipse.persistence</groupId>
516         <artifactId>eclipselink</artifactId>
517         <version>${eclipse.persistence.version}</version>
518       </dependency>
519
520       <dependency>
521         <groupId>org.eclipse.persistence</groupId>
522         <artifactId>org.eclipse.persistence.moxy</artifactId>
523         <version>${eclipse.persistence.version}</version>
524       </dependency>
525
526       <dependency>
527         <groupId>com.github.fge</groupId>
528         <artifactId>json-patch</artifactId>
529         <version>${json.patch.version}</version>
530       </dependency>
531
532       <dependency>
533         <groupId>com.jayway.jsonpath</groupId>
534         <artifactId>json-path</artifactId>
535         <version>${json.path.version}</version>
536       </dependency>
537       <dependency>
538         <groupId>com.jayway.jsonpath</groupId>
539         <artifactId>json-path-assert</artifactId>
540         <version>${json.path.version}</version>
541       </dependency>
542
543       <dependency>
544         <groupId>org.javatuples</groupId>
545         <artifactId>javatuples</artifactId>
546         <version>${javatuples.version}</version>
547       </dependency>
548
549       <dependency>
550         <groupId>com.google.code.gson</groupId>
551         <artifactId>gson</artifactId>
552         <version>${gson.version}</version>
553       </dependency>
554
555       <dependency>
556         <groupId>org.apache.commons</groupId>
557         <artifactId>commons-text</artifactId>
558         <version>${commons.text.version}</version>
559       </dependency>
560
561       <dependency>
562         <groupId>org.codehaus.jackson</groupId>
563         <artifactId>jackson-core-asl</artifactId>
564         <version>${codehaus.jackson.version}</version>
565       </dependency>
566
567       <dependency>
568         <groupId>com.sun.jersey</groupId>
569         <artifactId>jersey-core</artifactId>
570         <version>${jersey.version}</version>
571       </dependency>
572
573       <dependency>
574         <groupId>com.sun.jersey</groupId>
575         <artifactId>jersey-client</artifactId>
576         <version>${jersey.version}</version>
577       </dependency>
578
579       <dependency>
580         <groupId>com.sun.jersey</groupId>
581         <artifactId>jersey-json</artifactId>
582         <version>${jersey.version}</version>
583       </dependency>
584
585       <dependency>
586         <groupId>javax.ws.rs</groupId>
587         <artifactId>javax.ws.rs-api</artifactId>
588         <version>${jaxrs.version}</version>
589       </dependency>
590
591       <dependency>
592         <groupId>commons-cli</groupId>
593         <artifactId>commons-cli</artifactId>
594         <version>${commons.cli.version}</version>
595       </dependency>
596
597       <dependency>
598         <groupId>com.bazaarvoice.jolt</groupId>
599         <artifactId>jolt-complete</artifactId>
600         <version>${jolt.version}</version>
601       </dependency>
602
603       <dependency>
604         <groupId>com.opencsv</groupId>
605         <artifactId>opencsv</artifactId>
606         <version>${opencsv.version}</version>
607       </dependency>
608
609       <dependency>
610           <groupId>org.apache.logging.log4j</groupId>
611           <artifactId>log4j</artifactId>
612           <version>${log4j.version}</version>
613           <type>pom</type>
614       </dependency>
615
616       <dependency>
617         <groupId>commons-io</groupId>
618         <artifactId>commons-io</artifactId>
619         <version>${commons.io.version}</version>
620       </dependency>
621
622       <dependency>
623         <groupId>org.springframework</groupId>
624         <artifactId>spring-web</artifactId>
625         <version>${spring.version}</version>
626       </dependency>
627       <dependency>
628         <groupId>org.springframework</groupId>
629         <artifactId>spring-context</artifactId>
630         <version>${spring.version}</version>
631       </dependency>
632       <dependency>
633         <groupId>org.springframework</groupId>
634         <artifactId>spring-core</artifactId>
635         <version>${spring.version}</version>
636       </dependency>
637       <dependency>
638         <groupId>org.springframework</groupId>
639         <artifactId>spring-orm</artifactId>
640         <version>${spring.version}</version>
641       </dependency>
642       <dependency>
643         <groupId>org.springframework</groupId>
644         <artifactId>spring-oxm</artifactId>
645         <version>${spring.version}</version>
646       </dependency>
647       <dependency>
648         <groupId>org.springframework</groupId>
649         <artifactId>spring-aspects</artifactId>
650         <version>${spring.version}</version>
651       </dependency>
652       <dependency>
653         <groupId>org.springframework</groupId>
654         <artifactId>spring-tx</artifactId>
655         <version>${spring.version}</version>
656       </dependency>
657       <dependency>
658         <groupId>org.springframework</groupId>
659         <artifactId>spring-webmvc</artifactId>
660         <version>${spring.version}</version>
661       </dependency>
662
663       <dependency>
664         <groupId>org.springframework.security</groupId>
665         <artifactId>spring-security-rsa</artifactId>
666         <version>${spring.security.rsa.version}</version>
667       </dependency>
668
669       <dependency>
670         <groupId>org.springframework</groupId>
671         <artifactId>spring-jms</artifactId>
672         <version>${spring.jms.version}</version>
673       </dependency>
674
675       <dependency>
676         <groupId>org.onap.aai.logging-service</groupId>
677         <artifactId>common-logging</artifactId>
678         <version>${aai.common.logging.version}</version>
679       </dependency>
680
681       <dependency>
682         <groupId>org.onap.aai.logging-service</groupId>
683         <artifactId>logging-api</artifactId>
684         <version>${aai.common.logging.version}</version>
685       </dependency>
686
687       <dependency>
688         <groupId>org.onap.logging-analytics</groupId>
689         <artifactId>logging-slf4j</artifactId>
690         <version>${logging.analytics.version}</version>
691       </dependency>
692
693       <dependency>
694         <groupId>org.onap.aai</groupId>
695         <artifactId>rest-client</artifactId>
696         <version>${aai.rest.client.version}</version>
697       </dependency>
698
699       <dependency>
700         <groupId>net.sf.jopt-simple</groupId>
701         <artifactId>jopt-simple</artifactId>
702         <version>${jopt.simple.version}</version>
703       </dependency>
704
705       <dependency>
706         <groupId>io.swagger</groupId>
707         <artifactId>swagger-core</artifactId>
708         <version>${io.swagger.version}</version>
709       </dependency>
710
711       <dependency>
712         <groupId>org.aspectj</groupId>
713         <artifactId>aspectjrt</artifactId>
714         <version>${aspectj.version}</version>
715       </dependency>
716
717       <dependency>
718         <groupId>io.swagger</groupId>
719         <artifactId>swagger-annotations</artifactId>
720         <version>${io.swagger.version}</version>
721       </dependency>
722
723       <dependency>
724         <groupId>io.swagger</groupId>
725         <artifactId>swagger-jersey-jaxrs</artifactId>
726         <version>${io.swagger.version}</version>
727       </dependency>
728
729       <dependency>
730         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
731         <artifactId>dmaapClient</artifactId>
732         <version>${dmaap.client.version}</version>
733       </dependency>
734
735       <dependency>
736         <groupId>io.netty</groupId>
737         <artifactId>netty-handler</artifactId>
738         <version>${netty.handler.version}</version>
739       </dependency>
740
741       <dependency>
742         <groupId>io.netty</groupId>
743         <artifactId>netty-all</artifactId>
744         <version>${netty.version}</version>
745       </dependency>
746
747       <dependency>
748         <groupId>org.onap.aai.schema-service</groupId>
749         <artifactId>aai-schema</artifactId>
750         <version>${aai.schema.service.version}</version>
751       </dependency>
752
753       <dependency>
754         <groupId>org.apache.httpcomponents</groupId>
755         <artifactId>httpclient</artifactId>
756         <version>${httpclient.version}</version>
757       </dependency>
758
759       <dependency>
760         <groupId>org.skyscreamer</groupId>
761         <artifactId>jsonassert</artifactId>
762         <version>${jsonassert.version}</version>
763         <scope>test</scope>
764       </dependency>
765
766       <dependency>
767         <groupId>org.codehaus.plexus</groupId>
768         <artifactId>plexus-utils</artifactId>
769         <version>${plexus.utils.version}</version>
770       </dependency>
771
772       <dependency>
773         <groupId>org.yaml</groupId>
774         <artifactId>snakeyaml</artifactId>
775         <version>${snakeyaml.version}</version>
776       </dependency>
777
778       <dependency>
779         <groupId>org.apache.commons</groupId>
780         <artifactId>commons-compress</artifactId>
781         <version>${commons.compress.version}</version>
782       </dependency>
783
784       <dependency>
785         <groupId>org.reflections</groupId>
786         <artifactId>reflections</artifactId>
787         <version>${reflections.version}</version>
788       </dependency>
789
790       <dependency>
791         <groupId>commons-net</groupId>
792         <artifactId>commons-net</artifactId>
793         <version>${commons.net.version}</version>
794       </dependency>
795
796     </dependencies>
797
798   </dependencyManagement>
799
800   <build>
801     <pluginManagement>
802       <plugins>
803         <plugin>
804           <groupId>org.springframework.boot</groupId>
805           <artifactId>spring-boot-maven-plugin</artifactId>
806           <version>${spring.boot.version}</version>
807         </plugin>
808         <plugin>
809           <groupId>io.fabric8</groupId>
810           <artifactId>docker-maven-plugin</artifactId>
811           <version>${docker.fabric.version}</version>
812         </plugin>
813
814         <plugin>
815           <groupId>org.jacoco</groupId>
816           <artifactId>jacoco-maven-plugin</artifactId>
817           <version>${jacoco.version}</version>
818           <configuration>
819             <!-- Note: This exclusion list should match <sonar.exclusions> property
820                  above -->
821             <excludes>
822               <exclude>**/gen/**</exclude>
823               <exclude>**/generated-sources/**</exclude>
824               <exclude>**/yang-gen/**</exclude>
825               <exclude>**/pax/**</exclude>
826             </excludes>
827           </configuration>
828           <executions>
829             <!-- Prepares the property pointing to the JaCoCo runtime agent which
830                  is passed as VM argument when Maven the Surefire plugin is executed. -->
831             <execution>
832               <id>pre-unit-test</id>
833               <goals>
834                 <goal>prepare-agent</goal>
835               </goals>
836               <configuration>
837                 <!-- Sets the path to the file which contains the execution data
838                      . -->
839                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
840                 <!-- Sets the name of the property containing the settings for JaCoCo
841                      runtime agent. -->
842                 <propertyName>surefireArgLine</propertyName>
843               </configuration>
844             </execution>
845             <!-- Ensures that the code coverage report for unit tests is created
846                  after unit tests have been run. -->
847             <execution>
848               <id>post-unit-test</id>
849               <phase>test</phase>
850               <goals>
851                 <goal>report</goal>
852               </goals>
853               <configuration>
854                 <!-- Sets the path to the file which contains the execution data
855                      . -->
856                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
857                 <!-- Sets the output directory for the code coverage report. -->
858                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
859               </configuration>
860             </execution>
861             <execution>
862               <id>pre-integration-test</id>
863               <phase>pre-integration-test</phase>
864               <goals>
865                 <goal>prepare-agent</goal>
866               </goals>
867               <configuration>
868                 <!-- Sets the path to the file which contains the execution data
869                      . -->
870                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
871                 <!-- Sets the name of the property containing the settings for JaCoCo
872                      runtime agent. -->
873                 <propertyName>failsafeArgLine</propertyName>
874               </configuration>
875             </execution>
876             <!-- Ensures that the code coverage report for integration tests after
877                  integration tests have been run. -->
878             <execution>
879               <id>post-integration-test</id>
880               <phase>post-integration-test</phase>
881               <goals>
882                 <goal>report</goal>
883               </goals>
884               <configuration>
885                 <!-- Sets the path to the file which contains the execution data
886                      . -->
887                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
888                 <!-- Sets the output directory for the code coverage report. -->
889                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
890               </configuration>
891             </execution>
892             <execution>
893               <id>default-check</id>
894               <goals>
895                 <goal>check</goal>
896               </goals>
897               <configuration>
898                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
899                 <rules>
900                   <rule implementation="org.jacoco.maven.RuleConfiguration">
901                     <element>BUNDLE</element>
902                     <limits>
903                       <limit implementation="org.jacoco.report.check.Limit">
904                         <counter>LINE</counter>
905                         <value>COVEREDRATIO</value>
906                         <minimum>${jacoco.line.coverage.limit}</minimum>
907                       </limit>
908                     </limits>
909                   </rule>
910                 </rules>
911               </configuration>
912             </execution>
913           </executions>
914         </plugin>
915         <plugin>
916           <groupId>org.apache.maven.plugins</groupId>
917           <artifactId>maven-surefire-plugin</artifactId>
918           <version>3.0.0-M4</version>
919           <configuration>
920             <!-- Sets the VM argument line used when unit tests are run. -->
921             <argLine>${surefireArgLine}</argLine>
922             <!-- Excludes integration tests when unit tests are run. -->
923             <excludes>
924               <exclude>**/IT*.java</exclude>
925             </excludes>
926           </configuration>
927         </plugin>
928         <plugin>
929           <groupId>org.apache.maven.plugins</groupId>
930           <artifactId>maven-failsafe-plugin</artifactId>
931           <version>3.0.0-M4</version>
932           <executions>
933             <!-- Ensures that both integration-test and verify goals of the Failsafe
934                  Maven plugin are executed. -->
935             <execution>
936               <id>integration-tests</id>
937               <goals>
938                 <goal>integration-test</goal>
939                 <goal>verify</goal>
940               </goals>
941               <configuration>
942                 <!-- Sets the VM argument line used when integration tests are run. -->
943                 <argLine>${failsafeArgLine}</argLine>
944               </configuration>
945             </execution>
946           </executions>
947         </plugin>
948         <plugin>
949           <groupId>org.sonarsource.scanner.maven</groupId>
950           <artifactId>sonar-maven-plugin</artifactId>
951           <version>${sonar.scanner.version}</version>
952         </plugin>
953
954       </plugins>
955     </pluginManagement>
956
957     <plugins>
958       <plugin>
959         <groupId>org.jacoco</groupId>
960         <artifactId>jacoco-maven-plugin</artifactId>
961       </plugin>
962       <plugin>
963         <groupId>org.apache.maven.plugins</groupId>
964         <artifactId>maven-surefire-plugin</artifactId>
965       </plugin>
966       <plugin>
967         <groupId>org.apache.maven.plugins</groupId>
968         <artifactId>maven-failsafe-plugin</artifactId>
969       </plugin>
970     </plugins>
971
972   </build>
973 </project>