Move to 1.5.1 due to previous partial release
[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.5.1-SNAPSHOT</version>
31     </parent>
32     <artifactId>aai-core</artifactId>
33     <name>aai-core</name>
34     <version>1.5.1-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.sonatype.plugins</groupId>
180                 <artifactId>nexus-staging-maven-plugin</artifactId>
181             </plugin>
182             <plugin>
183                 <groupId>org.apache.maven.plugins</groupId>
184                 <artifactId>maven-site-plugin</artifactId>
185             </plugin>
186         </plugins>
187     </build>
188
189     <dependencies>
190         <dependency>
191             <groupId>org.onap.aai.aai-common</groupId>
192             <artifactId>aai-schema-ingest</artifactId>
193             <version>${project.version}</version>
194         </dependency>
195         <dependency>
196             <groupId>org.onap.aai.aai-common</groupId>
197             <artifactId>aai-annotations</artifactId>
198             <version>${project.version}</version>
199         </dependency>
200         <dependency>
201             <groupId>commons-lang</groupId>
202             <artifactId>commons-lang</artifactId>
203             <version>2.6</version>
204         </dependency>
205         <dependency>
206             <groupId>org.apache.commons</groupId>
207             <artifactId>commons-text</artifactId>
208             <version>1.1</version>
209             <scope>compile</scope>
210         </dependency>
211         <dependency>
212             <groupId>com.att.eelf</groupId>
213             <artifactId>eelf-core</artifactId>
214             <version>${eelf.core.version}</version>
215         </dependency>
216         <dependency>
217             <groupId>org.codehaus.jackson</groupId>
218             <artifactId>jackson-core-asl</artifactId>
219             <version>1.9.13</version>
220         </dependency>
221         <dependency>
222             <groupId>org.codehaus.jackson</groupId>
223             <artifactId>jackson-mapper-asl</artifactId>
224             <version>1.9.13</version>
225         </dependency>
226         <dependency>
227             <groupId>junit</groupId>
228             <artifactId>junit</artifactId>
229             <version>4.12</version>
230             <scope>test</scope>
231         </dependency>
232         <dependency>
233             <groupId>org.hamcrest</groupId>
234             <artifactId>hamcrest-junit</artifactId>
235             <version>2.0.0.0</version>
236             <scope>test</scope>
237         </dependency>
238         <dependency>
239             <groupId>org.hamcrest</groupId>
240             <artifactId>hamcrest-core</artifactId>
241             <version>1.3</version>
242             <scope>test</scope>
243         </dependency>
244         <dependency>
245             <groupId>org.mockito</groupId>
246             <artifactId>mockito-all</artifactId>
247             <version>1.10.19</version>
248             <scope>test</scope>
249         </dependency>
250         <dependency>
251             <groupId>org.powermock</groupId>
252             <artifactId>powermock-module-junit4</artifactId>
253             <version>1.6.2</version>
254             <scope>test</scope>
255         </dependency>
256         <dependency>
257             <groupId>org.powermock</groupId>
258             <artifactId>powermock-api-mockito</artifactId>
259             <version>1.6.2</version>
260             <scope>test</scope>
261         </dependency>
262         <dependency>
263             <groupId>com.google.guava</groupId>
264             <artifactId>guava</artifactId>
265             <version>19.0</version>
266         </dependency>
267         <dependency>
268             <groupId>org.janusgraph</groupId>
269             <artifactId>janusgraph-core</artifactId>
270             <version>0.2.0</version>
271             <exclusions>
272                 <exclusion>
273                     <groupId>org.slf4j</groupId>
274                     <artifactId>slf4j-log4j12</artifactId>
275                 </exclusion>
276                 <exclusion>
277                     <groupId>dom4j</groupId>
278                     <artifactId>dom4j</artifactId>
279                 </exclusion>
280             </exclusions>
281         </dependency>
282         <dependency>
283             <groupId>com.fasterxml.jackson.jaxrs</groupId>
284             <artifactId>jackson-jaxrs-json-provider</artifactId>
285             <version>${jackson.version}</version>
286         </dependency>
287         <dependency>
288             <groupId>com.googlecode.json-simple</groupId>
289             <artifactId>json-simple</artifactId>
290             <version>1.1.1</version>
291         </dependency>
292         <dependency>
293             <groupId>javax.xml.bind</groupId>
294             <artifactId>jaxb-api</artifactId>
295             <version>2.2.11</version>
296         </dependency>
297         <dependency>
298             <groupId>org.eclipse.persistence</groupId>
299             <artifactId>eclipselink</artifactId>
300             <version>2.6.2</version>
301         </dependency>
302         <dependency>
303             <groupId>com.google.code.gson</groupId>
304             <artifactId>gson</artifactId>
305             <version>2.7</version>
306         </dependency>
307         <dependency>
308             <groupId>com.jayway.jsonpath</groupId>
309             <artifactId>json-path</artifactId>
310             <version>2.2.0</version>
311         </dependency>
312         <dependency>
313             <groupId>org.eclipse.jetty</groupId>
314             <artifactId>jetty-util</artifactId>
315             <version>${jetty.version}</version>
316         </dependency>
317         <dependency>
318             <groupId>com.fasterxml.jackson.module</groupId>
319             <artifactId>jackson-module-jaxb-annotations</artifactId>
320             <version>${jackson.version}</version>
321         </dependency>
322         <dependency>
323             <groupId>com.sun.jersey</groupId>
324             <artifactId>jersey-core</artifactId>
325             <version>1.18</version>
326         </dependency>
327         <dependency>
328             <groupId>com.sun.jersey</groupId>
329             <artifactId>jersey-client</artifactId>
330             <version>1.18</version>
331         </dependency>
332         <dependency>
333             <groupId>com.sun.jersey</groupId>
334             <artifactId>jersey-json</artifactId>
335             <version>1.18</version>
336         </dependency>
337         <dependency>
338             <groupId>javax.ws.rs</groupId>
339             <artifactId>javax.ws.rs-api</artifactId>
340             <version>2.0.1</version>
341         </dependency>
342         <dependency>
343             <groupId>org.apache.tinkerpop</groupId>
344             <artifactId>gremlin-core</artifactId>
345             <version>${gremlin.version}</version>
346         </dependency>
347         <dependency>
348             <groupId>org.apache.tinkerpop</groupId>
349             <artifactId>tinkergraph-gremlin</artifactId>
350             <version>${gremlin.version}</version>
351         </dependency>
352         <dependency>
353             <groupId>org.slf4j</groupId>
354             <artifactId>slf4j-api</artifactId>
355             <version>1.7.5</version>
356         </dependency>
357         <dependency>
358             <groupId>com.fasterxml.jackson.core</groupId>
359             <artifactId>jackson-annotations</artifactId>
360             <version>${jackson.version}</version>
361         </dependency>
362         <dependency>
363             <groupId>com.fasterxml.jackson.dataformat</groupId>
364             <artifactId>jackson-dataformat-yaml</artifactId>
365             <version>${jackson.version}</version>
366         </dependency>
367         <dependency>
368             <groupId>xml-apis</groupId>
369             <artifactId>xml-apis</artifactId>
370             <version>1.0.b2</version>
371         </dependency>
372         <dependency>
373             <groupId>commons-cli</groupId>
374             <artifactId>commons-cli</artifactId>
375             <version>1.3</version>
376         </dependency>
377         <dependency>
378             <groupId>com.beust</groupId>
379             <artifactId>jcommander</artifactId>
380             <version>1.48</version>
381         </dependency>
382         <dependency>
383             <groupId>org.json</groupId>
384             <artifactId>json</artifactId>
385             <version>20160810</version>
386         </dependency>
387         <dependency>
388             <groupId>javax.servlet</groupId>
389             <artifactId>javax.servlet-api</artifactId>
390             <version>3.1.0</version>
391         </dependency>
392         <dependency>
393             <groupId>com.bazaarvoice.jolt</groupId>
394             <artifactId>jolt-complete</artifactId>
395             <version>0.0.24</version>
396         </dependency>
397         <dependency>
398             <groupId>ch.qos.logback</groupId>
399             <artifactId>logback-core</artifactId>
400             <version>${logback.version}</version>
401         </dependency>
402         <dependency>
403             <groupId>ch.qos.logback</groupId>
404             <artifactId>logback-classic</artifactId>
405             <version>${logback.version}</version>
406         </dependency>
407         <dependency>
408             <groupId>ch.qos.logback</groupId>
409             <artifactId>logback-access</artifactId>
410             <version>${logback.version}</version>
411         </dependency>
412         <dependency>
413             <groupId>org.apache.activemq</groupId>
414             <artifactId>activemq-broker</artifactId>
415             <version>${activemq.version}</version>
416         </dependency>
417         <dependency>
418             <groupId>com.opencsv</groupId>
419             <artifactId>opencsv</artifactId>
420             <version>3.1</version>
421         </dependency>
422         <dependency>
423             <groupId>org.freemarker</groupId>
424             <artifactId>freemarker</artifactId>
425             <version>${freemarker.version}</version>
426         </dependency>
427         <dependency>
428             <groupId>com.github.fge</groupId>
429             <artifactId>json-patch</artifactId>
430             <version>1.9</version>
431         </dependency>
432         <dependency>
433           <groupId>org.codehaus.groovy</groupId>
434           <artifactId>groovy</artifactId>
435           <version>${groovy.version}</version>
436           <classifier>indy</classifier>
437         </dependency>
438         <dependency>
439             <groupId>org.springframework</groupId>
440             <artifactId>spring-context</artifactId>
441             <version>${springframework.version}</version>
442         </dependency>
443         <dependency>
444             <groupId>org.springframework</groupId>
445             <artifactId>spring-web</artifactId>
446             <version>${springframework.version}</version>
447         </dependency>
448         <dependency>
449             <groupId>org.springframework</groupId>
450             <artifactId>spring-core</artifactId>
451             <version>${springframework.version}</version>
452         </dependency>
453         <dependency>
454             <groupId>org.springframework</groupId>
455             <artifactId>spring-expression</artifactId>
456             <version>${springframework.version}</version>
457         </dependency>
458         <dependency>
459             <groupId>org.springframework</groupId>
460             <artifactId>spring-webmvc</artifactId>
461             <version>${springframework.version}</version>
462         </dependency>
463          <dependency>
464             <groupId>org.springframework</groupId>
465             <artifactId>spring-test</artifactId>
466             <version>${springframework.version}</version>
467             <scope>test</scope>
468         </dependency>
469         <dependency>
470             <groupId>org.springframework.boot</groupId>
471             <artifactId>spring-boot-test</artifactId>
472             <version>1.5.20.RELEASE</version>
473             <scope>test</scope>
474         </dependency>
475         <dependency>
476             <groupId>org.powermock</groupId>
477             <artifactId>powermock-module-javaagent</artifactId>
478             <version>1.6.2</version>
479             <scope>test</scope>
480         </dependency>
481         <dependency>
482             <groupId>org.skyscreamer</groupId>
483             <artifactId>jsonassert</artifactId>
484             <version>1.4.0</version>
485             <scope>test</scope>
486         </dependency>
487         <dependency>
488             <groupId>org.apache.httpcomponents</groupId>
489             <artifactId>httpclient</artifactId>
490             <version>${httpclient.version}</version>
491         </dependency>
492         <dependency>
493             <groupId>org.apache.tinkerpop</groupId>
494             <artifactId>gremlin-groovy</artifactId>
495             <version>${gremlin.version}</version>
496             <exclusions>
497                 <exclusion>
498                     <groupId>org.codehaus.groovy</groupId>
499                     <artifactId>groovy</artifactId>
500                 </exclusion>
501             </exclusions>
502         </dependency>
503         <dependency>
504             <groupId>org.springframework</groupId>
505             <artifactId>spring-jms</artifactId>
506             <version>${springframework.version}</version>
507         </dependency>
508         <dependency>
509             <groupId>com.fasterxml.jackson.core</groupId>
510             <artifactId>jackson-core</artifactId>
511             <version>2.8.11</version>
512         </dependency>
513         <dependency>
514             <groupId>com.fasterxml.jackson.core</groupId>
515             <artifactId>jackson-databind</artifactId>
516             <version>2.8.11</version>
517         </dependency>
518         <dependency>
519             <groupId>com.fasterxml.jackson.core</groupId>
520             <artifactId>jackson-annotations</artifactId>
521             <version>2.8.11</version>
522         </dependency>
523         <dependency>
524             <groupId>log4j</groupId>
525             <artifactId>log4j</artifactId>
526             <version>1.2.17</version>
527         </dependency>
528     </dependencies>
529
530     <!-- Plugins and repositories -->
531     <pluginRepositories>
532         <pluginRepository>
533             <id>central</id>
534             <url>http://repo1.maven.org/maven2</url>
535         </pluginRepository>
536         <pluginRepository>
537             <id>EvoSuite</id>
538             <name>EvoSuite Repository</name>
539             <url>http://www.evosuite.org/m2</url>
540         </pluginRepository>
541     </pluginRepositories>
542
543     <reporting>
544         <plugins>
545             <plugin>
546                 <groupId>org.apache.maven.plugins</groupId>
547                 <artifactId>maven-javadoc-plugin</artifactId>
548                 <version>2.10.4</version>
549                 <configuration>
550                     <failOnError>false</failOnError>
551                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
552                     <docletArtifact>
553                         <groupId>org.umlgraph</groupId>
554                         <artifactId>umlgraph</artifactId>
555                         <version>5.6</version>
556                     </docletArtifact>
557                     <additionalparam>-views</additionalparam>
558                     <useStandardDocletOptions>true</useStandardDocletOptions>
559                 </configuration>
560             </plugin>
561         </plugins>
562     </reporting>
563 </project>