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