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>fproxy</artifactId>
31 <version>2.1.2-SNAPSHOT</version>
32 <packaging>jar</packaging>
34 <name>aaf-fproxy</name>
35 <description>ONAP AAF Forward Proxy Microservice For Pluggable Security</description>
38 <!-- Spring boot version -->
39 <spring.boot.version>2.0.3.RELEASE</spring.boot.version>
40 <docker.location>${basedir}/target</docker.location>
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 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-jetty</artifactId>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-web</artifactId>
67 <artifactId>spring-boot-starter-tomcat</artifactId>
68 <groupId>org.springframework.boot</groupId>
71 <groupId>org.springframework.boot</groupId>
72 <artifactId>spring-boot-starter-json</artifactId>
78 <groupId>org.apache.commons</groupId>
79 <artifactId>commons-lang3</artifactId>
83 <groupId>org.apache.httpcomponents</groupId>
84 <artifactId>httpclient</artifactId>
88 <groupId>com.google.code.gson</groupId>
89 <artifactId>gson</artifactId>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-test</artifactId>
102 <finalName>fproxy</finalName>
105 <groupId>org.springframework.boot</groupId>
106 <artifactId>spring-boot-maven-plugin</artifactId>
107 <version>${spring.boot.version}</version>
111 <goal>repackage</goal>
114 <classifier>exec</classifier>
120 <groupId>com.mycila</groupId>
121 <artifactId>license-maven-plugin</artifactId>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-surefire-plugin</artifactId>
127 <reuseForks>false</reuseForks>
128 <forkCount>1</forkCount>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-resources-plugin</artifactId>
134 <version>3.0.2</version>
137 <id>copy-docker-file</id>
138 <phase>package</phase>
140 <goal>copy-resources</goal>
143 <outputDirectory>target</outputDirectory>
144 <overwrite>true</overwrite>
147 <directory>${basedir}/src/main/docker</directory>
148 <filtering>true</filtering>
151 <directory>${basedir}/src/main/bin/</directory>
152 <filtering>true</filtering>
160 <groupId>com.spotify</groupId>
161 <artifactId>docker-maven-plugin</artifactId>
162 <version>0.4.11</version>
164 <verbose>true</verbose>
165 <serverId>docker-hub</serverId>
166 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
167 <dockerDirectory>${docker.location}</dockerDirectory>
169 <imageTag>latest</imageTag>
171 <forceTags>true</forceTags>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-deploy-plugin</artifactId>