1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--* ============LICENSE_START====================================================
3 * ===========================================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.aaf.cadi.sidecar</groupId>
26 <artifactId>sidecar</artifactId>
27 <version>2.1.2-SNAPSHOT</version>
30 <artifactId>rproxy</artifactId>
31 <version>2.1.2-SNAPSHOT</version>
32 <packaging>jar</packaging>
34 <name>aaf-rproxy</name>
35 <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description>
38 <spring.boot.version>2.0.3.RELEASE</spring.boot.version>
39 <docker.location>${basedir}/target</docker.location>
40 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
43 <dependencyManagement>
46 <!-- Import dependency management from Spring Boot -->
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-dependencies</artifactId>
49 <version>${spring.boot.version}</version>
54 </dependencyManagement>
58 <!-- Spring Boot Dependencies -->
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-web</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-tomcat</artifactId>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-json</artifactId>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-jetty</artifactId>
81 <groupId>org.apache.httpcomponents</groupId>
82 <artifactId>httpclient</artifactId>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-starter-aop</artifactId>
91 <groupId>org.springframework.boot</groupId>
92 <artifactId>spring-boot-starter-test</artifactId>
96 <!-- Application Dependencies -->
99 <groupId>org.onap.aaf.cadi.sidecar</groupId>
100 <artifactId>fproxy</artifactId>
101 <version>2.1.2-SNAPSHOT</version>
105 <groupId>com.google.code.gson</groupId>
106 <artifactId>gson</artifactId>
110 <groupId>org.mockito</groupId>
111 <artifactId>mockito-core</artifactId>
117 <groupId>org.onap.aaf.authz</groupId>
118 <artifactId>aaf-cadi-aaf</artifactId>
119 <version>2.1.2</version>
125 <finalName>rproxy</finalName>
128 <groupId>org.springframework.boot</groupId>
129 <artifactId>spring-boot-maven-plugin</artifactId>
130 <version>${spring.boot.version}</version>
134 <goal>repackage</goal>
137 <classifier>exec</classifier>
144 <groupId>com.mycila</groupId>
145 <artifactId>license-maven-plugin</artifactId>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-surefire-plugin</artifactId>
151 <reuseForks>false</reuseForks>
152 <forkCount>1</forkCount>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-resources-plugin</artifactId>
158 <version>3.0.2</version>
161 <id>copy-docker-file</id>
162 <phase>package</phase>
164 <goal>copy-resources</goal>
167 <outputDirectory>target</outputDirectory>
168 <overwrite>true</overwrite>
171 <directory>${basedir}/src/main/docker</directory>
172 <filtering>true</filtering>
175 <directory>${basedir}/src/main/bin/</directory>
176 <filtering>true</filtering>
184 <groupId>com.spotify</groupId>
185 <artifactId>docker-maven-plugin</artifactId>
186 <version>0.4.11</version>
188 <verbose>true</verbose>
189 <serverId>docker-hub</serverId>
190 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
191 <dockerDirectory>${docker.location}</dockerDirectory>
193 <imageTag>latest</imageTag>
195 <forceTags>true</forceTags>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-deploy-plugin</artifactId>