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