2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.springframework.boot</groupId>
27 <artifactId>spring-boot-starter-parent</artifactId>
28 <version>1.5.12.RELEASE</version>
31 <groupId>org.onap.aai.data-router</groupId>
32 <artifactId>data-router</artifactId>
33 <version>1.3.0-SNAPSHOT</version>
34 <name>aai-data-router</name>
37 <java.version>1.8</java.version>
38 <camel-spring-boot.version>2.20.0</camel-spring-boot.version>
39 <docker.location>${basedir}/target</docker.location>
40 <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
41 <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
42 property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
43 version, THIS will be used as your directory structure. If you do NOT want
44 this, simply remove the "-SNAPSHOT" from your <version> declaration at the
46 <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
47 <!-- For SOA Cloud Installation -->
48 <installOwnerUser>aaiadmin</installOwnerUser>
49 <installOwnerGroup>aaiadmin</installOwnerGroup>
50 <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
52 <!-- Port Selection. A value of 0 will allow for dynamic port selection.
53 For local testing, you may choose to hardcode this value to something like
55 <serverPort>0</serverPort>
56 <sslport>9502</sslport>
58 <testRouteOffer>workstation</testRouteOffer>
59 <testEnv>DEV</testEnv>
60 <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
61 <nexusproxy>https://nexus.onap.org</nexusproxy>
62 <!-- Sonar Properties -->
63 <sonar.language>java</sonar.language>
64 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
65 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
66 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
67 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
68 <sonar.projectVersion>${project.version}</sonar.projectVersion>
69 <logback.version>1.2.3</logback.version>
70 <version.com.google.guava>16.0.1</version.com.google.guava>
75 <groupId>ch.qos.logback</groupId>
76 <artifactId>logback-core</artifactId>
77 <version>${logback.version}</version>
80 <groupId>ch.qos.logback</groupId>
81 <artifactId>logback-classic</artifactId>
82 <version>${logback.version}</version>
85 <groupId>ch.qos.logback</groupId>
86 <artifactId>logback-access</artifactId>
87 <version>${logback.version}</version>
90 <groupId>org.apache.camel</groupId>
91 <artifactId>camel-spring-boot-starter</artifactId>
94 <groupId>org.apache.camel</groupId>
95 <artifactId>camel-core</artifactId>
96 <version>2.20.1</version>
99 <groupId>org.apache.camel</groupId>
100 <artifactId>camel-servlet-starter</artifactId>
103 <groupId>org.apache.camel</groupId>
104 <artifactId>camel-cxf</artifactId>
105 <version>2.20.1</version>
107 <!-- Spring dependencies -->
109 <groupId>org.springframework.boot</groupId>
110 <artifactId>spring-boot-starter-web</artifactId>
114 <groupId>org.springframework.boot</groupId>
115 <artifactId>spring-boot-starter</artifactId>
118 <groupId>org.springframework.boot</groupId>
119 <artifactId>spring-boot-starter-actuator</artifactId>
122 <groupId>javax.ws.rs</groupId>
123 <artifactId>javax.ws.rs-api</artifactId>
124 <version>2.0.1</version>
127 <groupId>org.powermock</groupId>
128 <artifactId>powermock-module-junit4</artifactId>
129 <version>1.6.2</version>
134 <groupId>org.assertj</groupId>
135 <artifactId>assertj-core</artifactId>
136 <version>3.10.0</version>
140 <groupId>org.powermock</groupId>
141 <artifactId>powermock-api-mockito</artifactId>
142 <version>1.6.2</version>
147 <groupId>org.powermock</groupId>
148 <artifactId>powermock-module-javaagent</artifactId>
149 <version>1.6.2</version>
154 <groupId>org.powermock</groupId>
155 <artifactId>powermock-module-junit4-rule-agent</artifactId>
156 <version>1.6.2</version>
160 <groupId>dom4j</groupId>
161 <artifactId>dom4j</artifactId>
162 <version>1.6.1</version>
163 <scope>provided</scope>
167 <groupId>com.att.aft</groupId>
168 <artifactId>dme2</artifactId>
169 <version>3.1.200</version>
170 <scope>provided</scope>
173 <!--<groupId>org.onap.aai.aai-common</groupId>-->
174 <!--<artifactId>aai-schema</artifactId>-->
175 <!--<version>1.3.0-SNAPSHOT</version>-->
178 <!--<groupId>org.onap.aai.aai-common</groupId>-->
179 <!--<artifactId>aai-schema-ingest</artifactId>-->
180 <!--<version>1.2.2</version>-->
183 <!--<groupId>com.google.guava</groupId>-->
184 <!--<artifactId>guava</artifactId>-->
189 <groupId>org.onap.aai.router-core</groupId>
190 <artifactId>router-core</artifactId>
191 <version>1.3.0-SNAPSHOT</version>
195 <groupId>org.json</groupId>
196 <artifactId>json</artifactId>
200 <groupId>com.google.code.gson</groupId>
201 <artifactId>gson</artifactId>
202 <version>2.6.2</version>
206 <groupId>org.eclipse.persistence</groupId>
207 <artifactId>eclipselink</artifactId>
208 <version>2.6.2</version>
212 <groupId>org.onap.aai.logging-service</groupId>
213 <artifactId>common-logging</artifactId>
214 <version>1.2.2</version>
218 <groupId>org.onap.aai.logging-service</groupId>
219 <artifactId>logging-api</artifactId>
220 <version>1.1.0</version>
224 <groupId>org.onap.aai</groupId>
225 <artifactId>rest-client</artifactId>
226 <version>1.1.0</version>
230 <groupId>com.google.guava</groupId>
231 <artifactId>guava</artifactId>
232 <version>${version.com.google.guava}</version>
238 <finalName>${project.artifactId}</finalName>
240 <!-- Checkstyle plugin - used to report on compliance with -->
241 <!-- the Google style guide. -->
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-site-plugin</artifactId>
245 <version>3.3</version>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-checkstyle-plugin</artifactId>
251 <version>2.17</version>
255 <report>checkstyle</report>
264 <groupId>org.springframework.boot</groupId>
265 <artifactId>spring-boot-maven-plugin</artifactId>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-resources-plugin</artifactId>
270 <version>2.7</version>
273 <id>copy-docker-file</id>
274 <phase>package</phase>
276 <goal>copy-resources</goal>
279 <outputDirectory>target</outputDirectory>
280 <overwrite>true</overwrite>
283 <directory>${basedir}/src/main/docker</directory>
284 <filtering>true</filtering>
286 <include>**/*</include>
290 <directory>${basedir}</directory>
291 <filtering>true</filtering>
293 <include>bundleconfig-local/**</include>
297 <directory>${basedir}/src/main/bin/</directory>
298 <filtering>true</filtering>
300 <include>**/*</include>
304 <directory>${basedir}/config</directory>
305 <filtering>true</filtering>
307 <include>schema/**</include>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-dependency-plugin</artifactId>
321 <phase>prepare-package</phase>
328 <groupId>org.onap.aai.aai-common</groupId>
329 <artifactId>aai-schema</artifactId>
330 <version>1.2.2</version>
332 <includes>oxm/</includes>
333 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
341 <groupId>com.spotify</groupId>
342 <artifactId>docker-maven-plugin</artifactId>
343 <version>0.4.11</version>
346 <groupId>com.github.jnr</groupId>
347 <artifactId>jnr-unixsocket</artifactId>
348 <version>0.13</version>
352 <verbose>true</verbose>
353 <serverId>docker-hub</serverId>
354 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
355 <dockerDirectory>${docker.location}</dockerDirectory>
357 <imageTag>latest</imageTag>
359 <forceTags>true</forceTags>
362 <!-- license plugin -->
363 <!-- Uncomment this to add a license header to every source file
365 <groupId>com.mycila</groupId>
366 <artifactId>license-maven-plugin</artifactId>
367 <version>3.0</version>
369 <header>License.txt</header>
371 <include>src/main/java/**</include>
372 <include>src/test/java/**</include>
380 <phase>process-sources</phase>
385 <groupId>org.sonatype.plugins</groupId>
386 <artifactId>nexus-staging-maven-plugin</artifactId>
387 <version>1.6.7</version>
388 <extensions>true</extensions>
390 <nexusUrl>${nexusproxy}</nexusUrl>
391 <stagingProfileId>176c31dfe190a</stagingProfileId>
392 <serverId>ecomp-staging</serverId>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-deploy-plugin</artifactId>
403 <groupId>org.codehaus.mojo</groupId>
404 <artifactId>sonar-maven-plugin</artifactId>
405 <version>3.2</version>
408 <groupId>org.jacoco</groupId>
409 <artifactId>jacoco-maven-plugin</artifactId>
410 <version>0.7.7.201606060606</version>
412 <dumpOnExit>true</dumpOnExit>
416 <id>jacoco-initialize-unit-tests</id>
418 <goal>prepare-agent</goal>
421 <destFile>${project.build.directory}/coverage-reports/jacoco.exec
432 <dependencyManagement>
435 <groupId>org.apache.camel</groupId>
436 <artifactId>camel-spring-boot-dependencies</artifactId>
437 <version>${camel-spring-boot.version}</version>
439 <scope>import</scope>
442 <groupId>org.apache.httpcomponents</groupId>
443 <artifactId>httpclient</artifactId>
444 <version>4.5.5</version>
447 <groupId>org.apache.httpcomponents</groupId>
448 <artifactId>httpcore</artifactId>
449 <version>4.4.1</version>
452 <groupId>org.json</groupId>
453 <artifactId>json</artifactId>
454 <version>20131018</version>
457 </dependencyManagement>
458 <distributionManagement>
460 <id>ecomp-releases</id>
461 <name>ECOMP Release Repository</name>
462 <url>${nexusproxy}/content/repositories/releases/</url>
465 <id>ecomp-snapshots</id>
466 <name>ECOMP Snapshot Repository</name>
467 <url>${nexusproxy}/content/repositories/snapshots/</url>
468 </snapshotRepository>
469 </distributionManagement>