6ecc0fb9d2c88641bc86bf9911c36131976eb8af
[aai/aai-common.git] / aai-core / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 ============LICENSE_START======================================================
5 org.onap.aai
6 ===============================================================================
7 Copyright © 2019 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"
26         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27         <modelVersion>4.0.0</modelVersion>
28         <parent>
29                 <groupId>org.onap.aai.aai-common</groupId>
30                 <artifactId>aai-parent</artifactId>
31                 <version>1.6.11-SNAPSHOT</version>
32                 <relativePath>../aai-parent/pom.xml</relativePath>
33         </parent>
34         <artifactId>aai-core</artifactId>
35         <name>aai-core</name>
36         <packaging>jar</packaging>
37         <properties>
38                 <springframework.version>4.3.24.RELEASE</springframework.version>
39
40                 <jacoco.line.coverage.limit>0.50</jacoco.line.coverage.limit>
41                 <gremlin.version>3.2.2</gremlin.version>
42                 <groovy.version>2.4.15</groovy.version>
43                 <!-- Start of Default ONAP Schema Properties -->
44                 <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
45                 <gendoc.version>v15</gendoc.version>
46                 <aai.release>onap</aai.release>
47                 <schema.uri.base.path>/aai</schema.uri.base.path>
48                 <schema.configuration.location>N/A</schema.configuration.location>
49                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
50                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
51                 <schema.version.depth.start>v10</schema.version.depth.start>
52                 <schema.version.related.link.start>v10</schema.version.related.link.start>
53                 <schema.version.app.root.start>v11</schema.version.app.root.start>
54                 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
55                 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
56                 <schema.version.api.default>v19</schema.version.api.default>
57                 <schema.version.list>v10,v11,v12,v13,v14,v15,v16,v17,v18,v19</schema.version.list>
58                 <schema.translator.list>config</schema.translator.list>
59                 <!-- End of Default ONAP Schema Properties -->
60         </properties>
61         <profiles>
62                 <!-- Start of ONAP profile -->
63                 <profile>
64                         <id>onap</id>
65                         <properties>
66                                 <springframework.version>4.3.24.RELEASE</springframework.version>
67                                 <aai.release>onap</aai.release>
68                                 <schema.configuration.location>N/A</schema.configuration.location>
69                                 <schema.nodes.location>aai-schema/src/main/resources/${aai.release}/oxm</schema.nodes.location>
70                                 <schema.edges.location>aai-schema/src/main/resources/${aai.release}/dbedgerules</schema.edges.location>
71                                 <schema.version.depth.start>v10</schema.version.depth.start>
72                                 <schema.version.related.link.start>v10</schema.version.related.link.start>
73                                 <schema.version.app.root.start>v11</schema.version.app.root.start>
74                                 <schema.version.edge.label.start>v12</schema.version.edge.label.start>
75                                 <schema.version.namespace.change.start>v12</schema.version.namespace.change.start>
76                                 <schema.version.api.default>v19</schema.version.api.default>
77                                 <schema.version.list>v10,v11,v12,v13,v14,v15,v16,v17,v18,v19</schema.version.list>
78                                 <gendoc.version>v15</gendoc.version>
79                         </properties>
80                 </profile>
81                 <!-- End of ONAP profile -->
82         </profiles>
83         <build>
84                 <plugins>
85                         <plugin>
86                                 <groupId>org.apache.maven.plugins</groupId>
87                                 <artifactId>maven-surefire-plugin</artifactId>
88                                 <configuration>
89                                         <systemPropertyVariables>
90                                                 <AJSC_HOME>.</AJSC_HOME>
91                                                 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
92                                         </systemPropertyVariables>
93                                 </configuration>
94                         </plugin>
95                         <plugin>
96                                 <groupId>org.apache.maven.plugins</groupId>
97                                 <artifactId>maven-dependency-plugin</artifactId>
98                                 <version>2.8</version>
99                         </plugin>
100                         <plugin>
101                                 <!-- explicitly define maven-deploy-plugin after other to force exec
102                                         order -->
103                                 <groupId>org.apache.maven.plugins</groupId>
104                                 <artifactId>maven-deploy-plugin</artifactId>
105                         </plugin>
106                         <plugin>
107                                 <groupId>org.apache.maven.plugins</groupId>
108                                 <artifactId>maven-site-plugin</artifactId>
109                         </plugin>
110                 </plugins>
111         </build>
112
113         <dependencies>
114                 <dependency>
115                         <groupId>org.onap.aai.aai-common</groupId>
116                         <artifactId>aai-schema-ingest</artifactId>
117                 </dependency>
118                 <dependency>
119                         <groupId>org.onap.aai.aai-common</groupId>
120                         <artifactId>aai-aaf-auth</artifactId>
121                 </dependency>
122                 <dependency>
123                         <groupId>org.onap.aai.aai-common</groupId>
124                         <artifactId>aai-annotations</artifactId>
125                 </dependency>
126                 <dependency>
127                         <groupId>commons-lang</groupId>
128                         <artifactId>commons-lang</artifactId>
129                 </dependency>
130                 <dependency>
131                         <groupId>org.apache.commons</groupId>
132                         <artifactId>commons-text</artifactId>
133                         <scope>compile</scope>
134                 </dependency>
135                 <dependency>
136                         <groupId>com.att.eelf</groupId>
137                         <artifactId>eelf-core</artifactId>
138                         <exclusions><!-- excluding transitive dependency coming from this artifact, as we would need powermock-api-mockito2-->
139                                                 <exclusion>
140                                                                 <groupId>org.powermock</groupId>
141                                                                 <artifactId>powermock-api-mockito</artifactId>
142                                                 </exclusion>
143                         </exclusions>
144                 </dependency>
145                 <dependency>
146                         <groupId>org.codehaus.jackson</groupId>
147                         <artifactId>jackson-core-asl</artifactId>
148                 </dependency>
149                 <dependency>
150                         <groupId>org.codehaus.jackson</groupId>
151                         <artifactId>jackson-mapper-asl</artifactId>
152                 </dependency>
153                 <dependency>
154                         <groupId>junit</groupId>
155                         <artifactId>junit</artifactId>
156                         <scope>test</scope>
157                 </dependency>
158                 <dependency>
159                         <groupId>org.hamcrest</groupId>
160                         <artifactId>hamcrest-junit</artifactId>
161                         <scope>test</scope>
162                 </dependency>
163                 <dependency>
164                         <groupId>org.hamcrest</groupId>
165                         <artifactId>hamcrest-core</artifactId>
166                         <scope>test</scope>
167                 </dependency>
168                 <dependency>
169                         <groupId>org.mockito</groupId>
170                         <artifactId>mockito-all</artifactId>
171                         <scope>test</scope>
172                 </dependency>
173                 <dependency>
174                         <groupId>org.mockito</groupId>
175                         <artifactId>mockito-core</artifactId>
176                         <scope>test</scope>
177                 </dependency>
178                 <dependency>
179                         <groupId>com.google.guava</groupId>
180                         <artifactId>guava</artifactId>
181                 </dependency>
182                 <dependency>
183                         <groupId>org.janusgraph</groupId>
184                         <artifactId>janusgraph-core</artifactId>
185                         <exclusions>
186                                 <exclusion>
187                                         <groupId>org.slf4j</groupId>
188                                         <artifactId>slf4j-log4j12</artifactId>
189                                 </exclusion>
190                                 <exclusion>
191                                         <groupId>dom4j</groupId>
192                                         <artifactId>dom4j</artifactId>
193                                 </exclusion>
194                         </exclusions>
195                 </dependency>
196                 <dependency>
197                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
198                         <artifactId>jackson-jaxrs-json-provider</artifactId>
199                 </dependency>
200                 <dependency>
201                         <groupId>com.googlecode.json-simple</groupId>
202                         <artifactId>json-simple</artifactId>
203                 </dependency>
204                 <dependency>
205                         <groupId>javax.xml.bind</groupId>
206                         <artifactId>jaxb-api</artifactId>
207                 </dependency>
208                 <dependency>
209                         <groupId>org.eclipse.persistence</groupId>
210                         <artifactId>eclipselink</artifactId>
211                 </dependency>
212                 <dependency>
213                         <groupId>com.google.code.gson</groupId>
214                         <artifactId>gson</artifactId>
215                 </dependency>
216                 <dependency>
217                         <groupId>com.jayway.jsonpath</groupId>
218                         <artifactId>json-path</artifactId>
219                 </dependency>
220                 <dependency>
221                         <groupId>com.jayway.jsonpath</groupId>
222                         <artifactId>json-path-assert</artifactId>
223                         <scope>test</scope>
224                 </dependency>
225                 <dependency>
226                         <groupId>org.eclipse.jetty</groupId>
227                         <artifactId>jetty-util</artifactId>
228                 </dependency>
229                 <dependency>
230                         <groupId>com.fasterxml.jackson.module</groupId>
231                         <artifactId>jackson-module-jaxb-annotations</artifactId>
232                 </dependency>
233                 <dependency>
234                         <groupId>com.sun.jersey</groupId>
235                         <artifactId>jersey-core</artifactId>
236                 </dependency>
237                 <dependency>
238                         <groupId>com.sun.jersey</groupId>
239                         <artifactId>jersey-client</artifactId>
240                 </dependency>
241                 <dependency>
242                         <groupId>com.sun.jersey</groupId>
243                         <artifactId>jersey-json</artifactId>
244                 </dependency>
245                 <dependency>
246                         <groupId>org.apache.tinkerpop</groupId>
247                         <artifactId>gremlin-core</artifactId>
248                 </dependency>
249                 <dependency>
250                         <groupId>org.apache.tinkerpop</groupId>
251                         <artifactId>tinkergraph-gremlin</artifactId>
252                 </dependency>
253                 <dependency>
254                         <groupId>org.slf4j</groupId>
255                         <artifactId>slf4j-api</artifactId>
256                 </dependency>
257                 <dependency>
258                         <groupId>com.fasterxml.jackson.core</groupId>
259                         <artifactId>jackson-annotations</artifactId>
260
261                 </dependency>
262                 <dependency>
263                         <groupId>com.fasterxml.jackson.dataformat</groupId>
264                         <artifactId>jackson-dataformat-yaml</artifactId>
265                 </dependency>
266                 <dependency>
267                         <groupId>xml-apis</groupId>
268                         <artifactId>xml-apis</artifactId>
269                 </dependency>
270                 <dependency>
271                         <groupId>commons-cli</groupId>
272                         <artifactId>commons-cli</artifactId>
273                 </dependency>
274                 <dependency>
275                         <groupId>com.beust</groupId>
276                         <artifactId>jcommander</artifactId>
277                 </dependency>
278                 <dependency>
279                         <groupId>org.json</groupId>
280                         <artifactId>json</artifactId>
281
282                 </dependency>
283                 <dependency>
284                         <groupId>com.bazaarvoice.jolt</groupId>
285                         <artifactId>jolt-complete</artifactId>
286                 </dependency>
287                 <dependency>
288                         <groupId>ch.qos.logback</groupId>
289                         <artifactId>logback-core</artifactId>
290                 </dependency>
291                 <dependency>
292                         <groupId>ch.qos.logback</groupId>
293                         <artifactId>logback-classic</artifactId>
294                 </dependency>
295                 <dependency>
296                         <groupId>ch.qos.logback</groupId>
297                         <artifactId>logback-access</artifactId>
298                 </dependency>
299                 <dependency>
300                         <groupId>org.apache.activemq</groupId>
301                         <artifactId>activemq-broker</artifactId>
302                 </dependency>
303                 <dependency>
304                         <groupId>org.apache.activemq</groupId>
305                         <artifactId>activemq-openwire-legacy</artifactId>
306                 </dependency>
307                 <dependency>
308                         <groupId>com.opencsv</groupId>
309                         <artifactId>opencsv</artifactId>
310                 </dependency>
311                 <dependency>
312                         <groupId>org.freemarker</groupId>
313                         <artifactId>freemarker</artifactId>
314                 </dependency>
315                 <dependency>
316                         <groupId>com.github.fge</groupId>
317                         <artifactId>json-patch</artifactId>
318                 </dependency>
319                 <dependency>
320                         <groupId>org.codehaus.groovy</groupId>
321                         <artifactId>groovy</artifactId>
322                         <classifier>indy</classifier>
323                 </dependency>
324                 <dependency>
325                         <groupId>org.springframework</groupId>
326                         <artifactId>spring-context</artifactId>
327                 </dependency>
328                 <dependency>
329                         <groupId>org.springframework</groupId>
330                         <artifactId>spring-web</artifactId>
331                 </dependency>
332                 <dependency>
333                         <groupId>org.springframework</groupId>
334                         <artifactId>spring-core</artifactId>
335                 </dependency>
336                 <dependency>
337                         <groupId>org.springframework</groupId>
338                         <artifactId>spring-expression</artifactId>
339                 </dependency>
340                 <dependency>
341                         <groupId>org.springframework</groupId>
342                         <artifactId>spring-webmvc</artifactId>
343                 </dependency>
344                 <dependency>
345                         <groupId>org.springframework</groupId>
346                         <artifactId>spring-test</artifactId>
347                         <scope>test</scope>
348                 </dependency>
349                 <dependency>
350                         <groupId>org.springframework.boot</groupId>
351                         <artifactId>spring-boot-test</artifactId>
352                         <scope>test</scope>
353                 </dependency>
354                 <dependency>
355                         <groupId>org.powermock</groupId>
356                         <artifactId>powermock-module-javaagent</artifactId>
357                         <scope>test</scope>
358                 </dependency>
359                 <dependency>
360                         <groupId>org.skyscreamer</groupId>
361                         <artifactId>jsonassert</artifactId>
362                         <scope>test</scope>
363                 </dependency>
364                 <dependency>
365                         <groupId>org.apache.httpcomponents</groupId>
366                         <artifactId>httpclient</artifactId>
367                 </dependency>
368                 <dependency>
369                         <groupId>org.apache.tinkerpop</groupId>
370                         <artifactId>gremlin-groovy</artifactId>
371                         <exclusions>
372                                 <exclusion>
373                                         <groupId>org.codehaus.groovy</groupId>
374                                         <artifactId>groovy</artifactId>
375                                 </exclusion>
376                         </exclusions>
377                 </dependency>
378                 <dependency>
379                         <groupId>org.springframework</groupId>
380                         <artifactId>spring-jms</artifactId>
381                 </dependency>
382                 <dependency>
383                         <groupId>com.fasterxml.jackson.core</groupId>
384                         <artifactId>jackson-core</artifactId>
385                 </dependency>
386                 <dependency>
387                         <groupId>com.fasterxml.jackson.core</groupId>
388                         <artifactId>jackson-databind</artifactId>
389                 </dependency>
390                 <dependency>
391                         <groupId>com.fasterxml.jackson.core</groupId>
392                         <artifactId>jackson-annotations</artifactId>
393                 </dependency>
394                 <dependency>
395                         <groupId>log4j</groupId>
396                         <artifactId>log4j</artifactId>
397                 </dependency>
398         </dependencies>
399
400         <!-- Plugins and repositories -->
401         <pluginRepositories>
402                 <pluginRepository>
403                         <id>central</id>
404                         <url>http://repo1.maven.org/maven2</url>
405                 </pluginRepository>
406                 <pluginRepository>
407                         <id>EvoSuite</id>
408                         <name>EvoSuite Repository</name>
409                         <url>http://www.evosuite.org/m2</url>
410                 </pluginRepository>
411         </pluginRepositories>
412
413         <reporting>
414                 <plugins>
415                         <plugin>
416                                 <groupId>org.apache.maven.plugins</groupId>
417                                 <artifactId>maven-javadoc-plugin</artifactId>
418                                 <version>2.10.4</version>
419                                 <configuration>
420                                         <failOnError>false</failOnError>
421                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
422                                         <docletArtifact>
423                                                 <groupId>org.umlgraph</groupId>
424                                                 <artifactId>umlgraph</artifactId>
425                                                 <version>5.6</version>
426                                         </docletArtifact>
427                                         <additionalparam>-views</additionalparam>
428                                         <useStandardDocletOptions>true</useStandardDocletOptions>
429                                 </configuration>
430                         </plugin>
431                 </plugins>
432         </reporting>
433 </project>