Update oparent and fix nexusiq deps
[aai/aai-common.git] / aai-core / pom.xml
1 <?xml version="1.0"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>org.onap.aai.aai-common</groupId>
8         <artifactId>aai-common</artifactId>
9         <version>1.2.1-SNAPSHOT</version>
10     </parent>
11     <artifactId>aai-core</artifactId>
12     <name>aai-core</name>
13     <version>1.2.1-SNAPSHOT</version>
14     <packaging>jar</packaging>
15     <properties>
16         <gendoc.version>v12</gendoc.version>
17         <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
18         <hbase.version>1.0.2</hbase.version>
19         <sonar.language>java</sonar.language>
20         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
21         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
22         <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
23         <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
24         <sonar.projectVersion>${project.version}</sonar.projectVersion>
25         <httpclient.version>4.5.1</httpclient.version>
26         <jackson.version>2.2.3</jackson.version>
27         <eelf.core.version>1.0.0</eelf.core.version>
28         <logback.version>1.2.3</logback.version>
29         <freemarker.version>2.3.21</freemarker.version>
30         <activemq.version>5.15.3</activemq.version>
31     </properties>
32     <profiles>
33         <profile>
34             <id>generateXsd</id>
35             <build>
36                 <plugins>
37                     <plugin>
38                         <groupId>org.codehaus.mojo</groupId>
39                         <artifactId>exec-maven-plugin</artifactId>
40                         <version>1.1.1</version>
41                         <executions>
42                             <execution>
43                                 <phase>process-classes</phase>
44                                 <goals>
45                                     <goal>java</goal>
46                                 </goals>
47                                 <configuration>
48                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
49                                     <systemProperties>
50                                         <systemProperty>
51                                             <key>gen_version</key>
52                                             <value>${gendoc.version}</value>
53                                         </systemProperty>
54                                         <systemProperty>
55                                             <key>gen_type</key>
56                                             <value>XSD</value>
57                                         </systemProperty>
58                                         <systemProperty>
59                                             <key>yamlresponses_url</key>
60                                             <value></value>
61                                         </systemProperty>
62                                         <systemProperty>
63                                             <key>yamlresponses_label</key>
64                                             <value></value>
65                                         </systemProperty>
66                                     </systemProperties>
67                                 </configuration>
68                             </execution>
69                         </executions>
70                     </plugin>
71                 </plugins>
72             </build>
73         </profile>
74         <profile>
75             <id>generateYaml</id>
76             <build>
77                 <plugins>
78                     <plugin>
79                         <groupId>org.codehaus.mojo</groupId>
80                         <artifactId>exec-maven-plugin</artifactId>
81                         <version>1.1.1</version>
82                         <executions>
83                             <execution>
84                                 <phase>process-classes</phase>
85                                 <goals>
86                                     <goal>java</goal>
87                                 </goals>
88                                 <configuration>
89                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
90                                     <systemProperties>
91                                         <systemProperty>
92                                             <key>gen_version</key>
93                                             <value>${gendoc.version}</value>
94                                         </systemProperty>
95                                         <systemProperty>
96                                             <key>gen_type</key>
97                                             <value>YAML</value>
98                                         </systemProperty>
99                                         <systemProperty>
100                                             <key>yamlresponses_url</key>
101                                             <value>${aai.wiki.link}</value>
102                                         </systemProperty>
103                                         <systemProperty>
104                                             <key>yamlresponses_label</key>
105                                             <value>Response codes found in [response codes]</value>
106                                         </systemProperty>
107                                     </systemProperties>
108                                 </configuration>
109                             </execution>
110                         </executions>
111                     </plugin>
112                 </plugins>
113             </build>
114         </profile>
115         <profile>
116             <id>generateHtml</id>
117             <build>
118                 <plugins>
119                     <plugin>
120                         <groupId>org.codehaus.mojo</groupId>
121                         <artifactId>exec-maven-plugin</artifactId>
122                         <version>1.1.1</version>
123                         <executions>
124                             <execution>
125                                 <phase>process-classes</phase>
126                                 <goals>
127                                     <goal>java</goal>
128                                 </goals>
129                                 <configuration>
130                                     <mainClass>org.onap.aai.util.swagger.GenerateSwagger</mainClass>
131                                     <systemProperties>
132                                         <property>
133                                             <key>aai.generate.version</key>
134                                             <value>${gendoc.version}</value>
135                                         </property>
136                                         <property>
137                                             <key>aai.wiki.link</key>
138                                             <value>${aai.wiki.link}</value>
139                                         </property>
140                                     </systemProperties>
141                                 </configuration>
142                             </execution>
143                         </executions>
144                     </plugin>
145                 </plugins>
146             </build>
147         </profile>
148         <profile>
149             <id>autoGenerate</id>
150             <activation>
151                 <activeByDefault>true</activeByDefault>
152             </activation>
153             <build>
154                 <plugins>
155                     <plugin>
156                         <groupId>org.codehaus.mojo</groupId>
157                         <artifactId>exec-maven-plugin</artifactId>
158                         <version>1.1.1</version>
159                         <executions>
160                             <execution>
161                                 <id>autoGenerateYaml</id>
162                                 <phase>process-classes</phase>
163                                 <goals>
164                                     <goal>java</goal>
165                                 </goals>
166                                 <configuration>
167                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
168                                     <systemProperties>
169                                         <systemProperty>
170                                             <key>gen_version</key>
171                                             <value>ALL</value>
172                                         </systemProperty>
173                                         <systemProperty>
174                                             <key>gen_type</key>
175                                             <value>YAML</value>
176                                         </systemProperty>
177                                         <systemProperty>
178                                             <key>yamlresponses_url</key>
179                                             <value>${aai.wiki.link}</value>
180                                         </systemProperty>
181                                         <systemProperty>
182                                             <key>yamlresponses_label</key>
183                                             <value>Response codes found in [response codes]</value>
184                                         </systemProperty>
185                                     </systemProperties>
186                                 </configuration>
187                             </execution>
188                             <execution>
189                                 <id>autoGenerateHtml</id>
190                                 <phase>process-classes</phase>
191                                 <goals>
192                                     <goal>java</goal>
193                                 </goals>
194                                 <configuration>
195                                     <mainClass>org.onap.aai.util.AutoGenerateHtml</mainClass>
196                                     <systemProperties>
197                                         <property>
198                                             <key>aai.generate.version</key>
199                                             <value>${gendoc.version}</value>
200                                         </property>
201                                         <property>
202                                             <key>aai.wiki.link</key>
203                                             <value>${aai.wiki.link}</value>
204                                         </property>
205                                     </systemProperties>
206                                 </configuration>
207                             </execution>
208                         </executions>
209                     </plugin>
210                 </plugins>
211             </build>
212         </profile>
213     </profiles>
214     <build>
215         <plugins>
216             <plugin>
217                 <groupId>org.apache.maven.plugins</groupId>
218                 <artifactId>maven-surefire-plugin</artifactId>
219                 <version>2.12.4</version>
220                 <configuration>
221                     <argLine>-noverify ${argLine}</argLine>
222                     <systemPropertyVariables>
223                         <AJSC_HOME>.</AJSC_HOME>
224                         <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
225                     </systemPropertyVariables>
226                 </configuration>
227             </plugin>
228             <plugin>
229                 <groupId>org.codehaus.mojo</groupId>
230                 <artifactId>sonar-maven-plugin</artifactId>
231                 <version>3.2</version>
232             </plugin>
233             <plugin>
234                 <groupId>org.jacoco</groupId>
235                 <artifactId>jacoco-maven-plugin</artifactId>
236                 <version>0.7.7.201606060606</version>
237                 <configuration>
238                     <dumpOnExit>true</dumpOnExit>
239                 </configuration>
240                 <executions>
241                     <execution>
242                         <id>jacoco-initialize-unit-tests</id>
243                         <goals>
244                             <goal>prepare-agent</goal>
245                         </goals>
246                         <configuration>
247                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
248                             <!-- <append>true</append> -->
249                         </configuration>
250                     </execution>
251                     <execution>
252                         <id>post-unit-test</id>
253                         <phase>test</phase>
254                         <goals>
255                             <goal>report</goal>
256                         </goals>
257                         <configuration>
258                             <!-- Sets the path to the file which contains the execution data. -->
259                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
260                             <!-- Sets the output directory for the code coverage report. -->
261                             <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
262                         </configuration>
263                     </execution>
264                 </executions>
265             </plugin>
266             <plugin>
267                 <artifactId>maven-source-plugin</artifactId>
268                 <executions>
269                     <execution>
270                         <id>attach-sources</id>
271                         <phase>deploy</phase>
272                         <goals>
273                             <goal>jar-no-fork</goal>
274                         </goals>
275                     </execution>
276                 </executions>
277             </plugin>
278             <plugin>
279                 <!-- explicitly define maven-deploy-plugin after other to force exec order -->
280                 <groupId>org.apache.maven.plugins</groupId>
281                 <artifactId>maven-deploy-plugin</artifactId>
282             </plugin>
283             <plugin>
284                 <groupId>org.sonatype.plugins</groupId>
285                 <artifactId>nexus-staging-maven-plugin</artifactId>
286             </plugin>
287             <plugin>
288                 <groupId>org.apache.maven.plugins</groupId>
289                 <artifactId>maven-site-plugin</artifactId>
290             </plugin>
291             <plugin>
292                 <groupId>org.apache.maven.plugins</groupId>
293                 <artifactId>maven-surefire-plugin</artifactId>
294                 <version>2.12.4</version>
295                 <configuration>
296                     <argLine>-noverify ${argLine}</argLine>
297                     <runOrder>alphabetical</runOrder>
298                     <systemPropertyVariables>
299                         <AJSC_HOME>.</AJSC_HOME>
300                         <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
301                     </systemPropertyVariables>
302                 </configuration>
303             </plugin>
304         </plugins>
305     </build>
306
307     <dependencies>
308         <dependency>
309             <groupId>org.onap.aai.aai-common</groupId>
310             <artifactId>aai-schema</artifactId>
311             <version>${project.version}</version>
312         </dependency>
313         <dependency>
314             <groupId>commons-lang</groupId>
315             <artifactId>commons-lang</artifactId>
316             <version>2.6</version>
317         </dependency>
318         <dependency>
319             <groupId>org.apache.commons</groupId>
320             <artifactId>commons-text</artifactId>
321             <version>1.1</version>
322             <scope>compile</scope>
323         </dependency>
324         <dependency>
325             <groupId>com.att.eelf</groupId>
326             <artifactId>eelf-core</artifactId>
327             <version>${eelf.core.version}</version>
328         </dependency>
329         <dependency>
330             <groupId>org.codehaus.jackson</groupId>
331             <artifactId>jackson-core-asl</artifactId>
332             <version>1.9.13</version>
333         </dependency>
334         <dependency>
335             <groupId>org.codehaus.jackson</groupId>
336             <artifactId>jackson-mapper-asl</artifactId>
337             <version>1.9.13</version>
338         </dependency>
339         <dependency>
340             <groupId>junit</groupId>
341             <artifactId>junit</artifactId>
342             <version>4.12</version>
343             <scope>test</scope>
344         </dependency>
345         <dependency>
346             <groupId>org.hamcrest</groupId>
347             <artifactId>hamcrest-junit</artifactId>
348             <version>2.0.0.0</version>
349             <scope>test</scope>
350         </dependency>
351         <dependency>
352             <groupId>org.hamcrest</groupId>
353             <artifactId>hamcrest-core</artifactId>
354             <version>1.3</version>
355             <scope>test</scope>
356         </dependency>
357         <dependency>
358             <groupId>org.mockito</groupId>
359             <artifactId>mockito-all</artifactId>
360             <version>1.10.19</version>
361             <scope>test</scope>
362         </dependency>
363         <dependency>
364             <groupId>org.powermock</groupId>
365             <artifactId>powermock-module-junit4</artifactId>
366             <version>1.6.2</version>
367             <scope>test</scope>
368         </dependency>
369         <dependency>
370             <groupId>org.powermock</groupId>
371             <artifactId>powermock-api-mockito</artifactId>
372             <version>1.6.2</version>
373             <scope>test</scope>
374         </dependency>
375         <dependency>
376             <groupId>com.google.guava</groupId>
377             <artifactId>guava</artifactId>
378             <version>16.0</version>
379         </dependency>
380         <dependency>
381             <groupId>com.thinkaurelius.titan</groupId>
382             <artifactId>titan-core</artifactId>
383             <version>1.0.0</version>
384             <exclusions>
385                 <exclusion>
386                     <groupId>org.slf4j</groupId>
387                     <artifactId>slf4j-log4j12</artifactId>
388                 </exclusion>
389             </exclusions>
390         </dependency>
391         <dependency>
392             <groupId>com.fasterxml.jackson.jaxrs</groupId>
393             <artifactId>jackson-jaxrs-json-provider</artifactId>
394             <version>${jackson.version}</version>
395         </dependency>
396         <dependency>
397             <groupId>com.googlecode.json-simple</groupId>
398             <artifactId>json-simple</artifactId>
399             <version>1.1.1</version>
400         </dependency>
401         <dependency>
402             <groupId>org.springframework</groupId>
403             <artifactId>spring-web</artifactId>
404             <version>4.2.5.RELEASE</version>
405         </dependency>
406         <dependency>
407             <groupId>javax.xml.bind</groupId>
408             <artifactId>jaxb-api</artifactId>
409             <version>2.2.11</version>
410         </dependency>
411         <dependency>
412             <groupId>org.eclipse.persistence</groupId>
413             <artifactId>eclipselink</artifactId>
414             <version>2.6.2</version>
415         </dependency>
416         <dependency>
417             <groupId>com.google.code.gson</groupId>
418             <artifactId>gson</artifactId>
419             <version>2.7</version>
420         </dependency>
421         <dependency>
422             <groupId>com.jayway.jsonpath</groupId>
423             <artifactId>json-path</artifactId>
424             <version>2.2.0</version>
425         </dependency>
426         <dependency>
427             <groupId>org.eclipse.jetty</groupId>
428             <artifactId>jetty-util</artifactId>
429             <version>9.4.2.v20170220</version>
430         </dependency>
431         <dependency>
432             <groupId>org.apache.cxf</groupId>
433             <artifactId>cxf-core</artifactId>
434             <version>3.0.6</version>
435         </dependency>
436         <dependency>
437             <groupId>com.fasterxml.jackson.module</groupId>
438             <artifactId>jackson-module-jaxb-annotations</artifactId>
439             <version>${jackson.version}</version>
440         </dependency>
441         <dependency>
442             <groupId>com.sun.jersey</groupId>
443             <artifactId>jersey-core</artifactId>
444             <version>1.18</version>
445         </dependency>
446         <dependency>
447             <groupId>com.sun.jersey</groupId>
448             <artifactId>jersey-client</artifactId>
449             <version>1.18</version>
450         </dependency>
451         <dependency>
452             <groupId>com.sun.jersey</groupId>
453             <artifactId>jersey-json</artifactId>
454             <version>1.18</version>
455         </dependency>
456         <dependency>
457             <groupId>javax.ws.rs</groupId>
458             <artifactId>javax.ws.rs-api</artifactId>
459             <version>2.0.1</version>
460         </dependency>
461         <dependency>
462             <groupId>org.apache.tinkerpop</groupId>
463             <artifactId>gremlin-core</artifactId>
464             <version>3.0.1-incubating</version>
465         </dependency>
466         <dependency>
467             <groupId>org.slf4j</groupId>
468             <artifactId>slf4j-api</artifactId>
469             <version>1.7.5</version>
470         </dependency>
471         <dependency>
472             <groupId>com.fasterxml.jackson.core</groupId>
473             <artifactId>jackson-databind</artifactId>
474             <version>${jackson.version}</version>
475         </dependency>
476         <dependency>
477             <groupId>com.fasterxml.jackson.core</groupId>
478             <artifactId>jackson-annotations</artifactId>
479             <version>${jackson.version}</version>
480         </dependency>
481         <dependency>
482             <groupId>com.fasterxml.jackson.dataformat</groupId>
483             <artifactId>jackson-dataformat-yaml</artifactId>
484             <version>${jackson.version}</version>
485         </dependency>
486         <dependency>
487             <groupId>xml-apis</groupId>
488             <artifactId>xml-apis</artifactId>
489             <version>1.0.b2</version>
490         </dependency>
491         <dependency>
492             <groupId>commons-cli</groupId>
493             <artifactId>commons-cli</artifactId>
494             <version>1.3</version>
495         </dependency>
496         <dependency>
497             <groupId>com.beust</groupId>
498             <artifactId>jcommander</artifactId>
499             <version>1.48</version>
500         </dependency>
501         <dependency>
502             <groupId>org.json</groupId>
503             <artifactId>json</artifactId>
504             <version>20160810</version>
505         </dependency>
506         <dependency>
507             <groupId>javax.servlet</groupId>
508             <artifactId>javax.servlet-api</artifactId>
509             <version>3.1.0</version>
510         </dependency>
511         <dependency>
512             <groupId>com.bazaarvoice.jolt</groupId>
513             <artifactId>jolt-complete</artifactId>
514             <version>0.0.24</version>
515         </dependency>
516         <dependency>
517             <groupId>ch.qos.logback</groupId>
518             <artifactId>logback-core</artifactId>
519             <version>${logback.version}</version>
520         </dependency>
521         <dependency>
522             <groupId>ch.qos.logback</groupId>
523             <artifactId>logback-classic</artifactId>
524             <version>${logback.version}</version>
525         </dependency>
526         <dependency>
527             <groupId>ch.qos.logback</groupId>
528             <artifactId>logback-access</artifactId>
529             <version>${logback.version}</version>
530         </dependency>
531         <dependency>
532             <groupId>org.apache.hbase</groupId>
533             <artifactId>hbase-client</artifactId>
534             <version>${hbase.version}</version>
535             <exclusions>
536                 <exclusion>
537                     <groupId>org.slf4j</groupId>
538                     <artifactId>slf4j-log4j12</artifactId>
539                 </exclusion>
540                 <exclusion>
541                     <artifactId>log4j</artifactId>
542                     <groupId>log4j</groupId>
543                 </exclusion>
544             </exclusions>
545         </dependency>
546         <dependency>
547             <groupId>org.apache.hbase</groupId>
548             <artifactId>hbase-protocol</artifactId>
549             <version>${hbase.version}</version>
550             <exclusions>
551                 <exclusion>
552                     <artifactId>log4j</artifactId>
553                     <groupId>log4j</groupId>
554                 </exclusion>
555             </exclusions>
556         </dependency>
557         <dependency>
558             <groupId>org.apache.hbase</groupId>
559             <artifactId>hbase-common</artifactId>
560             <version>${hbase.version}</version>
561             <exclusions>
562                 <exclusion>
563                     <artifactId>log4j</artifactId>
564                     <groupId>log4j</groupId>
565                 </exclusion>
566             </exclusions>
567         </dependency>
568         <dependency>
569             <groupId>org.apache.activemq</groupId>
570             <artifactId>activemq-broker</artifactId>
571             <version>${activemq.version}</version>
572         </dependency>
573         <dependency>
574             <groupId>com.opencsv</groupId>
575             <artifactId>opencsv</artifactId>
576             <version>3.1</version>
577         </dependency>
578         <dependency>
579             <groupId>org.freemarker</groupId>
580             <artifactId>freemarker</artifactId>
581             <version>${freemarker.version}</version>
582         </dependency>
583         <dependency>
584             <groupId>com.github.fge</groupId>
585             <artifactId>json-patch</artifactId>
586             <version>1.9</version>
587         </dependency>
588         <dependency>
589             <groupId>com.att.nsa</groupId>
590             <artifactId>dmaapClient</artifactId>
591             <version>0.2.12</version>
592             <exclusions>
593                 <exclusion>
594                     <groupId>com.att.aft</groupId>
595                     <artifactId>dme2</artifactId>
596                 </exclusion>
597             </exclusions>
598         </dependency>
599         <dependency>
600             <groupId>org.apache.camel</groupId>
601             <artifactId>camel-jms</artifactId>
602             <version>2.15.5</version>
603         </dependency>
604         <dependency>
605             <groupId>org.powermock</groupId>
606             <artifactId>powermock-module-javaagent</artifactId>
607             <version>1.6.2</version>
608             <scope>test</scope>
609         </dependency>
610         <dependency>
611             <groupId>org.skyscreamer</groupId>
612             <artifactId>jsonassert</artifactId>
613             <version>1.4.0</version>
614             <scope>test</scope>
615         </dependency>
616         <dependency>
617             <groupId>org.apache.httpcomponents</groupId>
618             <artifactId>httpclient</artifactId>
619             <version>${httpclient.version}</version>
620         </dependency>
621         <dependency>
622             <groupId>org.onap.aai.aai-common</groupId>
623             <artifactId>aai-client-loadbalancer</artifactId>
624             <version>${project.version}</version>
625         </dependency>
626     </dependencies>
627
628     <!-- Plugins and repositories -->
629     <pluginRepositories>
630         <pluginRepository>
631             <id>central</id>
632             <url>http://repo1.maven.org/maven2</url>
633         </pluginRepository>
634         <pluginRepository>
635             <id>EvoSuite</id>
636             <name>EvoSuite Repository</name>
637             <url>http://www.evosuite.org/m2</url>
638         </pluginRepository>
639     </pluginRepositories>
640
641     <reporting>
642         <plugins>
643             <plugin>
644                 <groupId>org.apache.maven.plugins</groupId>
645                 <artifactId>maven-javadoc-plugin</artifactId>
646                 <version>2.10.4</version>
647                 <configuration>
648                     <failOnError>false</failOnError>
649                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
650                     <docletArtifact>
651                         <groupId>org.umlgraph</groupId>
652                         <artifactId>umlgraph</artifactId>
653                         <version>5.6</version>
654                     </docletArtifact>
655                     <additionalparam>-views</additionalparam>
656                     <useStandardDocletOptions>true</useStandardDocletOptions>
657                 </configuration>
658             </plugin>
659         </plugins>
660     </reporting>
661 </project>