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.19-SNAPSHOT</version>
31 <fproxy.build.dir>${project.build.directory}/${project.artifactId}-build/</fproxy.build.dir>
34 <artifactId>fproxy</artifactId>
35 <packaging>jar</packaging>
37 <name>Sidecar fproxy</name>
38 <description>ONAP AAF Forward Proxy Microservice For Pluggable Security</description>
40 <dependencyManagement>
43 <!-- Import dependency management from Spring Boot -->
44 <groupId>org.springframework.boot</groupId>
45 <artifactId>spring-boot-dependencies</artifactId>
46 <version>${spring.boot.version}</version>
51 </dependencyManagement>
55 <groupId>org.apache.httpcomponents</groupId>
56 <artifactId>httpclient</artifactId>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-jetty</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-aop</artifactId>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-web</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-tomcat</artifactId>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-json</artifactId>
85 <groupId>org.springframework.boot</groupId>
86 <artifactId>spring-boot-starter-test</artifactId>
90 <groupId>com.google.code.gson</groupId>
91 <artifactId>gson</artifactId>
96 <finalName>fproxy</finalName>
99 <groupId>org.springframework.boot</groupId>
100 <artifactId>spring-boot-maven-plugin</artifactId>
101 <version>${spring.boot.version}</version>
105 <goal>repackage</goal>
108 <classifier>exec</classifier>
114 <groupId>com.mycila</groupId>
115 <artifactId>license-maven-plugin</artifactId>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-surefire-plugin</artifactId>
121 <reuseForks>false</reuseForks>
122 <forkCount>1</forkCount>
123 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
127 <artifactId>maven-assembly-plugin</artifactId>
130 <descriptor>src/main/assembly/descriptor.xml</descriptor>
135 <id>make-assembly</id>
136 <phase>package</phase>
144 <groupId>io.fabric8</groupId>
145 <artifactId>docker-maven-plugin</artifactId>
146 <version>0.28.0</version>
148 <verbose>true</verbose>
149 <apiVersion>${docker.apiVersion}</apiVersion>
150 <pullRegistry>${docker.pull.registry}</pullRegistry>
151 <pushRegistry>${docker.push.registry}</pushRegistry>
152 <serverId>docker-hub</serverId>
153 <dockerDirectory>${docker.location}</dockerDirectory>
155 <imageTag>latest</imageTag>
157 <forceTags>true</forceTags>
160 <name>${docker.push.registry}/onap/${project.artifactId}</name>
162 <cleanup>try</cleanup>
163 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
171 <directory>${fproxy.build.dir}</directory>
172 <outputDirectory>/${project.artifactId}</outputDirectory>
183 <id>generate-images</id>
184 <phase>install</phase>
189 <phase>deploy</phase>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-deploy-plugin</artifactId>