3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 Copyright © 2017-2018 Amdocs
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
13 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
28 <artifactId>spring-boot-starter-parent</artifactId>
29 <groupId>org.springframework.boot</groupId>
30 <version>1.5.18.RELEASE</version>
33 <groupId>org.onap.aai.search-data-service</groupId>
34 <artifactId>search-data-service-app</artifactId>
35 <version>1.4.0-SNAPSHOT</version>
36 <name>AAI Search Data Service Application</name>
39 <docker.location>${basedir}/target</docker.location>
40 <nexusproxy>https://nexus.onap.org</nexusproxy>
41 <java.version>1.8</java.version>
42 <generatedSourceDir>${basedir}/src/main/java-gen</generatedSourceDir>
43 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
45 <sonar.language>java</sonar.language>
46 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
47 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
48 </sonar.surefire.reportsPath>
49 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec
50 </sonar.jacoco.reportPath>
51 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
52 <sonar.projectVersion>${project.version}</sonar.projectVersion>
58 <groupId>com.google.code.gson</groupId>
59 <artifactId>gson</artifactId>
63 <groupId>org.hamcrest</groupId>
64 <artifactId>hamcrest-library</artifactId>
69 <groupId>com.jayway.jsonpath</groupId>
70 <artifactId>json-path</artifactId>
74 <groupId>com.googlecode.json-simple</groupId>
75 <artifactId>json-simple</artifactId>
79 <groupId>org.dom4j</groupId>
80 <artifactId>dom4j</artifactId>
81 <version>2.1.1</version>
82 <scope>provided</scope>
86 <groupId>commons-io</groupId>
87 <artifactId>commons-io</artifactId>
88 <version>2.4</version>
92 <groupId>org.mockito</groupId>
93 <artifactId>mockito-all</artifactId>
94 <version>1.10.19</version>
98 <!-- Common logging framework -->
100 <groupId>org.onap.aai.logging-service</groupId>
101 <artifactId>common-logging</artifactId>
102 <version>1.2.2</version>
106 <groupId>org.onap.aai.logging-service</groupId>
107 <artifactId>logging-api</artifactId>
108 <version>1.2.2</version>
112 <groupId>org.onap.aai.logging-service</groupId>
113 <artifactId>eelf-logging</artifactId>
114 <version>1.2.2</version>
117 <!-- For JSON Mapping Support. -->
119 <groupId>com.fasterxml.jackson.core</groupId>
120 <artifactId>jackson-databind</artifactId>
124 <groupId>org.apache.directory.studio</groupId>
125 <artifactId>org.apache.commons.lang</artifactId>
126 <version>2.6</version>
130 <groupId>radeox</groupId>
131 <artifactId>radeox</artifactId>
132 <version>0.9</version>
136 <groupId>com.github.fge</groupId>
137 <artifactId>json-schema-validator</artifactId>
138 <version>2.0.0</version>
142 <groupId>org.json</groupId>
143 <artifactId>json</artifactId>
144 <version>20180130</version>
148 <groupId>org.springframework.boot</groupId>
149 <artifactId>spring-boot-starter-web</artifactId>
152 <groupId>org.springframework.boot</groupId>
153 <artifactId>spring-boot-starter-tomcat</artifactId>
159 <groupId>org.springframework.boot</groupId>
160 <artifactId>spring-boot-starter-jetty</artifactId>
164 <groupId>org.springframework.boot</groupId>
165 <artifactId>spring-boot-starter</artifactId>
168 <groupId>ch.qos.logback</groupId>
169 <artifactId>logback-classic</artifactId>
175 <groupId>org.springframework.boot</groupId>
176 <artifactId>spring-boot-starter-jersey</artifactId>
179 <groupId>org.springframework.boot</groupId>
180 <artifactId>spring-boot-starter-tomcat</artifactId>
186 <groupId>org.springframework.boot</groupId>
187 <artifactId>spring-boot-starter-actuator</artifactId>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-starter-test</artifactId>
197 <groupId>org.springframework.boot</groupId>
198 <artifactId>spring-boot-starter-security</artifactId>
201 <!--Logback classic-->
203 <groupId>ch.qos.logback</groupId>
204 <artifactId>logback-classic</artifactId>
208 <groupId>ch.qos.logback</groupId>
209 <artifactId>logback-core</artifactId>
217 <name>Maven 2 repository 2</name>
218 <url>http://repo2.maven.org/maven2/</url>
221 <id>ecomp-releases</id>
222 <name>ECOMP Release Repository</name>
223 <url>${nexusproxy}/content/repositories/releases/</url>
226 <id>ecomp-snapshots</id>
227 <name>ECOMP Snapshot Repository</name>
228 <url>${nexusproxy}/content/repositories/snapshots/</url>
231 <id>ecomp-staging</id>
232 <name>ECOMP Staging Repository</name>
233 <url>${nexusproxy}/content/repositories/staging/</url>
238 <finalName>search-data-service-package</finalName>
241 <groupId>org.springframework.boot</groupId>
242 <artifactId>spring-boot-maven-plugin</artifactId>
244 <!-- Checkstyle plugin - used to report on compliance with -->
245 <!-- the Google style guide. -->
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-site-plugin</artifactId>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-checkstyle-plugin</artifactId>
254 <version>2.17</version>
258 <report>checkstyle</report>
266 <!-- This plugin overrides the compiler settings to use java 1.8 -->
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-compiler-plugin</artifactId>
271 <compilerId>groovy-eclipse-compiler</compilerId>
272 <verbose>true</verbose>
278 <groupId>org.codehaus.groovy</groupId>
279 <artifactId>groovy-eclipse-compiler</artifactId>
280 <version>2.9.0-01</version>
283 <groupId>org.codehaus.groovy</groupId>
284 <artifactId>groovy-eclipse-batch</artifactId>
285 <version>2.3.4-01</version>
290 <groupId>com.spotify</groupId>
291 <artifactId>docker-maven-plugin</artifactId>
292 <version>0.4.11</version>
294 <verbose>true</verbose>
295 <serverId>docker-hub</serverId>
296 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
297 <dockerDirectory>${docker.location}</dockerDirectory>
299 <imageTag>latest</imageTag>
301 <forceTags>true</forceTags>
305 <groupId>org.sonatype.plugins</groupId>
306 <artifactId>nexus-staging-maven-plugin</artifactId>
307 <version>1.6.7</version>
308 <extensions>true</extensions>
310 <nexusUrl>${nexusproxy}</nexusUrl>
311 <stagingProfileId>176c31dfe190a</stagingProfileId>
312 <serverId>ecomp-staging</serverId>
316 <!-- This plugin is used to generate Java POJO's from json format schema
319 <groupId>org.jsonschema2pojo</groupId>
320 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
321 <version>0.4.26</version>
323 <addCompileSourceRoot>true</addCompileSourceRoot>
324 <sourceDirectory>${basedir}/src/main/resources/json/schema</sourceDirectory>
325 <outputDirectory>${generatedSourceDir}</outputDirectory>
326 <targetPackage>org.onap.aai.sa.rest</targetPackage>
331 <goal>generate</goal>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-resources-plugin</artifactId>
342 <id>copy-docker-file</id>
343 <phase>package</phase>
345 <goal>copy-resources</goal>
348 <outputDirectory>target</outputDirectory>
349 <overwrite>true</overwrite>
352 <directory>${basedir}/src/main/docker</directory>
353 <filtering>true</filtering>
355 <include>**/*</include>
359 <directory>${basedir}</directory>
360 <filtering>true</filtering>
362 <include>bundleconfig-local/**</include>
366 <directory>${basedir}/src/main/bin/</directory>
373 <!-- license plugin -->
375 <groupId>com.mycila</groupId>
376 <artifactId>license-maven-plugin</artifactId>
377 <version>3.0</version>
379 <header>License.txt</header>
381 <include>src/main/java/**</include>
382 <include>src/test/java/**</include>
383 <include>pom.xml</include>
385 <skipExistingHeaders>true</skipExistingHeaders>
392 <phase>validate</phase>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-deploy-plugin</artifactId>
405 <groupId>org.codehaus.mojo</groupId>
406 <artifactId>sonar-maven-plugin</artifactId>
407 <version>3.2</version>
410 <groupId>org.jacoco</groupId>
411 <artifactId>jacoco-maven-plugin</artifactId>
412 <version>0.7.7.201606060606</version>
414 <dumpOnExit>true</dumpOnExit>
418 <id>jacoco-initialize-unit-tests</id>
420 <goal>prepare-agent</goal>
423 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
425 <!-- <append>true</append> -->
431 <!-- This plugin adds the generated sources directory to the clean lifecycle
432 so that automatically generated code will get cleaned up properly. -->
434 <artifactId>maven-clean-plugin</artifactId>
438 <directory>${generatedSourceDir}</directory>
445 <distributionManagement>
447 <id>ecomp-releases</id>
448 <name>ECOMP Release Repository</name>
449 <url>${nexusproxy}/content/repositories/releases/</url>
452 <id>ecomp-snapshots</id>
453 <name>ECOMP Snapshot Repository</name>
454 <url>${nexusproxy}/content/repositories/snapshots/</url>
455 </snapshotRepository>
457 <id>ecomp-javadoc</id>
458 <url>dav:https://ecomp-nexus:8443/repository/aai/search-data-service-javadoc/${project.version}</url>
460 </distributionManagement>