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