Update aai-core use new schema ingest library
[aai/aai-common.git] / aai-core / pom.xml
1 <?xml version="1.0"?>
2 <!--
3
4     ============LICENSE_START=======================================================
5     org.onap.aai
6     ================================================================================
7     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21
22 -->
23 <project
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
25         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.aai.aai-common</groupId>
29         <artifactId>aai-common</artifactId>
30         <version>1.4.1-SNAPSHOT</version>
31     </parent>
32     <artifactId>aai-core</artifactId>
33     <name>aai-core</name>
34     <version>1.4.1-SNAPSHOT</version>
35     <packaging>jar</packaging>
36     <properties>
37         <sonar.language>java</sonar.language>
38         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
39         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
40         <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
41         <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
42         <sonar.projectVersion>${project.version}</sonar.projectVersion>
43         <httpclient.version>4.5.5</httpclient.version>
44         <jackson.version>2.2.3</jackson.version>
45         <eelf.core.version>1.0.0</eelf.core.version>
46         <logback.version>1.2.3</logback.version>
47         <freemarker.version>2.3.21</freemarker.version>
48         <activemq.version>5.15.6</activemq.version>
49         <jacoco.line.coverage.limit>0.50</jacoco.line.coverage.limit>
50         <gremlin.version>3.2.2</gremlin.version>
51         <groovy.version>2.4.15</groovy.version>
52         <jetty.version>9.4.11.v20180605</jetty.version>
53
54         <!-- Start of Default ONAP Schema Properties -->
55         <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
56         <gendoc.version>v15</gendoc.version>
57         <aai.release>onap</aai.release>
58         <schema.uri.base.path>/aai</schema.uri.base.path>
59         <schema.configuration.location>N/A</schema.configuration.location>
60         <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
61         <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
62         <schema.version.depth.start>v9</schema.version.depth.start>
63         <schema.version.related.link.start>v10</schema.version.related.link.start>
64         <schema.version.app.root.start>v11</schema.version.app.root.start>
65         <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
66         <schema.version.edge.label.start>v12</schema.version.edge.label.start>
67         <schema.version.api.default>v15</schema.version.api.default>
68         <schema.version.list>v8,v9,v10,v11,v12,v13,v14,v15</schema.version.list>
69         <schema.translator.list>config</schema.translator.list>
70         <!-- End of Default ONAP Schema Properties -->
71     </properties>
72     <profiles>
73         <!-- Start of ONAP profile -->
74         <profile>
75             <id>onap</id>
76             <properties>
77                 <aai.release>onap</aai.release>
78                 <schema.configuration.location>N/A</schema.configuration.location>
79                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
80                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
81                 <schema.version.depth.start>v9</schema.version.depth.start>
82                 <schema.version.related.link.start>v10</schema.version.related.link.start>
83                 <schema.version.app.root.start>v11</schema.version.app.root.start>
84                 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
85                 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
86                 <schema.version.api.default>v15</schema.version.api.default>
87                 <schema.version.list>v8,v9,v10,v11,v12,v13,v14,v15</schema.version.list>
88                 <gendoc.version>v15</gendoc.version>
89             </properties>
90         </profile>
91         <!-- End of ONAP profile -->
92         <profile>
93             <id>generateXsd</id>
94             <build>
95                 <plugins>
96                     <plugin>
97                         <groupId>org.codehaus.mojo</groupId>
98                         <artifactId>exec-maven-plugin</artifactId>
99                         <version>1.1.1</version>
100                         <executions>
101                             <execution>
102                                 <phase>process-classes</phase>
103                                 <goals>
104                                     <goal>java</goal>
105                                 </goals>
106                                 <configuration>
107                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
108                                     <systemProperties>
109                                         <systemProperty>
110                                             <key>gen_version</key>
111                                             <value>${gendoc.version}</value>
112                                         </systemProperty>
113                                         <systemProperty>
114                                             <key>gen_type</key>
115                                             <value>XSD</value>
116                                         </systemProperty>
117                                         <systemProperty>
118                                             <key>yamlresponses_url</key>
119                                             <value></value>
120                                         </systemProperty>
121                                         <systemProperty>
122                                             <key>yamlresponses_label</key>
123                                             <value></value>
124                                         </systemProperty>
125                                         <systemProperty>
126                                             <key>schema.configuration.location</key>
127                                             <value>${schema.configuration.location}</value>
128                                         </systemProperty>
129                                         <systemProperty>
130                                             <key>schema.nodes.location</key>
131                                             <value>${schema.nodes.location}</value>
132                                         </systemProperty>
133                                         <systemProperty>
134                                             <key>schema.edges.location</key>
135                                             <value>${schema.edges.location}</value>
136                                         </systemProperty>
137                                         <systemProperty>
138                                             <key>schema.version.list</key>
139                                             <value>${schema.version.list}</value>
140                                         </systemProperty>
141                                         <systemProperty>
142                                             <key>schema.version.depth.start</key>
143                                             <value>${schema.version.depth.start}</value>
144                                         </systemProperty>
145                                         <systemProperty>
146                                             <key>schema.version.depth.start</key>
147                                             <value>${schema.version.depth.start}</value>
148                                         </systemProperty>
149                                         <systemProperty>
150                                             <key>schema.version.related.link.start</key>
151                                             <value>${schema.version.related.link.start}</value>
152                                         </systemProperty>
153                                         <systemProperty>
154                                             <key>schema.version.app.root.start</key>
155                                             <value>${schema.version.app.root.start}</value>
156                                         </systemProperty>
157                                         <systemProperty>
158                                             <key>schema.version.edge.label.start</key>
159                                             <value>${schema.version.app.root.start}</value>
160                                         </systemProperty>
161                                         <systemProperty>
162                                             <key>schema.version.namespace.change.start</key>
163                                             <value>${schema.version.namespace.change.start}</value>
164                                         </systemProperty>
165                                         <systemProperty>
166                                             <key>schema.version.api.default</key>
167                                             <value>${schema.version.api.default}</value>
168                                         </systemProperty>
169                                         <systemProperty>
170                                             <key>schema.uri.base.path</key>
171                                             <value>${schema.uri.base.path}</value>
172                                         </systemProperty>
173                                         <systemProperty>
174                                             <key>schema.translator.list</key>
175                                             <value>${schema.translator.list}</value>
176                                         </systemProperty>
177                                         <systemProperty>
178                                             <key>aai.release</key>
179                                             <value>${aai.release}</value>
180                                         </systemProperty>
181                                     </systemProperties>
182                                 </configuration>
183                             </execution>
184                         </executions>
185                     </plugin>
186                 </plugins>
187             </build>
188         </profile>
189         <profile>
190             <id>generateYaml</id>
191             <build>
192                 <plugins>
193                     <plugin>
194                         <groupId>org.codehaus.mojo</groupId>
195                         <artifactId>exec-maven-plugin</artifactId>
196                         <version>1.1.1</version>
197                         <executions>
198                             <execution>
199                                 <phase>process-classes</phase>
200                                 <goals>
201                                     <goal>java</goal>
202                                 </goals>
203                                 <configuration>
204                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
205                                     <systemProperties>
206                                         <systemProperty>
207                                             <key>gen_version</key>
208                                             <value>${gendoc.version}</value>
209                                         </systemProperty>
210                                         <systemProperty>
211                                             <key>gen_type</key>
212                                             <value>YAML</value>
213                                         </systemProperty>
214                                         <systemProperty>
215                                             <key>yamlresponses_url</key>
216                                             <value>https://wiki.web.att.com/pages/viewpage.action?pageId=607391054
217                                             </value>
218                                         </systemProperty>
219                                         <systemProperty>
220                                             <key>yamlresponses_label</key>
221                                             <value>Response codes found in [response codes]</value>
222                                         </systemProperty>
223                                         <systemProperty>
224                                             <key>schema.configuration.location</key>
225                                             <value>${schema.configuration.location}</value>
226                                         </systemProperty>
227                                         <systemProperty>
228                                             <key>schema.nodes.location</key>
229                                             <value>${schema.nodes.location}</value>
230                                         </systemProperty>
231                                         <systemProperty>
232                                             <key>schema.edges.location</key>
233                                             <value>${schema.edges.location}</value>
234                                         </systemProperty>
235                                         <systemProperty>
236                                             <key>schema.version.list</key>
237                                             <value>${schema.version.list}</value>
238                                         </systemProperty>
239                                         <systemProperty>
240                                             <key>schema.version.depth.start</key>
241                                             <value>${schema.version.depth.start}</value>
242                                         </systemProperty>
243                                         <systemProperty>
244                                             <key>schema.version.depth.start</key>
245                                             <value>${schema.version.depth.start}</value>
246                                         </systemProperty>
247                                         <systemProperty>
248                                             <key>schema.version.related.link.start</key>
249                                             <value>${schema.version.related.link.start}</value>
250                                         </systemProperty>
251                                         <systemProperty>
252                                             <key>schema.version.app.root.start</key>
253                                             <value>${schema.version.app.root.start}</value>
254                                         </systemProperty>
255                                         <systemProperty>
256                                             <key>schema.version.edge.label.start</key>
257                                             <value>${schema.version.app.root.start}</value>
258                                         </systemProperty>
259                                         <systemProperty>
260                                             <key>schema.version.namespace.change.start</key>
261                                             <value>${schema.version.namespace.change.start}</value>
262                                         </systemProperty>
263                                         <systemProperty>
264                                             <key>schema.version.api.default</key>
265                                             <value>${schema.version.api.default}</value>
266                                         </systemProperty>
267                                         <systemProperty>
268                                             <key>schema.uri.base.path</key>
269                                             <value>${schema.uri.base.path}</value>
270                                         </systemProperty>
271                                         <systemProperty>
272                                             <key>schema.translator.list</key>
273                                             <value>${schema.translator.list}</value>
274                                         </systemProperty>
275                                         <systemProperty>
276                                             <key>aai.release</key>
277                                             <value>${aai.release}</value>
278                                         </systemProperty>
279                                     </systemProperties>
280                                 </configuration>
281                             </execution>
282                         </executions>
283                     </plugin>
284                 </plugins>
285             </build>
286         </profile>
287         <profile>
288             <id>generateHtml</id>
289             <build>
290                 <plugins>
291                     <plugin>
292                         <groupId>org.codehaus.mojo</groupId>
293                         <artifactId>exec-maven-plugin</artifactId>
294                         <version>1.1.1</version>
295                         <executions>
296                             <execution>
297                                 <phase>process-classes</phase>
298                                 <goals>
299                                     <goal>java</goal>
300                                 </goals>
301                                 <configuration>
302                                     <mainClass>org.onap.aai.util.swagger.GenerateSwagger</mainClass>
303                                     <systemProperties>
304                                         <property>
305                                             <key>aai.generate.version</key>
306                                             <value>${gendoc.version}</value>
307                                         </property>
308                                         <property>
309                                             <key>aai.wiki.link</key>
310                                             <value>${aai.wiki.link}</value>
311                                         </property>
312                                         <systemProperty>
313                                             <key>schema.configuration.location</key>
314                                             <value>${schema.configuration.location}</value>
315                                         </systemProperty>
316                                         <systemProperty>
317                                             <key>schema.nodes.location</key>
318                                             <value>${schema.nodes.location}</value>
319                                         </systemProperty>
320                                         <systemProperty>
321                                             <key>schema.edges.location</key>
322                                             <value>${schema.edges.location}</value>
323                                         </systemProperty>
324                                         <systemProperty>
325                                             <key>schema.version.list</key>
326                                             <value>${schema.version.list}</value>
327                                         </systemProperty>
328                                         <systemProperty>
329                                             <key>schema.version.depth.start</key>
330                                             <value>${schema.version.depth.start}</value>
331                                         </systemProperty>
332                                         <systemProperty>
333                                             <key>schema.version.depth.start</key>
334                                             <value>${schema.version.depth.start}</value>
335                                         </systemProperty>
336                                         <systemProperty>
337                                             <key>schema.version.related.link.start</key>
338                                             <value>${schema.version.related.link.start}</value>
339                                         </systemProperty>
340                                         <systemProperty>
341                                             <key>schema.version.app.root.start</key>
342                                             <value>${schema.version.app.root.start}</value>
343                                         </systemProperty>
344                                         <systemProperty>
345                                             <key>schema.version.edge.label.start</key>
346                                             <value>${schema.version.app.root.start}</value>
347                                         </systemProperty>
348                                         <systemProperty>
349                                             <key>schema.version.namespace.change.start</key>
350                                             <value>${schema.version.namespace.change.start}</value>
351                                         </systemProperty>
352                                         <systemProperty>
353                                             <key>schema.version.api.default</key>
354                                             <value>${schema.version.api.default}</value>
355                                         </systemProperty>
356                                         <systemProperty>
357                                             <key>schema.uri.base.path</key>
358                                             <value>${schema.uri.base.path}</value>
359                                         </systemProperty>
360                                         <systemProperty>
361                                             <key>schema.translator.list</key>
362                                             <value>${schema.translator.list}</value>
363                                         </systemProperty>
364                                         <systemProperty>
365                                             <key>aai.release</key>
366                                             <value>${aai.release}</value>
367                                         </systemProperty>
368                                     </systemProperties>
369                                 </configuration>
370                             </execution>
371                         </executions>
372                     </plugin>
373                 </plugins>
374             </build>
375         </profile>
376         <profile>
377             <id>autoGenerate</id>
378             <activation>
379                 <property>
380                     <name>aai.generate.schema</name>
381                     <value>!false</value>
382                 </property>
383             </activation>
384             <build>
385                 <plugins>
386                     <plugin>
387                         <groupId>org.codehaus.mojo</groupId>
388                         <artifactId>exec-maven-plugin</artifactId>
389                         <version>1.1.1</version>
390                         <executions>
391                             <execution>
392                                 <id>autoGenerateXsd</id>
393                                 <phase>process-classes</phase>
394                                 <goals>
395                                     <goal>java</goal>
396                                 </goals>
397                                 <configuration>
398                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
399                                     <systemProperties>
400                                         <systemProperty>
401                                             <key>gen_version</key>
402                                             <value>ALL</value>
403                                         </systemProperty>
404                                         <systemProperty>
405                                             <key>gen_type</key>
406                                             <value>XSD</value>
407                                         </systemProperty>
408                                         <systemProperty>
409                                             <key>yamlresponses_url</key>
410                                             <value></value>
411                                         </systemProperty>
412                                         <systemProperty>
413                                             <key>yamlresponses_label</key>
414                                             <value></value>
415                                         </systemProperty>
416                                         <systemProperty>
417                                             <key>schema.configuration.location</key>
418                                             <value>${schema.configuration.location}</value>
419                                         </systemProperty>
420                                         <systemProperty>
421                                             <key>schema.nodes.location</key>
422                                             <value>${schema.nodes.location}</value>
423                                         </systemProperty>
424                                         <systemProperty>
425                                             <key>schema.edges.location</key>
426                                             <value>${schema.edges.location}</value>
427                                         </systemProperty>
428                                         <systemProperty>
429                                             <key>schema.version.list</key>
430                                             <value>${schema.version.list}</value>
431                                         </systemProperty>
432                                         <systemProperty>
433                                             <key>schema.version.depth.start</key>
434                                             <value>${schema.version.depth.start}</value>
435                                         </systemProperty>
436                                         <systemProperty>
437                                             <key>schema.version.depth.start</key>
438                                             <value>${schema.version.depth.start}</value>
439                                         </systemProperty>
440                                         <systemProperty>
441                                             <key>schema.version.related.link.start</key>
442                                             <value>${schema.version.related.link.start}</value>
443                                         </systemProperty>
444                                         <systemProperty>
445                                             <key>schema.version.app.root.start</key>
446                                             <value>${schema.version.app.root.start}</value>
447                                         </systemProperty>
448                                         <systemProperty>
449                                             <key>schema.version.edge.label.start</key>
450                                             <value>${schema.version.app.root.start}</value>
451                                         </systemProperty>
452                                         <systemProperty>
453                                             <key>schema.version.namespace.change.start</key>
454                                             <value>${schema.version.namespace.change.start}</value>
455                                         </systemProperty>
456                                         <systemProperty>
457                                             <key>schema.version.api.default</key>
458                                             <value>${schema.version.api.default}</value>
459                                         </systemProperty>
460                                         <systemProperty>
461                                             <key>schema.uri.base.path</key>
462                                             <value>${schema.uri.base.path}</value>
463                                         </systemProperty>
464                                         <systemProperty>
465                                             <key>schema.translator.list</key>
466                                             <value>${schema.translator.list}</value>
467                                         </systemProperty>
468                                         <systemProperty>
469                                             <key>aai.release</key>
470                                             <value>${aai.release}</value>
471                                         </systemProperty>
472                                     </systemProperties>
473                                 </configuration>
474                             </execution>
475                             <execution>
476                                 <id>autoGenerateYaml</id>
477                                 <phase>process-classes</phase>
478                                 <goals>
479                                     <goal>java</goal>
480                                 </goals>
481                                 <configuration>
482                                     <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
483                                     <systemProperties>
484                                         <systemProperty>
485                                             <key>gen_version</key>
486                                             <value>ALL</value>
487                                         </systemProperty>
488                                         <systemProperty>
489                                             <key>gen_type</key>
490                                             <value>YAML</value>
491                                         </systemProperty>
492                                         <systemProperty>
493                                             <key>yamlresponses_url</key>
494                                             <value>https://wiki.web.att.com/pages/viewpage.action?pageId=607391054
495                                             </value>
496                                         </systemProperty>
497                                         <systemProperty>
498                                             <key>yamlresponses_label</key>
499                                             <value>Response codes found in [response codes]</value>
500                                         </systemProperty>
501                                         <systemProperty>
502                                             <key>schema.configuration.location</key>
503                                             <value>${schema.configuration.location}</value>
504                                         </systemProperty>
505                                         <systemProperty>
506                                             <key>schema.nodes.location</key>
507                                             <value>${schema.nodes.location}</value>
508                                         </systemProperty>
509                                         <systemProperty>
510                                             <key>schema.edges.location</key>
511                                             <value>${schema.edges.location}</value>
512                                         </systemProperty>
513                                         <systemProperty>
514                                             <key>schema.version.list</key>
515                                             <value>${schema.version.list}</value>
516                                         </systemProperty>
517                                         <systemProperty>
518                                             <key>schema.version.depth.start</key>
519                                             <value>${schema.version.depth.start}</value>
520                                         </systemProperty>
521                                         <systemProperty>
522                                             <key>schema.version.depth.start</key>
523                                             <value>${schema.version.depth.start}</value>
524                                         </systemProperty>
525                                         <systemProperty>
526                                             <key>schema.version.related.link.start</key>
527                                             <value>${schema.version.related.link.start}</value>
528                                         </systemProperty>
529                                         <systemProperty>
530                                             <key>schema.version.app.root.start</key>
531                                             <value>${schema.version.app.root.start}</value>
532                                         </systemProperty>
533                                         <systemProperty>
534                                             <key>schema.version.edge.label.start</key>
535                                             <value>${schema.version.app.root.start}</value>
536                                         </systemProperty>
537                                         <systemProperty>
538                                             <key>schema.version.namespace.change.start</key>
539                                             <value>${schema.version.namespace.change.start}</value>
540                                         </systemProperty>
541                                         <systemProperty>
542                                             <key>schema.version.api.default</key>
543                                             <value>${schema.version.api.default}</value>
544                                         </systemProperty>
545                                         <systemProperty>
546                                             <key>aai.release</key>
547                                             <value>${aai.release}</value>
548                                         </systemProperty>
549                                     </systemProperties>
550                                 </configuration>
551                             </execution>
552                             <execution>
553                                 <id>autoGenerateHtml</id>
554                                 <phase>process-classes</phase>
555                                 <goals>
556                                     <goal>java</goal>
557                                 </goals>
558                                 <configuration>
559                                     <mainClass>org.onap.aai.util.AutoGenerateHtml</mainClass>
560                                     <systemProperties>
561                                         <property>
562                                             <key>aai.generate.version</key>
563                                             <value>${gendoc.version}</value>
564                                         </property>
565                                         <property>
566                                             <key>aai.wiki.link</key>
567                                             <value>${aai.wiki.link}</value>
568                                         </property>
569                                         <systemProperty>
570                                             <key>schema.configuration.location</key>
571                                             <value>${schema.configuration.location}</value>
572                                         </systemProperty>
573                                         <systemProperty>
574                                             <key>schema.nodes.location</key>
575                                             <value>${schema.nodes.location}</value>
576                                         </systemProperty>
577                                         <systemProperty>
578                                             <key>schema.edges.location</key>
579                                             <value>${schema.edges.location}</value>
580                                         </systemProperty>
581                                         <systemProperty>
582                                             <key>schema.version.list</key>
583                                             <value>${schema.version.list}</value>
584                                         </systemProperty>
585                                         <systemProperty>
586                                             <key>schema.version.depth.start</key>
587                                             <value>${schema.version.depth.start}</value>
588                                         </systemProperty>
589                                         <systemProperty>
590                                             <key>schema.version.depth.start</key>
591                                             <value>${schema.version.depth.start}</value>
592                                         </systemProperty>
593                                         <systemProperty>
594                                             <key>schema.version.related.link.start</key>
595                                             <value>${schema.version.related.link.start}</value>
596                                         </systemProperty>
597                                         <systemProperty>
598                                             <key>schema.version.app.root.start</key>
599                                             <value>${schema.version.app.root.start}</value>
600                                         </systemProperty>
601                                         <systemProperty>
602                                             <key>schema.version.edge.label.start</key>
603                                             <value>${schema.version.app.root.start}</value>
604                                         </systemProperty>
605                                         <systemProperty>
606                                             <key>schema.version.namespace.change.start</key>
607                                             <value>${schema.version.namespace.change.start}</value>
608                                         </systemProperty>
609                                         <systemProperty>
610                                             <key>schema.version.api.default</key>
611                                             <value>${schema.version.api.default}</value>
612                                         </systemProperty>
613                                         <systemProperty>
614                                             <key>aai.release</key>
615                                             <value>${aai.release}</value>
616                                         </systemProperty>
617                                     </systemProperties>
618                                 </configuration>
619                             </execution>
620                         </executions>
621                     </plugin>
622                 </plugins>
623             </build>
624         </profile>
625     </profiles>
626     <build>
627         <plugins>
628             <plugin>
629                 <groupId>org.apache.maven.plugins</groupId>
630                 <artifactId>maven-surefire-plugin</artifactId>
631                 <version>2.12.4</version>
632                 <configuration>
633                     <argLine>-noverify ${argLine}</argLine>
634                     <systemPropertyVariables>
635                         <AJSC_HOME>.</AJSC_HOME>
636                         <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
637                     </systemPropertyVariables>
638                 </configuration>
639             </plugin>
640             <plugin>
641                 <groupId>org.codehaus.mojo</groupId>
642                 <artifactId>sonar-maven-plugin</artifactId>
643                 <version>3.2</version>
644             </plugin>
645             <plugin>
646                 <groupId>org.jacoco</groupId>
647                 <artifactId>jacoco-maven-plugin</artifactId>
648                 <version>0.7.7.201606060606</version>
649                 <configuration>
650                     <dumpOnExit>true</dumpOnExit>
651                 </configuration>
652                 <executions>
653                     <execution>
654                         <id>jacoco-initialize-unit-tests</id>
655                         <goals>
656                             <goal>prepare-agent</goal>
657                         </goals>
658                         <configuration>
659                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
660                             <!-- <append>true</append> -->
661                         </configuration>
662                     </execution>
663                     <execution>
664                         <id>post-unit-test</id>
665                         <phase>test</phase>
666                         <goals>
667                             <goal>report</goal>
668                         </goals>
669                         <configuration>
670                             <!-- Sets the path to the file which contains the execution data. -->
671                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
672                             <!-- Sets the output directory for the code coverage report. -->
673                             <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
674                         </configuration>
675                     </execution>
676                     <execution>
677                         <id>default-check</id>
678                         <goals>
679                             <goal>check</goal>
680                         </goals>
681                         <configuration>
682                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
683                             <rules>
684                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
685                                     <element>BUNDLE</element>
686                                     <limits>
687                                         <limit implementation="org.jacoco.report.check.Limit">
688                                             <counter>LINE</counter>
689                                             <value>COVEREDRATIO</value>
690                                             <minimum>${jacoco.line.coverage.limit}</minimum>
691                                         </limit>
692                                     </limits>
693                                 </rule>
694                             </rules>
695                         </configuration>
696                     </execution>
697                 </executions>
698             </plugin>
699             <plugin>
700                 <!-- explicitly define maven-deploy-plugin after other to force exec order -->
701                 <groupId>org.apache.maven.plugins</groupId>
702                 <artifactId>maven-deploy-plugin</artifactId>
703             </plugin>
704             <plugin>
705                 <groupId>org.sonatype.plugins</groupId>
706                 <artifactId>nexus-staging-maven-plugin</artifactId>
707             </plugin>
708             <plugin>
709                 <groupId>org.apache.maven.plugins</groupId>
710                 <artifactId>maven-site-plugin</artifactId>
711             </plugin>
712         </plugins>
713     </build>
714
715     <dependencies>
716         <dependency>
717             <groupId>org.onap.aai.aai-common</groupId>
718             <artifactId>aai-schema-ingest</artifactId>
719             <version>${project.version}</version>
720         </dependency>
721         <dependency>
722             <groupId>org.onap.aai.aai-common</groupId>
723             <artifactId>aai-annotations</artifactId>
724             <version>${project.version}</version>
725         </dependency>
726         <dependency>
727             <groupId>commons-lang</groupId>
728             <artifactId>commons-lang</artifactId>
729             <version>2.6</version>
730         </dependency>
731         <dependency>
732             <groupId>org.apache.commons</groupId>
733             <artifactId>commons-text</artifactId>
734             <version>1.1</version>
735             <scope>compile</scope>
736         </dependency>
737         <dependency>
738             <groupId>com.att.eelf</groupId>
739             <artifactId>eelf-core</artifactId>
740             <version>${eelf.core.version}</version>
741         </dependency>
742         <dependency>
743             <groupId>org.codehaus.jackson</groupId>
744             <artifactId>jackson-core-asl</artifactId>
745             <version>1.9.13</version>
746         </dependency>
747         <dependency>
748             <groupId>org.codehaus.jackson</groupId>
749             <artifactId>jackson-mapper-asl</artifactId>
750             <version>1.9.13</version>
751         </dependency>
752         <dependency>
753             <groupId>junit</groupId>
754             <artifactId>junit</artifactId>
755             <version>4.12</version>
756             <scope>test</scope>
757         </dependency>
758         <dependency>
759             <groupId>org.hamcrest</groupId>
760             <artifactId>hamcrest-junit</artifactId>
761             <version>2.0.0.0</version>
762             <scope>test</scope>
763         </dependency>
764         <dependency>
765             <groupId>org.hamcrest</groupId>
766             <artifactId>hamcrest-core</artifactId>
767             <version>1.3</version>
768             <scope>test</scope>
769         </dependency>
770         <dependency>
771             <groupId>org.mockito</groupId>
772             <artifactId>mockito-all</artifactId>
773             <version>1.10.19</version>
774             <scope>test</scope>
775         </dependency>
776         <dependency>
777             <groupId>org.powermock</groupId>
778             <artifactId>powermock-module-junit4</artifactId>
779             <version>1.6.2</version>
780             <scope>test</scope>
781         </dependency>
782         <dependency>
783             <groupId>org.powermock</groupId>
784             <artifactId>powermock-api-mockito</artifactId>
785             <version>1.6.2</version>
786             <scope>test</scope>
787         </dependency>
788         <dependency>
789             <groupId>com.google.guava</groupId>
790             <artifactId>guava</artifactId>
791             <version>19.0</version>
792         </dependency>
793         <dependency>
794             <groupId>org.janusgraph</groupId>
795             <artifactId>janusgraph-core</artifactId>
796             <version>0.2.0</version>
797             <exclusions>
798                 <exclusion>
799                     <groupId>org.slf4j</groupId>
800                     <artifactId>slf4j-log4j12</artifactId>
801                 </exclusion>
802                 <exclusion>
803                     <groupId>dom4j</groupId>
804                     <artifactId>dom4j</artifactId>
805                 </exclusion>
806             </exclusions>
807         </dependency>
808         <dependency>
809             <groupId>com.fasterxml.jackson.jaxrs</groupId>
810             <artifactId>jackson-jaxrs-json-provider</artifactId>
811             <version>${jackson.version}</version>
812         </dependency>
813         <dependency>
814             <groupId>com.googlecode.json-simple</groupId>
815             <artifactId>json-simple</artifactId>
816             <version>1.1.1</version>
817         </dependency>
818         <dependency>
819             <groupId>org.springframework</groupId>
820             <artifactId>spring-web</artifactId>
821             <version>4.3.21.RELEASE</version>
822         </dependency>
823         <dependency>
824             <groupId>org.springframework</groupId>
825             <artifactId>spring-context</artifactId>
826             <version>4.3.21.RELEASE</version>
827         </dependency>
828         <dependency>
829             <groupId>javax.xml.bind</groupId>
830             <artifactId>jaxb-api</artifactId>
831             <version>2.2.11</version>
832         </dependency>
833         <dependency>
834             <groupId>org.eclipse.persistence</groupId>
835             <artifactId>eclipselink</artifactId>
836             <version>2.6.2</version>
837         </dependency>
838         <dependency>
839             <groupId>com.google.code.gson</groupId>
840             <artifactId>gson</artifactId>
841             <version>2.7</version>
842         </dependency>
843         <dependency>
844             <groupId>com.jayway.jsonpath</groupId>
845             <artifactId>json-path</artifactId>
846             <version>2.2.0</version>
847         </dependency>
848         <dependency>
849             <groupId>org.eclipse.jetty</groupId>
850             <artifactId>jetty-util</artifactId>
851             <version>${jetty.version}</version>
852         </dependency>
853         <dependency>
854             <groupId>com.fasterxml.jackson.module</groupId>
855             <artifactId>jackson-module-jaxb-annotations</artifactId>
856             <version>${jackson.version}</version>
857         </dependency>
858         <dependency>
859             <groupId>com.sun.jersey</groupId>
860             <artifactId>jersey-core</artifactId>
861             <version>1.18</version>
862         </dependency>
863         <dependency>
864             <groupId>com.sun.jersey</groupId>
865             <artifactId>jersey-client</artifactId>
866             <version>1.18</version>
867         </dependency>
868         <dependency>
869             <groupId>com.sun.jersey</groupId>
870             <artifactId>jersey-json</artifactId>
871             <version>1.18</version>
872         </dependency>
873         <dependency>
874             <groupId>javax.ws.rs</groupId>
875             <artifactId>javax.ws.rs-api</artifactId>
876             <version>2.0.1</version>
877         </dependency>
878         <dependency>
879             <groupId>org.apache.tinkerpop</groupId>
880             <artifactId>gremlin-core</artifactId>
881             <version>${gremlin.version}</version>
882         </dependency>
883         <dependency>
884             <groupId>org.apache.tinkerpop</groupId>
885             <artifactId>tinkergraph-gremlin</artifactId>
886             <version>${gremlin.version}</version>
887         </dependency>
888         <dependency>
889             <groupId>org.slf4j</groupId>
890             <artifactId>slf4j-api</artifactId>
891             <version>1.7.5</version>
892         </dependency>
893         <dependency>
894             <groupId>com.fasterxml.jackson.core</groupId>
895             <artifactId>jackson-annotations</artifactId>
896             <version>${jackson.version}</version>
897         </dependency>
898         <dependency>
899             <groupId>com.fasterxml.jackson.dataformat</groupId>
900             <artifactId>jackson-dataformat-yaml</artifactId>
901             <version>${jackson.version}</version>
902         </dependency>
903         <dependency>
904             <groupId>xml-apis</groupId>
905             <artifactId>xml-apis</artifactId>
906             <version>1.0.b2</version>
907         </dependency>
908         <dependency>
909             <groupId>commons-cli</groupId>
910             <artifactId>commons-cli</artifactId>
911             <version>1.3</version>
912         </dependency>
913         <dependency>
914             <groupId>com.beust</groupId>
915             <artifactId>jcommander</artifactId>
916             <version>1.48</version>
917         </dependency>
918         <dependency>
919             <groupId>org.json</groupId>
920             <artifactId>json</artifactId>
921             <version>20160810</version>
922         </dependency>
923         <dependency>
924             <groupId>javax.servlet</groupId>
925             <artifactId>javax.servlet-api</artifactId>
926             <version>3.1.0</version>
927         </dependency>
928         <dependency>
929             <groupId>com.bazaarvoice.jolt</groupId>
930             <artifactId>jolt-complete</artifactId>
931             <version>0.0.24</version>
932         </dependency>
933         <dependency>
934             <groupId>ch.qos.logback</groupId>
935             <artifactId>logback-core</artifactId>
936             <version>${logback.version}</version>
937         </dependency>
938         <dependency>
939             <groupId>ch.qos.logback</groupId>
940             <artifactId>logback-classic</artifactId>
941             <version>${logback.version}</version>
942         </dependency>
943         <dependency>
944             <groupId>ch.qos.logback</groupId>
945             <artifactId>logback-access</artifactId>
946             <version>${logback.version}</version>
947         </dependency>
948         <dependency>
949             <groupId>org.apache.activemq</groupId>
950             <artifactId>activemq-broker</artifactId>
951             <version>${activemq.version}</version>
952         </dependency>
953         <dependency>
954             <groupId>com.opencsv</groupId>
955             <artifactId>opencsv</artifactId>
956             <version>3.1</version>
957         </dependency>
958         <dependency>
959             <groupId>org.freemarker</groupId>
960             <artifactId>freemarker</artifactId>
961             <version>${freemarker.version}</version>
962         </dependency>
963         <dependency>
964             <groupId>com.github.fge</groupId>
965             <artifactId>json-patch</artifactId>
966             <version>1.9</version>
967         </dependency>
968         <dependency>
969           <groupId>org.codehaus.groovy</groupId>
970           <artifactId>groovy</artifactId>
971           <version>${groovy.version}</version>
972           <classifier>indy</classifier>
973         </dependency>
974          <dependency>
975             <groupId>org.springframework</groupId>
976             <artifactId>spring-test</artifactId>
977             <version>4.3.21.RELEASE</version>
978             <scope>test</scope>
979         </dependency>
980         <dependency>
981             <groupId>org.springframework.boot</groupId>
982             <artifactId>spring-boot-test</artifactId>
983             <version>1.5.18.RELEASE</version>
984             <scope>test</scope>
985         </dependency>
986         <dependency>
987             <groupId>org.powermock</groupId>
988             <artifactId>powermock-module-javaagent</artifactId>
989             <version>1.6.2</version>
990             <scope>test</scope>
991         </dependency>
992         <dependency>
993             <groupId>org.skyscreamer</groupId>
994             <artifactId>jsonassert</artifactId>
995             <version>1.4.0</version>
996             <scope>test</scope>
997         </dependency>
998         <dependency>
999             <groupId>org.apache.httpcomponents</groupId>
1000             <artifactId>httpclient</artifactId>
1001             <version>${httpclient.version}</version>
1002         </dependency>
1003         <dependency>
1004             <groupId>org.apache.tinkerpop</groupId>
1005             <artifactId>gremlin-groovy</artifactId>
1006             <version>${gremlin.version}</version>
1007             <exclusions>
1008                 <exclusion>
1009                     <groupId>org.codehaus.groovy</groupId>
1010                     <artifactId>groovy</artifactId>
1011                 </exclusion>
1012             </exclusions>
1013         </dependency>
1014         <dependency>
1015             <groupId>org.springframework</groupId>
1016             <artifactId>spring-jms</artifactId>
1017             <version>4.3.21.RELEASE</version>
1018         </dependency>
1019         <dependency>
1020             <groupId>com.fasterxml.jackson.core</groupId>
1021             <artifactId>jackson-core</artifactId>
1022             <version>2.8.11</version>
1023         </dependency>
1024         <dependency>
1025             <groupId>com.fasterxml.jackson.core</groupId>
1026             <artifactId>jackson-databind</artifactId>
1027             <version>2.8.11</version>
1028         </dependency>
1029         <dependency>
1030             <groupId>com.fasterxml.jackson.core</groupId>
1031             <artifactId>jackson-annotations</artifactId>
1032             <version>2.8.11</version>
1033         </dependency>
1034         <dependency>
1035             <groupId>log4j</groupId>
1036             <artifactId>log4j</artifactId>
1037             <version>1.2.17</version>
1038         </dependency>
1039     </dependencies>
1040
1041     <!-- Plugins and repositories -->
1042     <pluginRepositories>
1043         <pluginRepository>
1044             <id>central</id>
1045             <url>http://repo1.maven.org/maven2</url>
1046         </pluginRepository>
1047         <pluginRepository>
1048             <id>EvoSuite</id>
1049             <name>EvoSuite Repository</name>
1050             <url>http://www.evosuite.org/m2</url>
1051         </pluginRepository>
1052     </pluginRepositories>
1053
1054     <reporting>
1055         <plugins>
1056             <plugin>
1057                 <groupId>org.apache.maven.plugins</groupId>
1058                 <artifactId>maven-javadoc-plugin</artifactId>
1059                 <version>2.10.4</version>
1060                 <configuration>
1061                     <failOnError>false</failOnError>
1062                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
1063                     <docletArtifact>
1064                         <groupId>org.umlgraph</groupId>
1065                         <artifactId>umlgraph</artifactId>
1066                         <version>5.6</version>
1067                     </docletArtifact>
1068                     <additionalparam>-views</additionalparam>
1069                     <useStandardDocletOptions>true</useStandardDocletOptions>
1070                 </configuration>
1071             </plugin>
1072         </plugins>
1073     </reporting>
1074 </project>