Change openecomp to onap and update license
[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.1.0-SNAPSHOT</version>
10     </parent>
11     <artifactId>aai-core</artifactId>
12     <name>aai-core</name>
13     <version>1.1.0-SNAPSHOT</version>
14     <packaging>jar</packaging>
15     <properties>
16         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
17         <sonar.language>java</sonar.language>
18         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
19         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
20         <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
21         <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
22         <sonar.projectVersion>${project.version}</sonar.projectVersion>
23         <sonar.exclusions>org/onap/aai/domain/**</sonar.exclusions>
24         <gendoc.version>v11</gendoc.version>
25         <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
26         <hbase.version>1.0.2</hbase.version>
27     </properties>
28     <profiles>
29         <profile>
30             <id>generateXsd</id>
31             <build>
32                 <plugins>
33                     <plugin>
34                         <groupId>org.codehaus.mojo</groupId>
35                         <artifactId>exec-maven-plugin</artifactId>
36                         <version>1.1.1</version>
37                         <executions>
38                             <execution>
39                                 <phase>process-classes</phase>
40                                 <goals>
41                                     <goal>java</goal>
42                                 </goals>
43                                 <configuration>
44                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
45                                     <systemProperties>
46                                         <systemProperty>
47                                             <key>gen_version</key>
48                                             <value>${gendoc.version}</value>
49                                         </systemProperty>
50                                         <systemProperty>
51                                             <key>gen_type</key>
52                                             <value>XSD</value>
53                                         </systemProperty>
54                                         <systemProperty>
55                                             <key>yamlresponses_url</key>
56                                             <value></value>
57                                         </systemProperty>
58                                         <systemProperty>
59                                             <key>yamlresponses_label</key>
60                                             <value></value>
61                                         </systemProperty>
62                                     </systemProperties>
63                                 </configuration>
64                             </execution>
65                         </executions>
66                     </plugin>
67                 </plugins>
68             </build>
69         </profile>
70         <profile>
71             <id>generateYaml</id>
72             <build>
73                 <plugins>
74                     <plugin>
75                         <groupId>org.codehaus.mojo</groupId>
76                         <artifactId>exec-maven-plugin</artifactId>
77                         <version>1.1.1</version>
78                         <executions>
79                             <execution>
80                                 <phase>process-classes</phase>
81                                 <goals>
82                                     <goal>java</goal>
83                                 </goals>
84                                 <configuration>
85                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
86                                     <systemProperties>
87                                         <systemProperty>
88                                             <key>gen_version</key>
89                                             <value>${gendoc.version}</value>
90                                         </systemProperty>
91                                         <systemProperty>
92                                             <key>gen_type</key>
93                                             <value>YAML</value>
94                                         </systemProperty>
95                                         <systemProperty>
96                                             <key>yamlresponses_url</key>
97                                             <value>${aai.wiki.link}</value>
98                                         </systemProperty>
99                                         <systemProperty>
100                                             <key>yamlresponses_label</key>
101                                             <value>Response codes found in [response codes]</value>
102                                         </systemProperty>
103                                     </systemProperties>
104                                 </configuration>
105                             </execution>
106                         </executions>
107                     </plugin>
108                 </plugins>
109             </build>
110         </profile>
111         <profile>
112             <id>generateHtml</id>
113             <build>
114                 <plugins>
115                     <plugin>
116                         <groupId>org.codehaus.mojo</groupId>
117                         <artifactId>exec-maven-plugin</artifactId>
118                         <version>1.1.1</version>
119                         <executions>
120                             <execution>
121                                 <phase>process-classes</phase>
122                                 <goals>
123                                     <goal>java</goal>
124                                 </goals>
125                                 <configuration>
126                                     <mainClass>org.onap.aai.util.swagger.GenerateSwagger</mainClass>
127                                     <systemProperties>
128                                         <property>
129                                             <key>aai.generate.version</key>
130                                             <value>${gendoc.version}</value>
131                                         </property>
132                                         <property>
133                                             <key>aai.wiki.link</key>
134                                             <value>${aai.wiki.link}</value>
135                                         </property>
136                                     </systemProperties>
137                                 </configuration>
138                             </execution>
139                         </executions>
140                     </plugin>
141                 </plugins>
142             </build>
143         </profile>
144     </profiles>
145     <dependencies>
146         <dependency>
147             <groupId>org.onap.aai.aai-common</groupId>
148             <artifactId>aai-schema</artifactId>
149             <version>${aai.schema.version}</version>
150         </dependency>
151         <dependency>
152             <groupId>commons-lang</groupId>
153             <artifactId>commons-lang</artifactId>
154             <version>2.6</version>
155         </dependency>
156         <dependency>
157             <groupId>com.att.eelf</groupId>
158             <artifactId>eelf-core</artifactId>
159             <version>1.0.0</version>
160         </dependency>
161         <dependency>
162             <groupId>jdk.tools</groupId>
163             <artifactId>jdk.tools</artifactId>
164             <version>1.8.0_101</version>
165             <scope>system</scope>
166             <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
167         </dependency>
168         <dependency>
169             <groupId>org.codehaus.jackson</groupId>
170             <artifactId>jackson-core-asl</artifactId>
171             <version>1.9.13</version>
172         </dependency>
173
174         <dependency>
175             <groupId>org.codehaus.jackson</groupId>
176             <artifactId>jackson-mapper-asl</artifactId>
177             <version>1.9.13</version>
178         </dependency>
179         <dependency>
180             <groupId>junit</groupId>
181             <artifactId>junit</artifactId>
182             <version>4.12</version>
183             <scope>test</scope>
184         </dependency>
185         <dependency>
186             <groupId>org.hamcrest</groupId>
187             <artifactId>hamcrest-junit</artifactId>
188             <version>2.0.0.0</version>
189             <scope>test</scope>
190         </dependency>
191         <dependency>
192             <groupId>org.hamcrest</groupId>
193             <artifactId>hamcrest-core</artifactId>
194             <version>1.3</version>
195             <scope>test</scope>
196         </dependency>
197         <dependency>
198             <groupId>org.mockito</groupId>
199             <artifactId>mockito-all</artifactId>
200             <version>1.10.19</version>
201             <scope>test</scope>
202         </dependency>
203         <dependency>
204             <groupId>org.powermock</groupId>
205             <artifactId>powermock-module-junit4</artifactId>
206             <version>1.6.2</version>
207             <scope>test</scope>
208         </dependency>
209         <dependency>
210             <groupId>org.powermock</groupId>
211             <artifactId>powermock-api-mockito</artifactId>
212             <version>1.6.2</version>
213             <scope>test</scope>
214         </dependency>
215         <dependency>
216             <groupId>com.google.guava</groupId>
217             <artifactId>guava</artifactId>
218             <version>16.0</version>
219         </dependency>
220         <dependency>
221             <groupId>com.thinkaurelius.titan</groupId>
222             <artifactId>titan-core</artifactId>
223             <version>1.0.0</version>
224             <exclusions>
225                 <exclusion>
226                     <groupId>org.slf4j</groupId>
227                     <artifactId>slf4j-log4j12</artifactId>
228                 </exclusion>
229             </exclusions>
230         </dependency>
231         <dependency>
232             <groupId>com.fasterxml.jackson.jaxrs</groupId>
233             <artifactId>jackson-jaxrs-json-provider</artifactId>
234             <version>2.1.4</version>
235         </dependency>
236         <dependency>
237             <groupId>com.googlecode.json-simple</groupId>
238             <artifactId>json-simple</artifactId>
239             <version>1.1.1</version>
240         </dependency>
241         <dependency>
242             <groupId>org.springframework</groupId>
243             <artifactId>spring-web</artifactId>
244             <version>4.2.5.RELEASE</version>
245         </dependency>
246         <dependency>
247             <groupId>javax.xml.bind</groupId>
248             <artifactId>jaxb-api</artifactId>
249             <version>2.2.11</version>
250         </dependency>
251         <dependency>
252             <groupId>org.eclipse.persistence</groupId>
253             <artifactId>eclipselink</artifactId>
254             <version>2.6.2</version>
255         </dependency>
256         <dependency>
257             <groupId>com.google.code.gson</groupId>
258             <artifactId>gson</artifactId>
259             <version>2.7</version>
260         </dependency>
261         <dependency>
262             <groupId>com.jayway.jsonpath</groupId>
263             <artifactId>json-path</artifactId>
264             <version>2.2.0</version>
265         </dependency>
266         <dependency>
267             <groupId>org.eclipse.jetty</groupId>
268             <artifactId>jetty-util</artifactId>
269             <version>9.4.2.v20170220</version>
270         </dependency>
271         <dependency>
272             <groupId>org.apache.cxf</groupId>
273             <artifactId>cxf-core</artifactId>
274             <version>3.0.6</version>
275         </dependency>
276         <dependency>
277             <groupId>com.fasterxml.jackson.module</groupId>
278             <artifactId>jackson-module-jaxb-annotations</artifactId>
279             <version>2.1.4</version>
280         </dependency>
281         <dependency>
282             <groupId>com.sun.jersey</groupId>
283             <artifactId>jersey-core</artifactId>
284             <version>1.18</version>
285         </dependency>
286         <dependency>
287             <groupId>com.sun.jersey</groupId>
288             <artifactId>jersey-client</artifactId>
289             <version>1.18</version>
290         </dependency>
291         <dependency>
292             <groupId>com.sun.jersey</groupId>
293             <artifactId>jersey-json</artifactId>
294             <version>1.18</version>
295         </dependency>
296         <dependency>
297             <groupId>javax.ws.rs</groupId>
298             <artifactId>javax.ws.rs-api</artifactId>
299             <version>2.0.1</version>
300         </dependency>
301         <dependency>
302             <groupId>org.apache.tinkerpop</groupId>
303             <artifactId>gremlin-core</artifactId>
304             <version>3.0.1-incubating</version>
305         </dependency>
306         <dependency>
307             <groupId>org.slf4j</groupId>
308             <artifactId>slf4j-api</artifactId>
309             <version>1.7.5</version>
310         </dependency>
311         <dependency>
312             <groupId>com.fasterxml.jackson.core</groupId>
313             <artifactId>jackson-databind</artifactId>
314             <version>2.1.4</version>
315         </dependency>
316         <dependency>
317             <groupId>com.fasterxml.jackson.core</groupId>
318             <artifactId>jackson-annotations</artifactId>
319             <version>2.1.4</version>
320         </dependency>
321         <dependency>
322             <groupId>com.fasterxml.jackson.dataformat</groupId>
323             <artifactId>jackson-dataformat-yaml</artifactId>
324             <version>2.1.4</version>
325         </dependency>
326         <dependency>
327             <groupId>xml-apis</groupId>
328             <artifactId>xml-apis</artifactId>
329             <version>1.0.b2</version>
330         </dependency>
331         <dependency>
332             <groupId>commons-cli</groupId>
333             <artifactId>commons-cli</artifactId>
334             <version>1.3</version>
335         </dependency>
336         <dependency>
337             <groupId>com.beust</groupId>
338             <artifactId>jcommander</artifactId>
339             <version>1.48</version>
340         </dependency>
341         <dependency>
342             <groupId>org.json</groupId>
343             <artifactId>json</artifactId>
344             <version>20160810</version>
345         </dependency>
346         <dependency>
347             <groupId>javax.servlet</groupId>
348             <artifactId>javax.servlet-api</artifactId>
349             <version>3.1.0</version>
350         </dependency>
351         <dependency>
352             <groupId>com.bazaarvoice.jolt</groupId>
353             <artifactId>jolt-complete</artifactId>
354             <version>0.0.24</version>
355         </dependency>
356         <dependency>
357             <groupId>ch.qos.logback</groupId>
358             <artifactId>logback-core</artifactId>
359             <version>1.1.7</version>
360         </dependency>
361         <dependency>
362             <groupId>ch.qos.logback</groupId>
363             <artifactId>logback-classic</artifactId>
364             <version>1.1.7</version>
365         </dependency>
366         <dependency>
367             <groupId>ch.qos.logback</groupId>
368             <artifactId>logback-access</artifactId>
369             <version>1.1.7</version>
370         </dependency>
371         <dependency>
372             <groupId>org.apache.hbase</groupId>
373             <artifactId>hbase-client</artifactId>
374             <version>${hbase.version}</version>
375             <exclusions>
376                 <exclusion>
377                     <groupId>org.slf4j</groupId>
378                     <artifactId>slf4j-log4j12</artifactId>
379                 </exclusion>
380                 <exclusion>
381                     <artifactId>log4j</artifactId>
382                     <groupId>log4j</groupId>
383                 </exclusion>
384             </exclusions>
385         </dependency>
386         <dependency>
387             <groupId>org.apache.hbase</groupId>
388             <artifactId>hbase-protocol</artifactId>
389             <version>${hbase.version}</version>
390             <exclusions>
391                 <exclusion>
392                     <artifactId>log4j</artifactId>
393                     <groupId>log4j</groupId>
394                 </exclusion>
395             </exclusions>
396         </dependency>
397         <dependency>
398             <groupId>org.apache.hbase</groupId>
399             <artifactId>hbase-common</artifactId>
400             <version>${hbase.version}</version>
401             <exclusions>
402                 <exclusion>
403                     <artifactId>log4j</artifactId>
404                     <groupId>log4j</groupId>
405                 </exclusion>
406             </exclusions>
407         </dependency>
408         <dependency>
409             <groupId>org.apache.activemq</groupId>
410             <artifactId>activemq-broker</artifactId>
411             <version>5.14.4</version>
412         </dependency>
413         <dependency>
414             <groupId>com.opencsv</groupId>
415             <artifactId>opencsv</artifactId>
416             <version>3.1</version>
417         </dependency>
418         <dependency>
419             <groupId>org.freemarker</groupId>
420             <artifactId>freemarker</artifactId>
421             <version>2.3.14</version>
422         </dependency>
423         <dependency>
424             <groupId>com.github.fge</groupId>
425             <artifactId>json-patch</artifactId>
426             <version>1.9</version>
427         </dependency>
428         <dependency>
429             <groupId>com.att.nsa</groupId>
430             <artifactId>dmaapClient</artifactId>
431             <version>0.2.12</version>
432             <exclusions>
433                                 <exclusion>
434                                         <groupId>com.att.aft</groupId>
435                                         <artifactId>dme2</artifactId>
436                                 </exclusion>
437                         </exclusions>
438         </dependency>
439         <dependency>
440             <groupId>org.apache.camel</groupId>
441             <artifactId>camel-jms</artifactId>
442             <version>2.15.5</version>
443         </dependency>
444         <dependency>
445             <groupId>org.powermock</groupId>
446             <artifactId>powermock-module-javaagent</artifactId>
447             <version>1.6.2</version>
448             <scope>test</scope>
449         </dependency>
450     </dependencies>
451
452     <build>
453         <plugins>
454             <plugin>
455                 <groupId>org.codehaus.mojo</groupId>
456                 <artifactId>sonar-maven-plugin</artifactId>
457                 <version>3.2</version>
458             </plugin>
459             <plugin>
460                 <groupId>org.jacoco</groupId>
461                 <artifactId>jacoco-maven-plugin</artifactId>
462                 <version>0.7.7.201606060606</version>
463                 <configuration>
464                     <dumpOnExit>true</dumpOnExit>
465                     <excludes>
466                         <exclude>**/domain/**</exclude>
467                     </excludes>
468                 </configuration>
469                 <executions>
470                     <execution>
471                         <id>jacoco-initialize-unit-tests</id>
472                         <goals>
473                             <goal>prepare-agent</goal>
474                         </goals>
475                         <configuration>
476                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
477                             <!-- <append>true</append> -->
478                         </configuration>
479                     </execution>
480                 </executions>
481             </plugin>
482             <plugin>
483                 <groupId>org.apache.maven.plugins</groupId>
484                 <artifactId>maven-site-plugin</artifactId>
485             </plugin>
486             <plugin>
487                 <groupId>org.apache.maven.plugins</groupId>
488                 <artifactId>maven-surefire-plugin</artifactId>
489                 <version>2.12.4</version>
490                 <configuration>
491                     <argLine>-noverify ${argLine}</argLine>
492                     <systemPropertyVariables>
493                         <AJSC_HOME>.</AJSC_HOME>
494                         <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
495                     </systemPropertyVariables>
496                 </configuration>
497             </plugin>
498             <plugin>
499                 <groupId>org.apache.maven.plugins</groupId>
500                 <artifactId>maven-deploy-plugin</artifactId>
501             </plugin>
502             <plugin>
503                 <groupId>org.sonatype.plugins</groupId>
504                 <artifactId>nexus-staging-maven-plugin</artifactId>
505             </plugin>
506         </plugins>
507     </build>
508
509     <!-- Plugins and repositories -->
510     <pluginRepositories>
511         <pluginRepository>
512             <id>central</id>
513             <url>http://repo1.maven.org/maven2</url>
514         </pluginRepository>
515         <pluginRepository>
516             <id>EvoSuite</id>
517             <name>EvoSuite Repository</name>
518             <url>http://www.evosuite.org/m2</url>
519         </pluginRepository>
520     </pluginRepositories>
521
522     <reporting>
523         <plugins>
524             <plugin>
525                 <groupId>org.apache.maven.plugins</groupId>
526                 <artifactId>maven-javadoc-plugin</artifactId>
527                 <version>2.10.4</version>
528                 <configuration>
529                     <failOnError>false</failOnError>
530                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
531                     <docletArtifact>
532                         <groupId>org.umlgraph</groupId>
533                         <artifactId>umlgraph</artifactId>
534                         <version>5.6</version>
535                     </docletArtifact>
536                     <additionalparam>-views</additionalparam>
537                     <useStandardDocletOptions>true</useStandardDocletOptions>
538                 </configuration>
539             </plugin>
540         </plugins>
541     </reporting>
542 </project>