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