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