blob: dd7a07e5a5a1914cabf2c9fac5667e574066a0a3 [file] [log] [blame]
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +01001<?xml version="1.0" encoding="UTF-8"?>
Sai Gandham25129102018-11-06 11:29:31 -06002<!--* ============LICENSE_START====================================================
3 * ===========================================================================
4 * org.onap.aaf
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
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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====================================================
19 * -->
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010020<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>
23
24 <parent>
Ravi Geda1931e662018-09-25 21:54:30 +010025 <groupId>org.onap.aaf.cadi.sidecar</groupId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010026 <artifactId>sidecar</artifactId>
Sai Gandham01deccb2019-01-16 13:18:56 -060027 <version>2.1.10-SNAPSHOT</version>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010028 </parent>
29
30 <artifactId>rproxy</artifactId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010031 <packaging>jar</packaging>
32
Instrumentalc7014072018-11-07 11:21:03 -060033 <name>Sidecar rproxy</name>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010034 <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description>
35
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010036 <dependencies>
37
38 <!-- Spring Boot Dependencies -->
39
40 <dependency>
41 <groupId>org.springframework.boot</groupId>
42 <artifactId>spring-boot-starter-web</artifactId>
43 <exclusions>
44 <exclusion>
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-starter-tomcat</artifactId>
47 </exclusion>
Lee, Tian (tl5884)0d9b3892018-10-01 16:24:47 +010048 <exclusion>
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-json</artifactId>
51 </exclusion>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010052 </exclusions>
53 </dependency>
54
55 <dependency>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-jetty</artifactId>
58 </dependency>
59
60 <dependency>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010061 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-aop</artifactId>
63 </dependency>
64
65 <dependency>
66 <groupId>org.springframework.boot</groupId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010067 <artifactId>spring-boot-starter-test</artifactId>
IanB50fd8fd2018-11-22 15:57:14 +000068 <scope>test</scope>
Instrumental5aa8aec2018-11-07 20:52:15 -060069 </dependency>
70
71 <dependency>
72 <groupId>org.apache.httpcomponents</groupId>
73 <artifactId>httpclient</artifactId>
74 </dependency>
75
76 <dependency>
77 <groupId>org.aspectj</groupId>
78 <artifactId>aspectjrt</artifactId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010079 </dependency>
80
81 <!-- Application Dependencies -->
82
83 <dependency>
84 <groupId>org.onap.aaf.cadi.sidecar</groupId>
85 <artifactId>fproxy</artifactId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010086 </dependency>
87
88 <dependency>
89 <groupId>com.google.code.gson</groupId>
90 <artifactId>gson</artifactId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010091 </dependency>
92
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010093 <!-- CADI -->
94
95 <dependency>
96 <groupId>org.onap.aaf.authz</groupId>
97 <artifactId>aaf-cadi-aaf</artifactId>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +010098 </dependency>
99
100 </dependencies>
101
102 <build>
103 <finalName>rproxy</finalName>
104 <plugins>
105 <plugin>
106 <groupId>org.springframework.boot</groupId>
107 <artifactId>spring-boot-maven-plugin</artifactId>
108 <version>${spring.boot.version}</version>
109 <executions>
110 <execution>
111 <goals>
112 <goal>repackage</goal>
113 </goals>
114 <configuration>
115 <classifier>exec</classifier>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120
121 <plugin>
122 <groupId>com.mycila</groupId>
123 <artifactId>license-maven-plugin</artifactId>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-surefire-plugin</artifactId>
128 <configuration>
129 <reuseForks>false</reuseForks>
130 <forkCount>1</forkCount>
131 </configuration>
132 </plugin>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-resources-plugin</artifactId>
136 <version>3.0.2</version>
137 <executions>
138 <execution>
139 <id>copy-docker-file</id>
140 <phase>package</phase>
141 <goals>
142 <goal>copy-resources</goal>
143 </goals>
144 <configuration>
145 <outputDirectory>target</outputDirectory>
146 <overwrite>true</overwrite>
147 <resources>
148 <resource>
149 <directory>${basedir}/src/main/docker</directory>
150 <filtering>true</filtering>
151 </resource>
152 <resource>
153 <directory>${basedir}/src/main/bin/</directory>
154 <filtering>true</filtering>
155 </resource>
156 </resources>
157 </configuration>
158 </execution>
159 </executions>
160 </plugin>
161 <plugin>
162 <groupId>com.spotify</groupId>
163 <artifactId>docker-maven-plugin</artifactId>
164 <version>0.4.11</version>
Lee, Tian (tl5884)0d7feec2018-09-20 12:27:40 +0100165 <configuration>
166 <verbose>true</verbose>
167 <serverId>docker-hub</serverId>
168 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
169 <dockerDirectory>${docker.location}</dockerDirectory>
170 <imageTags>
171 <imageTag>latest</imageTag>
172 </imageTags>
173 <forceTags>true</forceTags>
174 </configuration>
175 </plugin>
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-deploy-plugin</artifactId>
179 <configuration>
180 <skip>true</skip>
181 </configuration>
182 </plugin>
183 </plugins>
184 </build>
185</project>