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.10-SNAPSHOT</version>
30 <artifactId>fproxy</artifactId>
31 <packaging>jar</packaging>
33 <name>Sidecar fproxy</name>
34 <description>ONAP AAF Forward Proxy Microservice For Pluggable Security</description>
36 <dependencyManagement>
39 <!-- Import dependency management from Spring Boot -->
40 <groupId>org.springframework.boot</groupId>
41 <artifactId>spring-boot-dependencies</artifactId>
42 <version>${spring.boot.version}</version>
47 </dependencyManagement>
51 <groupId>org.apache.httpcomponents</groupId>
52 <artifactId>httpclient</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-jetty</artifactId>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-aop</artifactId>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-web</artifactId>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-tomcat</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-json</artifactId>
81 <groupId>org.springframework.boot</groupId>
82 <artifactId>spring-boot-starter-test</artifactId>
86 <groupId>com.google.code.gson</groupId>
87 <artifactId>gson</artifactId>
92 <finalName>fproxy</finalName>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-maven-plugin</artifactId>
97 <version>${spring.boot.version}</version>
101 <goal>repackage</goal>
104 <classifier>exec</classifier>
110 <groupId>com.mycila</groupId>
111 <artifactId>license-maven-plugin</artifactId>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-surefire-plugin</artifactId>
117 <reuseForks>false</reuseForks>
118 <forkCount>1</forkCount>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-resources-plugin</artifactId>
124 <version>3.0.2</version>
127 <id>copy-docker-file</id>
128 <phase>package</phase>
130 <goal>copy-resources</goal>
133 <outputDirectory>target</outputDirectory>
134 <overwrite>true</overwrite>
137 <directory>${basedir}/src/main/docker</directory>
138 <filtering>true</filtering>
141 <directory>${basedir}/src/main/bin/</directory>
142 <filtering>true</filtering>
150 <groupId>com.spotify</groupId>
151 <artifactId>docker-maven-plugin</artifactId>
152 <version>0.4.11</version>
154 <verbose>true</verbose>
155 <serverId>docker-hub</serverId>
156 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
157 <dockerDirectory>${docker.location}</dockerDirectory>
159 <imageTag>latest</imageTag>
161 <forceTags>true</forceTags>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-deploy-plugin</artifactId>