blob: dd5ae52ef905ec447024a3bafa0e37aa9fc42ced [file] [log] [blame]
Ravi Geda6c3031e2018-09-17 12:57:44 +01001<?xml version="1.0" encoding="UTF-8"?>
Sai Gandham25129102018-11-06 11:29:31 -06002<!--* ============LICENSE_START====================================================
Instrumental5aa8aec2018-11-07 20:52:15 -06003 * ===========================================================================
4 * org.onap.aaf
5 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 * ============LICENSE_END====================================================
17 * -->
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +000018<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Instrumental5aa8aec2018-11-07 20:52:15 -060019 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <parent>
21 <groupId>org.onap.aaf.cadi</groupId>
22 <artifactId>parent</artifactId>
Instrumental49d5ae32018-11-19 13:42:30 -060023 <version>2.1.9-SNAPSHOT</version>
Instrumental5aa8aec2018-11-07 20:52:15 -060024 <relativePath>..</relativePath>
25 </parent>
Ravi Geda6c3031e2018-09-17 12:57:44 +010026 <modelVersion>4.0.0</modelVersion>
Ravi Geda1931e662018-09-25 21:54:30 +010027 <groupId>org.onap.aaf.cadi.sidecar</groupId>
Ravi Geda6c3031e2018-09-17 12:57:44 +010028 <artifactId>sidecar</artifactId>
Instrumentalc7014072018-11-07 11:21:03 -060029 <name>Sidecar Parent</name>
Ravi Geda6c3031e2018-09-17 12:57:44 +010030 <packaging>pom</packaging>
31
Ravi Geda6c3031e2018-09-17 12:57:44 +010032 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
IanB50fd8fd2018-11-22 15:57:14 +000035 <sonar.skip>false</sonar.skip>
Instrumental5aa8aec2018-11-07 20:52:15 -060036 <jacoco.version>0.7.7.201606060606</jacoco.version>
37 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
38 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
39 <!-- Default Sonar configuration -->
40 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
41 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
42 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
43 below -->
44 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
45 <nexusproxy>https://nexus.onap.org</nexusproxy>
46 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
47 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
48 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
49 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
50
Ravi Geda6c3031e2018-09-17 12:57:44 +010051 <java.version>1.8</java.version>
Instrumental5aa8aec2018-11-07 20:52:15 -060052 <!-- Spring boot version
53 Must match oParent
54 -->
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +000055 <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
56 <spring.web.version>5.1.3.RELEASE</spring.web.version>
IanB50fd8fd2018-11-22 15:57:14 +000057
Instrumentalc7014072018-11-07 11:21:03 -060058 <docker.location>${basedir}/target</docker.location>
59 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +000060
Ravi Geda6c3031e2018-09-17 12:57:44 +010061 </properties>
62
Instrumentalc7014072018-11-07 11:21:03 -060063 <dependencyManagement>
64 <dependencies>
Instrumental5aa8aec2018-11-07 20:52:15 -060065 <dependency>
66 <groupId>org.onap.aaf.cadi.sidecar</groupId>
67 <artifactId>fproxy</artifactId>
68 <version>${project.version}</version>
69 </dependency>
70 <dependency>
71 <groupId>org.onap.aaf.cadi.sidecar</groupId>
72 <artifactId>rproxy</artifactId>
73 <version>${project.version}</version>
74 </dependency>
75 <dependency>
76 <groupId>javax.servlet</groupId>
77 <artifactId>javax.servlet-api</artifactId>
78 <version>3.1.0</version>
79 </dependency>
Instrumental5aa8aec2018-11-07 20:52:15 -060080 <dependency>
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +000081 <groupId>org.aspectj</groupId>
82 <artifactId>aspectjrt</artifactId>
83 <version>1.9.2</version>
Instrumental5aa8aec2018-11-07 20:52:15 -060084 </dependency>
Instrumental5aa8aec2018-11-07 20:52:15 -060085 <dependency>
86 <groupId>com.google.code.gson</groupId>
87 <artifactId>gson</artifactId>
88 <version>2.8.5</version>
89 </dependency>
Instrumental5aa8aec2018-11-07 20:52:15 -060090 <dependency>
91 <groupId>org.apache.commons</groupId>
92 <artifactId>commons-lang3</artifactId>
93 <version>3.8.1</version>
94 </dependency>
Instrumental5aa8aec2018-11-07 20:52:15 -060095 <dependency>
96 <groupId>org.springframework.boot</groupId>
97 <artifactId>spring-boot-starter-jetty</artifactId>
98 <version>${spring.boot.version}</version>
99 </dependency>
Instrumental5aa8aec2018-11-07 20:52:15 -0600100 <dependency>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-starter-aop</artifactId>
103 <version>${spring.boot.version}</version>
104 </dependency>
Instrumentalc7014072018-11-07 11:21:03 -0600105 <dependency>
Instrumentalc7014072018-11-07 11:21:03 -0600106 <groupId>org.springframework.boot</groupId>
Instrumental5aa8aec2018-11-07 20:52:15 -0600107 <artifactId>spring-boot-starter-web</artifactId>
Instrumentalc7014072018-11-07 11:21:03 -0600108 <version>${spring.boot.version}</version>
Instrumentalc7014072018-11-07 11:21:03 -0600109 </dependency>
Instrumental5aa8aec2018-11-07 20:52:15 -0600110 <dependency>
111 <groupId>org.springframework.boot</groupId>
112 <artifactId>spring-boot-starter-test</artifactId>
113 <version>${spring.boot.version}</version>
114 </dependency>
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +0000115 <dependency>
116 <groupId>org.springframework</groupId>
117 <artifactId>spring-core</artifactId>
118 <version>${spring.web.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>org.springframework</groupId>
122 <artifactId>spring-expression</artifactId>
123 <version>${spring.web.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>org.springframework</groupId>
127 <artifactId>spring-web</artifactId>
128 <version>${spring.web.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-webmvc</artifactId>
133 <version>${spring.web.version}</version>
134 </dependency>
Instrumentalc7014072018-11-07 11:21:03 -0600135 </dependencies>
136 </dependencyManagement>
137
Instrumental5aa8aec2018-11-07 20:52:15 -0600138 <!-- ============================================================== -->
Ravi Geda6c3031e2018-09-17 12:57:44 +0100139 <!-- Define sub-projects (modules) -->
140 <!-- ============================================================== -->
141 <modules>
142 <module>fproxy</module>
Ravi Geda1931e662018-09-25 21:54:30 +0100143 <module>rproxy</module>
144 <module>tproxy-config</module>
Ravi Geda6c3031e2018-09-17 12:57:44 +0100145 </modules>
146
147 <build>
Ravi Geda6c3031e2018-09-17 12:57:44 +0100148 <pluginManagement>
149 <plugins>
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +0000150
IanB50fd8fd2018-11-22 15:57:14 +0000151 <plugin>
152 <artifactId>maven-surefire-plugin</artifactId>
153 <version>2.17</version>
154 <configuration>
155 <!-- Suppresses parent pom config of Surefire plugin. Has the affect of
156 setting Surefire file includes back to default and re-enables sidecar
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +0000157 unit tests -->
IanB50fd8fd2018-11-22 15:57:14 +0000158 <includes combine.self="override"></includes>
159 </configuration>
Lee, Tian (tl5884)7ff5c082019-01-03 11:15:46 +0000160 </plugin>
161
Ravi Geda6c3031e2018-09-17 12:57:44 +0100162 <plugin>
163 <groupId>com.mycila</groupId>
164 <artifactId>license-maven-plugin</artifactId>
165 <version>3.0</version>
166 <configuration>
167 <header>License.txt</header>
168 <includes>
169 <include>src/main/java/**</include>
170 <include>src/test/java/**</include>
171 <include>pom.xml</include>
172 </includes>
173 <skipExistingHeaders>true</skipExistingHeaders>
174 </configuration>
175 <executions>
176 <execution>
177 <goals>
178 <!-- Set goal from "check" to "format" to auto update license headers -->
179 <goal>check</goal>
180 </goals>
181 <phase>validate</phase>
182 </execution>
183 </executions>
184 </plugin>
Instrumental5aa8aec2018-11-07 20:52:15 -0600185 </plugins>
Ravi Geda6c3031e2018-09-17 12:57:44 +0100186 </pluginManagement>
187 </build>
188</project>