Merge "Update FProxy to separate truststore and keystore"
[aaf/cadi.git] / sidecar / fproxy / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--* ============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     * -->
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>
23
24         <parent>
25                 <groupId>org.onap.aaf.cadi.sidecar</groupId>
26                 <artifactId>sidecar</artifactId>
27                 <version>2.1.7-SNAPSHOT</version>
28         </parent>
29
30         <artifactId>fproxy</artifactId>
31         <packaging>jar</packaging>
32
33         <name>Sidecar fproxy</name>
34         <description>ONAP AAF Forward Proxy Microservice For Pluggable Security</description>
35
36         <dependencyManagement>
37                 <dependencies>
38                         <dependency>
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>
43                                 <type>pom</type>
44                                 <scope>import</scope>
45                         </dependency>
46                 </dependencies>
47         </dependencyManagement>
48
49         <dependencies>
50                 <dependency>
51                         <groupId>org.apache.httpcomponents</groupId>
52                         <artifactId>httpclient</artifactId>
53                 </dependency>
54
55                 <dependency>
56                         <groupId>org.springframework.boot</groupId>
57                         <artifactId>spring-boot-starter-jetty</artifactId>
58                 </dependency>
59
60                 <dependency>
61                         <groupId>org.springframework.boot</groupId>
62                         <artifactId>spring-boot-starter-aop</artifactId>
63                 </dependency>
64
65                 <dependency>
66                         <groupId>org.springframework.boot</groupId>
67                         <artifactId>spring-boot-starter-web</artifactId>
68                 </dependency>
69
70                 <dependency>
71                         <groupId>org.springframework.boot</groupId>
72                         <artifactId>spring-boot-starter-test</artifactId>
73                 </dependency>
74         </dependencies>
75
76         <build>
77                 <finalName>fproxy</finalName>
78                 <plugins>
79                         <plugin>
80                                 <groupId>org.springframework.boot</groupId>
81                                 <artifactId>spring-boot-maven-plugin</artifactId>
82                                 <version>${spring.boot.version}</version>
83                                 <executions>
84                                         <execution>
85                                                 <goals>
86                                                         <goal>repackage</goal>
87                                                 </goals>
88                                                 <configuration>
89                                                         <classifier>exec</classifier>
90                                                 </configuration>
91                                         </execution>
92                                 </executions>
93                         </plugin>
94                         <plugin>
95                                 <groupId>com.mycila</groupId>
96                                 <artifactId>license-maven-plugin</artifactId>
97                         </plugin>
98                         <plugin>
99                                 <groupId>org.apache.maven.plugins</groupId>
100                                 <artifactId>maven-surefire-plugin</artifactId>
101                                 <configuration>
102                                         <reuseForks>false</reuseForks>
103                                         <forkCount>1</forkCount>
104                                 </configuration>
105                         </plugin>
106                         <plugin>
107                                 <groupId>org.apache.maven.plugins</groupId>
108                                 <artifactId>maven-resources-plugin</artifactId>
109                                 <version>3.0.2</version>
110                                 <executions>
111                                         <execution>
112                                                 <id>copy-docker-file</id>
113                                                 <phase>package</phase>
114                                                 <goals>
115                                                         <goal>copy-resources</goal>
116                                                 </goals>
117                                                 <configuration>
118                                                         <outputDirectory>target</outputDirectory>
119                                                         <overwrite>true</overwrite>
120                                                         <resources>
121                                                                 <resource>
122                                                                         <directory>${basedir}/src/main/docker</directory>
123                                                                         <filtering>true</filtering>
124                                                                 </resource>
125                                                                 <resource>
126                                                                         <directory>${basedir}/src/main/bin/</directory>
127                                                                         <filtering>true</filtering>
128                                                                 </resource>
129                                                         </resources>
130                                                 </configuration>
131                                         </execution>
132                                 </executions>
133                         </plugin>
134                         <plugin>
135                                 <groupId>com.spotify</groupId>
136                                 <artifactId>docker-maven-plugin</artifactId>
137                                 <version>0.4.11</version>
138                                 <configuration>
139                                         <verbose>true</verbose>
140                                         <serverId>docker-hub</serverId>
141                                         <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
142                                         <dockerDirectory>${docker.location}</dockerDirectory>
143                                         <imageTags>
144                                                 <imageTag>latest</imageTag>
145                                         </imageTags>
146                                         <forceTags>true</forceTags>
147                                 </configuration>
148                         </plugin>
149                         <plugin>
150                                 <groupId>org.apache.maven.plugins</groupId>
151                                 <artifactId>maven-deploy-plugin</artifactId>
152                         </plugin>
153                 </plugins>
154         </build>
155 </project>