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