Remove hbase since we are moving to cassandra
[aai/traversal.git] / aai-traversal / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.onap.aai.traversal</groupId>
27     <artifactId>aai-traversal</artifactId>
28     <version>1.2.0-SNAPSHOT</version>
29
30     <parent>
31         <groupId>org.springframework.boot</groupId>
32         <artifactId>spring-boot-starter-parent</artifactId>
33         <version>1.5.10.RELEASE</version>
34     </parent>
35
36     <properties>
37         <swagger.directory>${basedir}/target/classes/META-INF/traversal/swagger</swagger.directory>
38         <icd.file>service.json</icd.file>
39         <icd.package>com.att.ajsc.ajsc6configdemo.service.rs</icd.package>
40         <java.version>1.8</java.version>
41         <build.number>local</build.number>
42         <kube.namespace>org-onap-aai</kube.namespace>
43         <service.account>ajsc-svc-account</service.account>
44         <namespace>com.att.ajsc</namespace>
45         <start-class>org.onap.aai.TraversalApp</start-class>
46
47         <aai-schema.version>1.2.2-SNAPSHOT</aai-schema.version>
48         <aai.core.version>1.2.2-SNAPSHOT</aai.core.version>
49         <aai.client.loadbalancer.version>1.2.2-SNAPSHOT</aai.client.loadbalancer.version>
50
51
52         <!-- Start of the jacoco plugin properties -->
53         <sonar.language>java</sonar.language>
54         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
55         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
56         <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
57         <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
58         <sonar.projectVersion>${project.version}</sonar.projectVersion>
59         <!-- End of the jacoco plugin properties -->
60
61         <jolt.version>0.0.24</jolt.version>
62         <jopt.simple.version>4.9</jopt.simple.version>
63
64         <io.swagger.version>1.5.8</io.swagger.version>
65         <apache.log4j.version>1.2.17</apache.log4j.version>
66
67         <commons.beanutils.version>1.9.2</commons.beanutils.version>
68         <commons.compress.version>1.10</commons.compress.version>
69         <commons.configuration.version>1.9</commons.configuration.version>
70
71         <googlecode.diffutils.version>1.3.0</googlecode.diffutils.version>
72         <scamper.encryption.version>1.8.20</scamper.encryption.version>
73         <httpcomponents.httpmime.version>4.5.2</httpcomponents.httpmime.version>
74         <scamper.version>1.8.36</scamper.version>
75         <dom4j.version>1.6.1</dom4j.version>
76         <commons.lang.version>2.6</commons.lang.version>
77         <eelf.core.version>1.0.0</eelf.core.version>
78         <logback.version>1.2.3</logback.version>
79         <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
80         <janino.version>2.7.8</janino.version>
81         <google.guava.version>16.0</google.guava.version>
82         <janusgraph.version>0.2.0</janusgraph.version>
83         <gremlin.version>3.2.2</gremlin.version>
84         <smack.version>3.0.4</smack.version>
85         <json.simple.version>1.1.1</json.simple.version>
86         <mockito.version>1.10.19</mockito.version>
87         <powermock.version>1.6.2</powermock.version>
88         <jcommander.version>1.48</jcommander.version>
89         <json.version>20090211</json.version>
90         <freemarker.version>2.3.21</freemarker.version>
91         <jaxb.version>2.2.11</jaxb.version>
92         <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
93         <json.patch.version>1.9</json.patch.version>
94         <javatuples.version>1.2</javatuples.version>
95         <gson.version>2.7</gson.version>
96         <dmaap.client.version>0.2.12</dmaap.client.version>
97         <httpcore.version>4.4</httpcore.version>
98         <json.path.version>2.2.0</json.path.version>
99         <activemq.version>5.15.3</activemq.version>
100         <httpclient.version>4.5.3</httpclient.version>
101         <spring.jms.version>4.3.2.RELEASE</spring.jms.version>
102         <spotify.docker.version>0.4.11</spotify.docker.version>
103         <spring.security.version>1.0.3.RELEASE</spring.security.version>
104
105         <dme2.version>2.8.5</dme2.version>
106         <async.retry.version>0.0.7</async.retry.version>
107         <jsonassert.version>1.4.0</jsonassert.version>
108
109         <eclipse.jetty.version>9.4.1.v20170120</eclipse.jetty.version>
110
111         <docker.fabric.version>0.23.0</docker.fabric.version>
112         <!-- Default docker registry that maven fabric plugin will try to pull from -->
113         <docker.registry>docker.io</docker.registry>
114         <!-- Specifying the docker push registry where the image should be pushed -->
115         <!-- This value should be overwritten at runtime to wherever need to be pushed to -->
116         <docker.push.registry>localhost:5000</docker.push.registry>
117
118         <!--
119              Location where assembly of our scripts, resources and main jar will be held
120              Check the aai-traversal/src/main/assembly/descriptor.xml for more info
121         -->
122         <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/
123         </aai.build.directory>
124         <aai.docker.namespace>onap</aai.docker.namespace>
125         <maven.skip.tests>true</maven.skip.tests>
126
127         <spring.web.version>4.3.6.RELEASE</spring.web.version>
128         <aai.project.version>1.2.0</aai.project.version>
129         <aai.docker.version>1.2</aai.docker.version>
130
131         <!--
132             Nexus Proxy Properties and Snapshot Locations
133             Ideally this can be overwritten at runtime per internal environment specific values at runtime
134         -->
135         <nexusproxy>https://nexus.onap.org</nexusproxy>
136         <site.path>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</site.path>
137         <release.path>/content/repositories/releases/</release.path>
138         <snapshot.path>/content/repositories/snapshots/</snapshot.path>
139
140         <netty.handler.version>4.1.9.Final</netty.handler.version>
141         <netty.version>4.0.37.Final</netty.version>
142         <jackson.core.version>2.8.11.1</jackson.core.version>
143         <groovy.version>2.4.4</groovy.version>
144
145         <spring.test.version>4.3.6.RELEASE</spring.test.version>
146
147         <!-- This will be used for the docker images as the default format of maven build has issues -->
148         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
149
150         <antlr4.visitor>true</antlr4.visitor>
151         <antlr4.listener>true</antlr4.listener>
152         <antlr.version>4.7</antlr.version>
153
154         <jacoco.line.coverage.limit>0.66</jacoco.line.coverage.limit>
155     </properties>
156     <profiles>
157         <!-- Docker profile to be used for building docker image and pushing to nexus -->
158         <profile>
159             <id>docker</id>
160             <build>
161                 <plugins>
162                     <plugin>
163                         <groupId>io.fabric8</groupId>
164                         <artifactId>docker-maven-plugin</artifactId>
165                         <version>${docker.fabric.version}</version>
166                         <configuration>
167                             <verbose>true</verbose>
168                             <apiVersion>1.23</apiVersion>
169                             <images>
170                                 <image>
171                                     <name>${docker.push.registry}/${aai.docker.namespace}/aai-traversal:%l</name>
172                                     <build>
173                                         <filter>@</filter>
174                                         <tags>
175                                             <tag>latest</tag>
176                                             <tag>${aai.docker.version}-STAGING-${maven.build.timestamp}</tag>
177                                             <tag>${aai.docker.version}-STAGING-latest</tag>
178                                         </tags>
179                                         <cleanup>try</cleanup>
180                                         <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
181                                         <assembly>
182                                             <inline>
183                                                 <fileSets>
184                                                     <fileSet>
185                                                         <directory>${aai.build.directory}</directory>
186                                                         <outputDirectory>/${project.artifactId}</outputDirectory>
187                                                     </fileSet>
188                                                 </fileSets>
189                                             </inline>
190                                         </assembly>
191                                     </build>
192                                 </image>
193                             </images>
194                         </configuration>
195                         <executions>
196                             <execution>
197                                 <id>clean-images</id>
198                                 <phase>pre-clean</phase>
199                                 <goals>
200                                     <goal>remove</goal>
201                                 </goals>
202                                 <configuration>
203                                     <removeAll>true</removeAll>
204                                 </configuration>
205                             </execution>
206                             <execution>
207                                 <id>generate-images</id>
208                                 <phase>package</phase>
209                                 <goals>
210                                     <goal>build</goal>
211                                 </goals>
212                             </execution>
213                             <execution>
214                                 <id>push-images</id>
215                                 <phase>deploy</phase>
216                                 <goals>
217                                     <goal>push</goal>
218                                 </goals>
219                             </execution>
220                         </executions>
221                     </plugin>
222                 </plugins>
223             </build>
224         </profile>
225         <!--
226             Use of this profile is a way to support legacy runAjsc profile seen using AJSC 2
227             and also because spring-boot:run doesn't work with large classpaths in windows
228             so this accommodates the behavior of running the application from maven
229         -->
230         <profile>
231             <id>runAjsc</id>
232             <properties>
233                 <skipTests>${maven.skip.tests}</skipTests>
234             </properties>
235             <build>
236                 <defaultGoal>pre-integration-test</defaultGoal>
237                 <plugins>
238                     <plugin>
239                         <groupId>org.codehaus.mojo</groupId>
240                         <artifactId>exec-maven-plugin</artifactId>
241                         <version>1.6.0</version>
242                         <executions>
243                             <execution>
244                                 <id>run-spring-boot</id>
245                                 <phase>package</phase>
246                                 <goals>
247                                     <goal>java</goal>
248                                 </goals>
249                             </execution>
250                         </executions>
251                         <configuration>
252                             <mainClass>${start-class}</mainClass>
253                             <systemProperties>
254                                 <systemProperty>
255                                     <key>snapshot.location</key>
256                                     <value>${snapshot.file}</value>
257                                 </systemProperty>
258                             </systemProperties>
259                             <executable>java</executable>
260                         </configuration>
261                     </plugin>
262                 </plugins>
263             </build>
264         </profile>
265     </profiles>
266     <dependencies>
267         <dependency>
268             <groupId>org.springframework.boot</groupId>
269             <artifactId>spring-boot-starter-jersey</artifactId>
270             <exclusions>
271                 <exclusion>
272                     <groupId>com.sun.jersey</groupId>
273                     <artifactId>jersey-servlet</artifactId>
274                 </exclusion>
275                 <exclusion>
276                     <groupId>org.springframework.boot</groupId>
277                     <artifactId>spring-boot-starter-tomcat</artifactId>
278                 </exclusion>
279             </exclusions>
280         </dependency>
281         <dependency>
282             <groupId>net.sf.jopt-simple</groupId>
283             <artifactId>jopt-simple</artifactId>
284             <version>${jopt.simple.version}</version>
285         </dependency>
286         <dependency>
287             <groupId>io.swagger</groupId>
288             <artifactId>swagger-core</artifactId>
289             <version>${io.swagger.version}</version>
290             <exclusions>
291                 <exclusion>
292                     <groupId>javax.ws.rs</groupId>
293                     <artifactId>jsr311-api</artifactId>
294                 </exclusion>
295             </exclusions>
296         </dependency>
297         <dependency>
298             <groupId>io.swagger</groupId>
299             <artifactId>swagger-annotations</artifactId>
300             <version>${io.swagger.version}</version>
301         </dependency>
302         <dependency>
303             <groupId>io.swagger</groupId>
304             <artifactId>swagger-jersey-jaxrs</artifactId>
305             <version>${io.swagger.version}</version>
306             <exclusions>
307                 <exclusion>
308                     <groupId>org.glassfish.jersey.media</groupId>
309                     <artifactId>jersey-media-multipart</artifactId>
310                 </exclusion>
311                 <exclusion>
312                     <artifactId>jersey-core</artifactId>
313                     <groupId>com.sun.jersey</groupId>
314                 </exclusion>
315                 <exclusion>
316                     <artifactId>jersey-json</artifactId>
317                     <groupId>com.sun.jersey</groupId>
318                 </exclusion>
319                 <exclusion>
320                     <artifactId>jersey-server</artifactId>
321                     <groupId>com.sun.jersey</groupId>
322                 </exclusion>
323                 <exclusion>
324                     <artifactId>jersey-client</artifactId>
325                     <groupId>com.sun.jersey</groupId>
326                 </exclusion>
327                 <exclusion>
328                     <artifactId>jsr311-api</artifactId>
329                     <groupId>javax.ws.rs</groupId>
330                 </exclusion>
331                 <exclusion>
332                     <artifactId>jersey-multipart</artifactId>
333                     <groupId>com.sun.jersey.contribs</groupId>
334                 </exclusion>
335             </exclusions>
336         </dependency>
337         <dependency>
338             <groupId>commons-configuration</groupId>
339             <artifactId>commons-configuration</artifactId>
340             <version>${commons.configuration.version}</version>
341             <exclusions>
342                 <exclusion>
343                     <artifactId>commons-lang</artifactId>
344                     <groupId>commons-lang</groupId>
345                 </exclusion>
346             </exclusions>
347         </dependency>
348         <dependency>
349             <groupId>commons-lang</groupId>
350             <artifactId>commons-lang</artifactId>
351             <version>${commons.lang.version}</version>
352         </dependency>
353         <!-- eelf dependency -->
354         <dependency>
355             <groupId>com.att.eelf</groupId>
356             <artifactId>eelf-core</artifactId>
357             <version>${eelf.core.version}</version>
358         </dependency>
359         <dependency>
360             <groupId>ch.qos.logback</groupId>
361             <artifactId>logback-core</artifactId>
362             <version>${logback.version}</version>
363         </dependency>
364         <dependency>
365             <groupId>ch.qos.logback</groupId>
366             <artifactId>logback-classic</artifactId>
367             <version>${logback.version}</version>
368         </dependency>
369         <dependency>
370             <groupId>ch.qos.logback</groupId>
371             <artifactId>logback-access</artifactId>
372             <version>${logback.version}</version>
373         </dependency>
374         <dependency>
375             <groupId>org.hamcrest</groupId>
376             <artifactId>hamcrest-junit</artifactId>
377             <version>${hamcrest.junit.version}</version>
378         </dependency>
379         <dependency>
380             <groupId>junit</groupId>
381             <artifactId>junit</artifactId>
382             <scope>test</scope>
383         </dependency>
384         <dependency>
385             <groupId>com.google.guava</groupId>
386             <artifactId>guava</artifactId>
387             <version>${google.guava.version}</version>
388         </dependency>
389         <dependency>
390             <groupId>org.janusgraph</groupId>
391             <artifactId>janusgraph-core</artifactId>
392             <version>${janusgraph.version}</version>
393             <exclusions>
394                 <exclusion>
395                     <groupId>org.slf4j</groupId>
396                     <artifactId>slf4j-log4j12</artifactId>
397                 </exclusion>
398             </exclusions>
399         </dependency>
400         <dependency>
401             <groupId>org.janusgraph</groupId>
402             <artifactId>janusgraph-cassandra</artifactId>
403             <version>${janusgraph.version}</version>
404             <exclusions>
405                 <exclusion>
406                     <groupId>org.slf4j</groupId>
407                     <artifactId>slf4j-log4j12</artifactId>
408                 </exclusion>
409             </exclusions>
410         </dependency>
411         <dependency>
412             <groupId>org.apache.tinkerpop</groupId>
413             <artifactId>gremlin-driver</artifactId>
414             <version>${gremlin.version}</version>
415         </dependency>
416         <dependency>
417             <groupId>com.fasterxml.jackson.jaxrs</groupId>
418             <artifactId>jackson-jaxrs-json-provider</artifactId>
419         </dependency>
420         <dependency>
421             <groupId>org.mockito</groupId>
422             <artifactId>mockito-all</artifactId>
423             <version>${mockito.version}</version>
424             <scope>test</scope>
425         </dependency>
426         <dependency>
427             <groupId>org.powermock</groupId>
428             <artifactId>powermock-module-junit4</artifactId>
429             <version>${powermock.version}</version>
430             <scope>test</scope>
431         </dependency>
432         <dependency>
433             <groupId>org.powermock</groupId>
434             <artifactId>powermock-api-mockito</artifactId>
435             <version>${powermock.version}</version>
436             <scope>test</scope>
437         </dependency>
438         <dependency>
439             <groupId>com.beust</groupId>
440             <artifactId>jcommander</artifactId>
441             <version>${jcommander.version}</version>
442         </dependency>
443         <dependency>
444             <groupId>org.json</groupId>
445             <artifactId>json</artifactId>
446             <version>${json.version}</version>
447         </dependency>
448         <dependency>
449             <groupId>org.freemarker</groupId>
450             <artifactId>freemarker</artifactId>
451             <version>${freemarker.version}</version>
452         </dependency>
453         <dependency>
454             <groupId>javax.xml.bind</groupId>
455             <artifactId>jaxb-api</artifactId>
456             <version>${jaxb.version}</version>
457         </dependency>
458         <dependency>
459             <groupId>com.sun.xml.bind</groupId>
460             <artifactId>jaxb-impl</artifactId>
461             <version>${jaxb.version}</version>
462         </dependency>
463         <dependency>
464             <groupId>com.sun.xml.bind</groupId>
465             <artifactId>jaxb-core</artifactId>
466             <version>${jaxb.version}</version>
467         </dependency>
468         <dependency>
469             <groupId>com.sun.xml.bind</groupId>
470             <artifactId>jaxb-xjc</artifactId>
471             <version>${jaxb.version}</version>
472         </dependency>
473         <dependency>
474             <groupId>org.eclipse.persistence</groupId>
475             <artifactId>eclipselink</artifactId>
476             <version>${eclipse.persistence.version}</version>
477         </dependency>
478         <dependency>
479             <groupId>org.eclipse.persistence</groupId>
480             <artifactId>org.eclipse.persistence.moxy</artifactId>
481             <version>${eclipse.persistence.version}</version>
482             <scope>compile</scope>
483         </dependency>
484         <dependency>
485             <groupId>org.powermock</groupId>
486             <artifactId>powermock-module-javaagent</artifactId>
487             <version>${powermock.version}</version>
488             <scope>test</scope>
489         </dependency>
490         <dependency>
491             <groupId>org.powermock</groupId>
492             <artifactId>powermock-module-junit4-rule-agent</artifactId>
493             <version>${powermock.version}</version>
494             <scope>test</scope>
495         </dependency>
496         <dependency>
497             <groupId>com.github.fge</groupId>
498             <artifactId>json-patch</artifactId>
499             <version>${json.patch.version}</version>
500         </dependency>
501         <dependency>
502             <groupId>org.javatuples</groupId>
503             <artifactId>javatuples</artifactId>
504             <version>${javatuples.version}</version>
505             <scope>compile</scope>
506         </dependency>
507         <dependency>
508             <groupId>com.google.code.gson</groupId>
509             <artifactId>gson</artifactId>
510             <version>${gson.version}</version>
511         </dependency>
512         <dependency>
513             <groupId>com.att.nsa</groupId>
514             <artifactId>dmaapClient</artifactId>
515             <version>${dmaap.client.version}</version>
516             <exclusions>
517                 <exclusion>
518                     <groupId>org.slf4j</groupId>
519                     <artifactId>slf4j-log4j12</artifactId>
520                 </exclusion>
521                 <exclusion>
522                     <groupId>com.att.aft</groupId>
523                     <artifactId>dme2</artifactId>
524                 </exclusion>
525             </exclusions>
526         </dependency>
527         <dependency>
528             <groupId>com.bazaarvoice.jolt</groupId>
529             <artifactId>jolt-complete</artifactId>
530             <version>${jolt.version}</version>
531         </dependency>
532         <dependency>
533             <groupId>com.jayway.jsonpath</groupId>
534             <artifactId>json-path</artifactId>
535             <version>${json.path.version}</version>
536         </dependency>
537         <!-- Do not use activemq-all because they force you to use a specific logging
538             and they shade it so you can't simply exclude it and when you deploy the
539             jar, you will notice failure -->
540         <dependency>
541             <groupId>org.apache.activemq</groupId>
542             <artifactId>activemq-broker</artifactId>
543             <version>${activemq.version}</version>
544         </dependency>
545         <dependency>
546             <groupId>org.apache.activemq</groupId>
547             <artifactId>activemq-client</artifactId>
548             <version>${activemq.version}</version>
549         </dependency>
550         <dependency>
551             <groupId>org.onap.aai.aai-common</groupId>
552             <artifactId>aai-core</artifactId>
553             <version>${aai.core.version}</version>
554             <exclusions>
555                 <exclusion>
556                     <groupId>com.sun.jersey</groupId>
557                     <artifactId>jersey-core</artifactId>
558                 </exclusion>
559                 <exclusion>
560                     <groupId>org.codehaus.jackson</groupId>
561                     <artifactId>jackson-mapper-asl</artifactId>
562                 </exclusion>
563             </exclusions>
564         </dependency>
565         <dependency>
566             <groupId>org.onap.aai.aai-common</groupId>
567             <artifactId>aai-schema</artifactId>
568             <version>${aai-schema.version}</version>
569         </dependency>
570         <dependency>
571             <groupId>org.springframework</groupId>
572             <artifactId>spring-jms</artifactId>
573             <version>${spring.jms.version}</version>
574             <exclusions>
575                 <exclusion>
576                     <groupId>com.sun.jersey</groupId>
577                     <artifactId>jersey-core</artifactId>
578                 </exclusion>
579             </exclusions>
580         </dependency>
581         <!-- Do not use the jersey-client since jersey client 1.0 version clashes
582             with jersey 2 which we are using -->
583         <!-- Use this to make http requests instead of jersey 1.0 client -->
584         <dependency>
585             <groupId>org.apache.httpcomponents</groupId>
586             <artifactId>httpclient</artifactId>
587             <version>${httpclient.version}</version>
588         </dependency>
589         <dependency>
590             <groupId>org.springframework.boot</groupId>
591             <artifactId>spring-boot-devtools</artifactId>
592         </dependency>
593         <dependency>
594             <groupId>org.skyscreamer</groupId>
595             <artifactId>jsonassert</artifactId>
596             <version>${jsonassert.version}</version>
597             <scope>test</scope>
598         </dependency>
599         <!--
600             Explicitly stating the security spring framework and
601             exclude the bouncy castle since that is somehow overwriting
602             our p12 file decryption that's built into java security
603             This will cause the password is incorrect
604             This needs to be added back if org.bouncy castle dependency
605             sneaks backs in and causing issues with the two way ssl
606         -->
607         <dependency>
608             <groupId>org.springframework.security</groupId>
609             <artifactId>spring-security-rsa</artifactId>
610             <version>${spring.security.version}</version>
611             <exclusions>
612                 <exclusion>
613                     <groupId>org.bouncycastle</groupId>
614                     <artifactId>bcpkix-jdk15on</artifactId>
615                 </exclusion>
616             </exclusions>
617         </dependency>
618         <dependency>
619             <groupId>org.onap.aai.aai-common</groupId>
620             <artifactId>aai-client-loadbalancer</artifactId>
621             <version>${aai.client.loadbalancer.version}</version>
622             <exclusions>
623                 <exclusion>
624                     <groupId>io.netty</groupId>
625                     <artifactId>netty-handler</artifactId>
626                 </exclusion>
627                 <exclusion>
628                     <groupId>com.sun.jersey.contribs</groupId>
629                     <artifactId>jersey-apache-client4</artifactId>
630                 </exclusion>
631             </exclusions>
632         </dependency>
633         <dependency>
634             <groupId>io.netty</groupId>
635             <artifactId>netty-handler</artifactId>
636             <version>${netty.handler.version}</version>
637         </dependency>
638         <dependency>
639             <groupId>org.springframework.boot</groupId>
640             <artifactId>spring-boot-starter-web</artifactId>
641             <exclusions>
642                 <exclusion>
643                     <groupId>org.springframework.boot</groupId>
644                     <artifactId>spring-boot-starter-tomcat</artifactId>
645                 </exclusion>
646                 <exclusion>
647                     <groupId>org.slf4j</groupId>
648                     <artifactId>log4j-over-slf4j</artifactId>
649                 </exclusion>
650             </exclusions>
651         </dependency>
652         <dependency>
653             <groupId>org.springframework.boot</groupId>
654             <artifactId>spring-boot-starter-jetty</artifactId>
655         </dependency>
656         <dependency>
657             <groupId>org.springframework</groupId>
658             <artifactId>spring-web</artifactId>
659             <version>${spring.web.version}</version>
660         </dependency>
661         <dependency>
662             <groupId>io.netty</groupId>
663             <artifactId>netty-all</artifactId>
664             <version>${netty.version}</version>
665         </dependency>
666         <dependency>
667             <groupId>org.codehaus.groovy</groupId>
668             <artifactId>groovy</artifactId>
669             <version>${groovy.version}</version>
670             <classifier>indy</classifier>
671         </dependency>
672         <dependency>
673             <groupId>org.springframework</groupId>
674             <artifactId>spring-test</artifactId>
675             <version>${spring.test.version}</version>
676             <scope>test</scope>
677         </dependency>
678         <dependency>
679             <groupId>org.springframework.boot</groupId>
680             <artifactId>spring-boot-test</artifactId>
681             <scope>test</scope>
682         </dependency>
683         <dependency>
684             <groupId>org.antlr</groupId>
685             <artifactId>antlr4-runtime</artifactId>
686             <version>${antlr.version}</version>
687         </dependency>
688         <dependency>
689             <groupId>org.antlr</groupId>
690             <artifactId>antlr4-maven-plugin</artifactId>
691             <version>${antlr.version}</version>
692             <exclusions>
693                 <exclusion>
694                     <groupId>org.sonatype.sisu</groupId>
695                     <artifactId>sisu-guava</artifactId>
696                 </exclusion>
697             </exclusions>
698         </dependency>
699         <dependency>
700             <groupId>org.apache.tinkerpop</groupId>
701             <artifactId>gremlin-core</artifactId>
702             <version>${gremlin.version}</version>
703             <exclusions>
704                 <exclusion>
705                     <groupId>org.slf4j</groupId>
706                     <artifactId>slf4j-log4j12</artifactId>
707                 </exclusion>
708             </exclusions>
709         </dependency>
710         <dependency>
711             <groupId>org.apache.tinkerpop</groupId>
712             <artifactId>tinkergraph-gremlin</artifactId>
713             <version>${gremlin.version}</version>
714         </dependency>
715         <dependency>
716             <groupId>org.apache.tinkerpop</groupId>
717             <artifactId>gremlin-groovy</artifactId>
718             <version>${gremlin.version}</version>
719         </dependency>
720     </dependencies>
721     <build>
722         <resources>
723             <resource>
724                 <directory>${project.basedir}/src/main/swm</directory>
725                 <targetPath>${project.build.directory}/swm</targetPath>
726                 <filtering>false</filtering>
727             </resource>
728             <resource>
729                 <directory>${project.basedir}/src/main/resources</directory>
730                 <includes>
731                     <include>application.properties</include>
732                     <include>dme2.properties</include>
733                     <include>logback.xml</include>
734                     <include>localhost-access-logback.xml</include>
735                 </includes>
736                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
737                 </targetPath>
738                 <filtering>false</filtering>
739             </resource>
740             <resource>
741                 <directory>${project.basedir}/src/main/resources</directory>
742                 <includes>
743                     <include>**/*</include>
744                 </includes>
745                 <filtering>true</filtering>
746             </resource>
747             <resource>
748                 <directory>${project.basedir}/src/main/resources/etc/appprops/</directory>
749                 <includes>
750                     <include>janusgraph-realtime.properties</include>
751                     <include>janusgraph-cached.properties</include>
752                     <include>aaiconfig.properties</include>
753                 </includes>
754                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
755                 </targetPath>
756                 <filtering>false</filtering>
757             </resource>
758             <resource>
759                 <directory>${project.basedir}/src/main/resources/etc/auth/</directory>
760                 <includes>
761                     <include>aai-client-cert.p12</include>
762                     <include>tomcat_keystore</include>
763                 </includes>
764                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
765                 </targetPath>
766                 <filtering>true</filtering>
767             </resource>
768             <resource>
769                 <directory>${project.basedir}/src/main/resources/</directory>
770                 <includes>
771                     <include>logback.xml</include>
772                     <include>localhost-access-logback.xml</include>
773                 </includes>
774                 <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/aai-traversal/appconfig
775                 </targetPath>
776                 <filtering>true</filtering>
777             </resource>
778             <resource>
779                 <directory>${project.basedir}/src/main/docker</directory>
780                 <includes>
781                     <include>**/*</include>
782                 </includes>
783                 <targetPath>${aai.build.directory}</targetPath>
784                 <filtering>true</filtering>
785             </resource>
786         </resources>
787         <pluginManagement>
788             <plugins>
789                 <plugin>
790                     <groupId>org.apache.maven.plugins</groupId>
791                     <artifactId>maven-dependency-plugin</artifactId>
792                     <version>2.8</version>
793                     <executions>
794                         <execution>
795                             <id>unpack-schema-dependency</id>
796                             <phase>initialize</phase>
797                             <goals>
798                                 <goal>unpack</goal>
799                             </goals>
800                             <configuration>
801                                 <artifactItems>
802                                     <artifactItem>
803                                         <groupId>org.onap.aai.aai-common</groupId>
804                                         <artifactId>aai-schema</artifactId>
805                                         <version>${aai.core.version}</version>
806                                         <outputDirectory>${project.basedir}/src/main/resources/etc/</outputDirectory>
807                                         <includes>oxm/*.xml</includes>
808                                     </artifactItem>
809                                 </artifactItems>
810                                 <!-- other configurations here -->
811                             </configuration>
812                         </execution>
813                     </executions>
814                 </plugin>
815                 <plugin>
816                     <groupId>org.codehaus.groovy.maven</groupId>
817                     <artifactId>gmaven-plugin</artifactId>
818                     <version>1.0</version>
819                     <executions>
820                         <execution>
821                             <phase>validate</phase>
822                             <goals>
823                                 <goal>execute</goal>
824                             </goals>
825                             <configuration>
826                                 <source>
827                                     println project.properties['aai.project.version'];
828                                     def versionArray;
829                                     if (project.properties['aai.project.version'] != null) {
830                                         versionArray = project.properties['aai.project.version'].split('\\.');
831                                     }
832
833                                     if (project.properties['aai.project.version'].endsWith("-SNAPSHOT")) {
834                                         project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
835                                     } else {
836                                         project.properties['project.docker.latesttag.version'] = versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
837                                     }
838
839                                     println 'New Tag for docker:' + project.properties['project.docker.latesttag.version'];
840                                 </source>
841                             </configuration>
842                         </execution>
843                     </executions>
844                 </plugin>
845             </plugins>
846         </pluginManagement>
847         <plugins>
848             <plugin>
849                 <groupId>org.springframework.boot</groupId>
850                 <artifactId>spring-boot-maven-plugin</artifactId>
851             </plugin>
852             <plugin>
853                 <groupId>org.apache.maven.plugins</groupId>
854                 <artifactId>maven-gpg-plugin</artifactId>
855                 <configuration>
856                     <skip>true</skip>
857                 </configuration>
858             </plugin>
859             <plugin>
860                 <groupId>org.codehaus.groovy.maven</groupId>
861                 <artifactId>gmaven-plugin</artifactId>
862             </plugin>
863             <plugin>
864                 <artifactId>exec-maven-plugin</artifactId>
865                 <groupId>org.codehaus.mojo</groupId>
866             </plugin>
867             <plugin>
868                 <groupId>org.apache.maven.plugins</groupId>
869                 <artifactId>maven-javadoc-plugin</artifactId>
870                 <configuration>
871                     <additionalparam>-Xdoclint:none</additionalparam>
872                 </configuration>
873             </plugin>
874             <plugin>
875                 <artifactId>maven-assembly-plugin</artifactId>
876                 <configuration>
877                     <descriptors>
878                         <descriptor>src/main/assembly/descriptor.xml</descriptor>
879                     </descriptors>
880                 </configuration>
881                 <executions>
882                     <execution>
883                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
884                         <phase>package</phase> <!-- bind to the packaging phase -->
885                         <goals>
886                             <goal>single</goal>
887                         </goals>
888                     </execution>
889                 </executions>
890             </plugin>
891             <plugin>
892                 <groupId>org.apache.maven.plugins</groupId>
893                 <artifactId>maven-surefire-plugin</artifactId>
894                 <version>2.12.4</version>
895                 <configuration>
896                     <argLine>-noverify ${argLine}</argLine>
897                     <runOrder>alphabetical</runOrder>
898                 </configuration>
899             </plugin>
900             <plugin>
901                 <groupId>org.codehaus.mojo</groupId>
902                 <artifactId>sonar-maven-plugin</artifactId>
903                 <version>3.3</version>
904             </plugin>
905             <plugin>
906                 <groupId>org.jacoco</groupId>
907                 <artifactId>jacoco-maven-plugin</artifactId>
908                 <version>0.7.9</version>
909                 <configuration>
910                     <dumpOnExit>true</dumpOnExit>
911                     <excludes>
912                         <exclude>**/**/models/**/*.class</exclude>
913                     </excludes>
914                 </configuration>
915                 <executions>
916                     <execution>
917                         <id>jacoco-initialize-unit-tests</id>
918                         <goals>
919                             <goal>prepare-agent</goal>
920                         </goals>
921                         <configuration>
922                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
923                             <!-- <append>true</append> -->
924                         </configuration>
925                     </execution>
926                     <execution>
927                         <id>post-unit-test</id>
928                         <phase>test</phase>
929                         <goals>
930                             <goal>report</goal>
931                         </goals>
932                         <configuration>
933                             <!-- Sets the path to the file which contains the execution data. -->
934                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
935                             <!-- Sets the output directory for the code coverage report. -->
936                             <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
937                         </configuration>
938                     </execution>
939                     <execution>
940                         <id>default-check</id>
941                         <goals>
942                             <goal>check</goal>
943                         </goals>
944                         <configuration>
945                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
946                             <rules>
947                                 <!--  implementation is needed only for Maven 2  -->
948                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
949                                     <element>BUNDLE</element>
950                                     <limits>
951                                         <limit implementation="org.jacoco.report.check.Limit">
952                                             <counter>LINE</counter>
953                                             <value>COVEREDRATIO</value>
954                                             <minimum>${jacoco.line.coverage.limit}</minimum>
955                                         </limit>
956                                     </limits>
957                                 </rule>
958                             </rules>
959                         </configuration>
960                     </execution>
961                 </executions>
962             </plugin>
963             <plugin>
964                 <groupId>org.apache.maven.plugins</groupId>
965                 <artifactId>maven-deploy-plugin</artifactId>
966                 <executions>
967                     <execution>
968                         <id>default-deploy</id>
969                         <phase>none</phase>
970                     </execution>
971                 </executions>
972             </plugin>
973             <plugin>
974                 <groupId>org.sonatype.plugins</groupId>
975                 <artifactId>nexus-staging-maven-plugin</artifactId>
976                 <version>1.6.7</version>
977                 <extensions>true</extensions>
978                 <configuration>
979                     <nexusUrl>${nexusproxy}</nexusUrl>
980                     <stagingProfileId>176c31dfe190a</stagingProfileId>
981                     <serverId>ecomp-staging</serverId>
982                 </configuration>
983             </plugin>
984             <plugin>
985                 <groupId>org.springframework.boot</groupId>
986                 <artifactId>spring-boot-maven-plugin</artifactId>
987                 <configuration>
988                     <mainClass>${start-class}</mainClass>
989                     <layout>ZIP</layout>
990                 </configuration>
991                 <executions>
992                     <execution>
993                         <goals>
994                             <goal>repackage</goal>
995                         </goals>
996                     </execution>
997                 </executions>
998             </plugin>
999             <plugin>
1000                 <groupId>org.antlr</groupId>
1001                 <artifactId>antlr4-maven-plugin</artifactId>
1002                 <version>4.7</version>
1003                 <executions>
1004                     <execution>
1005                         <goals>
1006                             <goal>antlr4</goal>
1007                         </goals>
1008                         <configuration>
1009                             <sourceDirectory>src/main/resources/antlr4</sourceDirectory>
1010                             <!-- <outputDirectory>src/main/java/antlr4</outputDirectory> -->
1011                         </configuration>
1012                     </execution>
1013                 </executions>
1014             </plugin>
1015             <plugin>
1016                 <groupId>org.apache.maven.plugins</groupId>
1017                 <artifactId>maven-dependency-plugin</artifactId>
1018                 <version>2.8</version>
1019                 <executions>
1020                     <execution>
1021                         <id>unpack-schema-dependency</id>
1022                         <phase>initialize</phase>
1023                         <goals>
1024                             <goal>unpack</goal>
1025                         </goals>
1026                     </execution>
1027                 </executions>
1028                 <configuration>
1029                     <artifactItems>
1030                         <artifactItem>
1031                             <groupId>org.onap.aai.aai-common</groupId>
1032                             <artifactId>aai-schema</artifactId>
1033                             <version>${aai-schema.version}</version>
1034                             <outputDirectory>src/main/resources/etc</outputDirectory>
1035                             <includes>oxm/*.xml</includes>
1036                         </artifactItem>
1037                     </artifactItems>
1038                     <!-- other configurations here -->
1039                 </configuration>
1040             </plugin>
1041             <plugin>
1042                 <groupId>com.mycila</groupId>
1043                 <artifactId>license-maven-plugin</artifactId>
1044                 <version>3.0</version>
1045                 <configuration>
1046                     <header>LICENSE.TXT</header>
1047                     <includes>
1048                         <include>src/main/java/**</include>
1049                         <include>src/test/java/**</include>
1050                         <include>pom.xml</include>
1051                     </includes>
1052                     <skipExistingHeaders>true</skipExistingHeaders>
1053                     <skip>false</skip>
1054                 </configuration>
1055                 <executions>
1056                     <execution>
1057                         <goals>
1058                             <!-- Set goal to "format" to auto update license headers -->
1059                             <goal>check</goal>
1060                         </goals>
1061                         <phase>process-sources</phase>
1062                     </execution>
1063                 </executions>
1064             </plugin>
1065         </plugins>
1066     </build>
1067     <reporting>
1068         <plugins>
1069             <plugin>
1070                 <groupId>org.apache.maven.plugins</groupId>
1071                 <artifactId>maven-javadoc-plugin</artifactId>
1072                 <version>2.10.4</version>
1073                 <configuration>
1074                     <failOnError>false</failOnError>
1075                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1076                     <docletArtifact>
1077                         <groupId>org.umlgraph</groupId>
1078                         <artifactId>umlgraph</artifactId>
1079                         <version>5.6</version>
1080                     </docletArtifact>
1081                     <additionalparam>-views</additionalparam>
1082                     <useStandardDocletOptions>true</useStandardDocletOptions>
1083                 </configuration>
1084             </plugin>
1085         </plugins>
1086     </reporting>
1087     <distributionManagement>
1088         <repository>
1089             <id>ecomp-releases</id>
1090             <name>ECOMP Release Repository</name>
1091             <url>${nexusproxy}${release.path}</url>
1092         </repository>
1093         <snapshotRepository>
1094             <id>ecomp-snapshots</id>
1095             <name>ECOMP Snapshot Repository</name>
1096             <url>${nexusproxy}${snapshot.path}</url>
1097         </snapshotRepository>
1098         <site>
1099             <id>ecomp-site</id>
1100             <url>dav:${nexusproxy}${site.path}</url>
1101         </site>
1102     </distributionManagement>
1103 </project>