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