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.17-SNAPSHOT</version>
31 <fproxy.build.dir>${project.build.directory}/${project.artifactId}-build/</fproxy.build.dir>
34 <artifactId>rproxy</artifactId>
35 <packaging>jar</packaging>
37 <name>Sidecar rproxy</name>
38 <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description>
42 <!-- Spring Boot Dependencies -->
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-starter-web</artifactId>
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-tomcat</artifactId>
53 <groupId>org.springframework.boot</groupId>
54 <artifactId>spring-boot-starter-json</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-test</artifactId>
76 <groupId>org.apache.httpcomponents</groupId>
77 <artifactId>httpclient</artifactId>
81 <groupId>org.aspectj</groupId>
82 <artifactId>aspectjrt</artifactId>
85 <!-- Application Dependencies -->
88 <groupId>org.onap.aaf.cadi.sidecar</groupId>
89 <artifactId>fproxy</artifactId>
93 <groupId>com.google.code.gson</groupId>
94 <artifactId>gson</artifactId>
100 <groupId>org.onap.aaf.authz</groupId>
101 <artifactId>aaf-cadi-aaf</artifactId>
107 <finalName>rproxy</finalName>
110 <groupId>org.springframework.boot</groupId>
111 <artifactId>spring-boot-maven-plugin</artifactId>
112 <version>${spring.boot.version}</version>
116 <goal>repackage</goal>
119 <classifier>exec</classifier>
126 <groupId>com.mycila</groupId>
127 <artifactId>license-maven-plugin</artifactId>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-surefire-plugin</artifactId>
133 <reuseForks>false</reuseForks>
134 <forkCount>1</forkCount>
135 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
139 <artifactId>maven-assembly-plugin</artifactId>
142 <descriptor>src/main/assembly/descriptor.xml</descriptor>
147 <id>make-assembly</id>
148 <phase>package</phase>
156 <groupId>io.fabric8</groupId>
157 <artifactId>docker-maven-plugin</artifactId>
158 <version>0.28.0</version>
160 <verbose>true</verbose>
161 <apiVersion>${docker.apiVersion}</apiVersion>
162 <pullRegistry>${docker.pull.registry}</pullRegistry>
163 <pushRegistry>${docker.push.registry}</pushRegistry>
164 <serverId>docker-hub</serverId>
165 <dockerDirectory>${docker.location}</dockerDirectory>
167 <imageTag>latest</imageTag>
169 <forceTags>true</forceTags>
172 <name>${docker.push.registry}/onap/${project.artifactId}</name>
174 <cleanup>try</cleanup>
175 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
183 <directory>${fproxy.build.dir}</directory>
184 <outputDirectory>/${project.artifactId}</outputDirectory>
195 <id>generate-images</id>
196 <phase>install</phase>
200 <phase>deploy</phase>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-deploy-plugin</artifactId>