Remove schema service dependency and add oxm
[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>v10</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>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>v10</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>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     </profiles>
93     <build>
94         <plugins>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-surefire-plugin</artifactId>
98                 <version>2.12.4</version>
99                 <configuration>
100                     <argLine>-noverify ${argLine}</argLine>
101                     <systemPropertyVariables>
102                         <AJSC_HOME>.</AJSC_HOME>
103                         <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
104                     </systemPropertyVariables>
105                 </configuration>
106             </plugin>
107             <plugin>
108                 <groupId>org.apache.maven.plugins</groupId>
109                 <artifactId>maven-dependency-plugin</artifactId>
110                 <version>2.8</version>
111             </plugin>
112             <plugin>
113                 <groupId>org.codehaus.mojo</groupId>
114                 <artifactId>sonar-maven-plugin</artifactId>
115                 <version>3.2</version>
116             </plugin>
117             <plugin>
118                 <groupId>org.jacoco</groupId>
119                 <artifactId>jacoco-maven-plugin</artifactId>
120                 <version>0.7.7.201606060606</version>
121                 <configuration>
122                     <dumpOnExit>true</dumpOnExit>
123                 </configuration>
124                 <executions>
125                     <execution>
126                         <id>jacoco-initialize-unit-tests</id>
127                         <goals>
128                             <goal>prepare-agent</goal>
129                         </goals>
130                         <configuration>
131                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
132                             <!-- <append>true</append> -->
133                         </configuration>
134                     </execution>
135                     <execution>
136                         <id>post-unit-test</id>
137                         <phase>test</phase>
138                         <goals>
139                             <goal>report</goal>
140                         </goals>
141                         <configuration>
142                             <!-- Sets the path to the file which contains the execution data. -->
143                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
144                             <!-- Sets the output directory for the code coverage report. -->
145                             <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
146                         </configuration>
147                     </execution>
148                     <execution>
149                         <id>default-check</id>
150                         <goals>
151                             <goal>check</goal>
152                         </goals>
153                         <configuration>
154                             <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
155                             <rules>
156                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
157                                     <element>BUNDLE</element>
158                                     <limits>
159                                         <limit implementation="org.jacoco.report.check.Limit">
160                                             <counter>LINE</counter>
161                                             <value>COVEREDRATIO</value>
162                                             <minimum>${jacoco.line.coverage.limit}</minimum>
163                                         </limit>
164                                     </limits>
165                                 </rule>
166                             </rules>
167                         </configuration>
168                     </execution>
169                 </executions>
170             </plugin>
171             <plugin>
172                 <!-- explicitly define maven-deploy-plugin after other to force exec order -->
173                 <groupId>org.apache.maven.plugins</groupId>
174                 <artifactId>maven-deploy-plugin</artifactId>
175             </plugin>
176             <plugin>
177                 <groupId>org.sonatype.plugins</groupId>
178                 <artifactId>nexus-staging-maven-plugin</artifactId>
179             </plugin>
180             <plugin>
181                 <groupId>org.apache.maven.plugins</groupId>
182                 <artifactId>maven-site-plugin</artifactId>
183             </plugin>
184         </plugins>
185     </build>
186
187     <dependencies>
188         <dependency>
189             <groupId>org.onap.aai.aai-common</groupId>
190             <artifactId>aai-schema-ingest</artifactId>
191             <version>${project.version}</version>
192         </dependency>
193         <dependency>
194             <groupId>org.onap.aai.aai-common</groupId>
195             <artifactId>aai-annotations</artifactId>
196             <version>${project.version}</version>
197         </dependency>
198         <dependency>
199             <groupId>commons-lang</groupId>
200             <artifactId>commons-lang</artifactId>
201             <version>2.6</version>
202         </dependency>
203         <dependency>
204             <groupId>org.apache.commons</groupId>
205             <artifactId>commons-text</artifactId>
206             <version>1.1</version>
207             <scope>compile</scope>
208         </dependency>
209         <dependency>
210             <groupId>com.att.eelf</groupId>
211             <artifactId>eelf-core</artifactId>
212             <version>${eelf.core.version}</version>
213         </dependency>
214         <dependency>
215             <groupId>org.codehaus.jackson</groupId>
216             <artifactId>jackson-core-asl</artifactId>
217             <version>1.9.13</version>
218         </dependency>
219         <dependency>
220             <groupId>org.codehaus.jackson</groupId>
221             <artifactId>jackson-mapper-asl</artifactId>
222             <version>1.9.13</version>
223         </dependency>
224         <dependency>
225             <groupId>junit</groupId>
226             <artifactId>junit</artifactId>
227             <version>4.12</version>
228             <scope>test</scope>
229         </dependency>
230         <dependency>
231             <groupId>org.hamcrest</groupId>
232             <artifactId>hamcrest-junit</artifactId>
233             <version>2.0.0.0</version>
234             <scope>test</scope>
235         </dependency>
236         <dependency>
237             <groupId>org.hamcrest</groupId>
238             <artifactId>hamcrest-core</artifactId>
239             <version>1.3</version>
240             <scope>test</scope>
241         </dependency>
242         <dependency>
243             <groupId>org.mockito</groupId>
244             <artifactId>mockito-all</artifactId>
245             <version>1.10.19</version>
246             <scope>test</scope>
247         </dependency>
248         <dependency>
249             <groupId>org.powermock</groupId>
250             <artifactId>powermock-module-junit4</artifactId>
251             <version>1.6.2</version>
252             <scope>test</scope>
253         </dependency>
254         <dependency>
255             <groupId>org.powermock</groupId>
256             <artifactId>powermock-api-mockito</artifactId>
257             <version>1.6.2</version>
258             <scope>test</scope>
259         </dependency>
260         <dependency>
261             <groupId>com.google.guava</groupId>
262             <artifactId>guava</artifactId>
263             <version>19.0</version>
264         </dependency>
265         <dependency>
266             <groupId>org.janusgraph</groupId>
267             <artifactId>janusgraph-core</artifactId>
268             <version>0.2.0</version>
269             <exclusions>
270                 <exclusion>
271                     <groupId>org.slf4j</groupId>
272                     <artifactId>slf4j-log4j12</artifactId>
273                 </exclusion>
274                 <exclusion>
275                     <groupId>dom4j</groupId>
276                     <artifactId>dom4j</artifactId>
277                 </exclusion>
278             </exclusions>
279         </dependency>
280         <dependency>
281             <groupId>com.fasterxml.jackson.jaxrs</groupId>
282             <artifactId>jackson-jaxrs-json-provider</artifactId>
283             <version>${jackson.version}</version>
284         </dependency>
285         <dependency>
286             <groupId>com.googlecode.json-simple</groupId>
287             <artifactId>json-simple</artifactId>
288             <version>1.1.1</version>
289         </dependency>
290         <dependency>
291             <groupId>org.springframework</groupId>
292             <artifactId>spring-web</artifactId>
293             <version>4.3.21.RELEASE</version>
294         </dependency>
295         <dependency>
296             <groupId>org.springframework</groupId>
297             <artifactId>spring-context</artifactId>
298             <version>4.3.21.RELEASE</version>
299         </dependency>
300         <dependency>
301             <groupId>javax.xml.bind</groupId>
302             <artifactId>jaxb-api</artifactId>
303             <version>2.2.11</version>
304         </dependency>
305         <dependency>
306             <groupId>org.eclipse.persistence</groupId>
307             <artifactId>eclipselink</artifactId>
308             <version>2.6.2</version>
309         </dependency>
310         <dependency>
311             <groupId>com.google.code.gson</groupId>
312             <artifactId>gson</artifactId>
313             <version>2.7</version>
314         </dependency>
315         <dependency>
316             <groupId>com.jayway.jsonpath</groupId>
317             <artifactId>json-path</artifactId>
318             <version>2.2.0</version>
319         </dependency>
320         <dependency>
321             <groupId>org.eclipse.jetty</groupId>
322             <artifactId>jetty-util</artifactId>
323             <version>${jetty.version}</version>
324         </dependency>
325         <dependency>
326             <groupId>com.fasterxml.jackson.module</groupId>
327             <artifactId>jackson-module-jaxb-annotations</artifactId>
328             <version>${jackson.version}</version>
329         </dependency>
330         <dependency>
331             <groupId>com.sun.jersey</groupId>
332             <artifactId>jersey-core</artifactId>
333             <version>1.18</version>
334         </dependency>
335         <dependency>
336             <groupId>com.sun.jersey</groupId>
337             <artifactId>jersey-client</artifactId>
338             <version>1.18</version>
339         </dependency>
340         <dependency>
341             <groupId>com.sun.jersey</groupId>
342             <artifactId>jersey-json</artifactId>
343             <version>1.18</version>
344         </dependency>
345         <dependency>
346             <groupId>javax.ws.rs</groupId>
347             <artifactId>javax.ws.rs-api</artifactId>
348             <version>2.0.1</version>
349         </dependency>
350         <dependency>
351             <groupId>org.apache.tinkerpop</groupId>
352             <artifactId>gremlin-core</artifactId>
353             <version>${gremlin.version}</version>
354         </dependency>
355         <dependency>
356             <groupId>org.apache.tinkerpop</groupId>
357             <artifactId>tinkergraph-gremlin</artifactId>
358             <version>${gremlin.version}</version>
359         </dependency>
360         <dependency>
361             <groupId>org.slf4j</groupId>
362             <artifactId>slf4j-api</artifactId>
363             <version>1.7.5</version>
364         </dependency>
365         <dependency>
366             <groupId>com.fasterxml.jackson.core</groupId>
367             <artifactId>jackson-annotations</artifactId>
368             <version>${jackson.version}</version>
369         </dependency>
370         <dependency>
371             <groupId>com.fasterxml.jackson.dataformat</groupId>
372             <artifactId>jackson-dataformat-yaml</artifactId>
373             <version>${jackson.version}</version>
374         </dependency>
375         <dependency>
376             <groupId>xml-apis</groupId>
377             <artifactId>xml-apis</artifactId>
378             <version>1.0.b2</version>
379         </dependency>
380         <dependency>
381             <groupId>commons-cli</groupId>
382             <artifactId>commons-cli</artifactId>
383             <version>1.3</version>
384         </dependency>
385         <dependency>
386             <groupId>com.beust</groupId>
387             <artifactId>jcommander</artifactId>
388             <version>1.48</version>
389         </dependency>
390         <dependency>
391             <groupId>org.json</groupId>
392             <artifactId>json</artifactId>
393             <version>20160810</version>
394         </dependency>
395         <dependency>
396             <groupId>javax.servlet</groupId>
397             <artifactId>javax.servlet-api</artifactId>
398             <version>3.1.0</version>
399         </dependency>
400         <dependency>
401             <groupId>com.bazaarvoice.jolt</groupId>
402             <artifactId>jolt-complete</artifactId>
403             <version>0.0.24</version>
404         </dependency>
405         <dependency>
406             <groupId>ch.qos.logback</groupId>
407             <artifactId>logback-core</artifactId>
408             <version>${logback.version}</version>
409         </dependency>
410         <dependency>
411             <groupId>ch.qos.logback</groupId>
412             <artifactId>logback-classic</artifactId>
413             <version>${logback.version}</version>
414         </dependency>
415         <dependency>
416             <groupId>ch.qos.logback</groupId>
417             <artifactId>logback-access</artifactId>
418             <version>${logback.version}</version>
419         </dependency>
420         <dependency>
421             <groupId>org.apache.activemq</groupId>
422             <artifactId>activemq-broker</artifactId>
423             <version>${activemq.version}</version>
424         </dependency>
425         <dependency>
426             <groupId>com.opencsv</groupId>
427             <artifactId>opencsv</artifactId>
428             <version>3.1</version>
429         </dependency>
430         <dependency>
431             <groupId>org.freemarker</groupId>
432             <artifactId>freemarker</artifactId>
433             <version>${freemarker.version}</version>
434         </dependency>
435         <dependency>
436             <groupId>com.github.fge</groupId>
437             <artifactId>json-patch</artifactId>
438             <version>1.9</version>
439         </dependency>
440         <dependency>
441           <groupId>org.codehaus.groovy</groupId>
442           <artifactId>groovy</artifactId>
443           <version>${groovy.version}</version>
444           <classifier>indy</classifier>
445         </dependency>
446          <dependency>
447             <groupId>org.springframework</groupId>
448             <artifactId>spring-test</artifactId>
449             <version>4.3.21.RELEASE</version>
450             <scope>test</scope>
451         </dependency>
452         <dependency>
453             <groupId>org.springframework.boot</groupId>
454             <artifactId>spring-boot-test</artifactId>
455             <version>1.5.18.RELEASE</version>
456             <scope>test</scope>
457         </dependency>
458         <dependency>
459             <groupId>org.powermock</groupId>
460             <artifactId>powermock-module-javaagent</artifactId>
461             <version>1.6.2</version>
462             <scope>test</scope>
463         </dependency>
464         <dependency>
465             <groupId>org.skyscreamer</groupId>
466             <artifactId>jsonassert</artifactId>
467             <version>1.4.0</version>
468             <scope>test</scope>
469         </dependency>
470         <dependency>
471             <groupId>org.apache.httpcomponents</groupId>
472             <artifactId>httpclient</artifactId>
473             <version>${httpclient.version}</version>
474         </dependency>
475         <dependency>
476             <groupId>org.apache.tinkerpop</groupId>
477             <artifactId>gremlin-groovy</artifactId>
478             <version>${gremlin.version}</version>
479             <exclusions>
480                 <exclusion>
481                     <groupId>org.codehaus.groovy</groupId>
482                     <artifactId>groovy</artifactId>
483                 </exclusion>
484             </exclusions>
485         </dependency>
486         <dependency>
487             <groupId>org.springframework</groupId>
488             <artifactId>spring-jms</artifactId>
489             <version>4.3.21.RELEASE</version>
490         </dependency>
491         <dependency>
492             <groupId>com.fasterxml.jackson.core</groupId>
493             <artifactId>jackson-core</artifactId>
494             <version>2.8.11</version>
495         </dependency>
496         <dependency>
497             <groupId>com.fasterxml.jackson.core</groupId>
498             <artifactId>jackson-databind</artifactId>
499             <version>2.8.11</version>
500         </dependency>
501         <dependency>
502             <groupId>com.fasterxml.jackson.core</groupId>
503             <artifactId>jackson-annotations</artifactId>
504             <version>2.8.11</version>
505         </dependency>
506         <dependency>
507             <groupId>log4j</groupId>
508             <artifactId>log4j</artifactId>
509             <version>1.2.17</version>
510         </dependency>
511     </dependencies>
512
513     <!-- Plugins and repositories -->
514     <pluginRepositories>
515         <pluginRepository>
516             <id>central</id>
517             <url>http://repo1.maven.org/maven2</url>
518         </pluginRepository>
519         <pluginRepository>
520             <id>EvoSuite</id>
521             <name>EvoSuite Repository</name>
522             <url>http://www.evosuite.org/m2</url>
523         </pluginRepository>
524     </pluginRepositories>
525
526     <reporting>
527         <plugins>
528             <plugin>
529                 <groupId>org.apache.maven.plugins</groupId>
530                 <artifactId>maven-javadoc-plugin</artifactId>
531                 <version>2.10.4</version>
532                 <configuration>
533                     <failOnError>false</failOnError>
534                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
535                     <docletArtifact>
536                         <groupId>org.umlgraph</groupId>
537                         <artifactId>umlgraph</artifactId>
538                         <version>5.6</version>
539                     </docletArtifact>
540                     <additionalparam>-views</additionalparam>
541                     <useStandardDocletOptions>true</useStandardDocletOptions>
542                 </configuration>
543             </plugin>
544         </plugins>
545     </reporting>
546 </project>