blob: 260825432c4ce056fa167897a7c115b49b5ec648 [file] [log] [blame]
Ravi Geda6c3031e2018-09-17 12:57:44 +01001<?xml version="1.0" encoding="UTF-8"?>
Michael Arrastiad3e17282018-11-08 16:57:56 +00002<!--* ============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====================================================
Sai Gandham25129102018-11-06 11:29:31 -060019 * -->
Ravi Geda6c3031e2018-09-17 12:57:44 +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
Ravi Geda6c3031e2018-09-17 12:57:44 +010024 <parent>
Ravi Geda1931e662018-09-25 21:54:30 +010025 <groupId>org.onap.aaf.cadi.sidecar</groupId>
Ravi Geda6c3031e2018-09-17 12:57:44 +010026 <artifactId>sidecar</artifactId>
Instrumental49d5ae32018-11-19 13:42:30 -060027 <version>2.1.9-SNAPSHOT</version>
Ravi Geda6c3031e2018-09-17 12:57:44 +010028 </parent>
29
Ravi Geda1931e662018-09-25 21:54:30 +010030 <artifactId>fproxy</artifactId>
Ravi Geda1931e662018-09-25 21:54:30 +010031 <packaging>jar</packaging>
32
Instrumentalc7014072018-11-07 11:21:03 -060033 <name>Sidecar fproxy</name>
Ravi Geda6c3031e2018-09-17 12:57:44 +010034 <description>ONAP AAF Forward Proxy Microservice For Pluggable Security</description>
35
Michael Arrastiad3e17282018-11-08 16:57:56 +000036 <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
Ravi Geda6c3031e2018-09-17 12:57:44 +010049 <dependencies>
50 <dependency>
Michael Arrastiad3e17282018-11-08 16:57:56 +000051 <groupId>org.apache.httpcomponents</groupId>
52 <artifactId>httpclient</artifactId>
Instrumental5aa8aec2018-11-07 20:52:15 -060053 </dependency>
Michael Arrastiad3e17282018-11-08 16:57:56 +000054
Instrumental5aa8aec2018-11-07 20:52:15 -060055 <dependency>
Ravi Geda6c3031e2018-09-17 12:57:44 +010056 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-jetty</artifactId>
58 </dependency>
59
60 <dependency>
61 <groupId>org.springframework.boot</groupId>
Instrumental5aa8aec2018-11-07 20:52:15 -060062 <artifactId>spring-boot-starter-aop</artifactId>
63 </dependency>
64
65 <dependency>
66 <groupId>org.springframework.boot</groupId>
Ravi Geda6c3031e2018-09-17 12:57:44 +010067 <artifactId>spring-boot-starter-web</artifactId>
IanB50fd8fd2018-11-22 15:57:14 +000068 <exclusions>
69 <exclusion>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-tomcat</artifactId>
72 </exclusion>
73 </exclusions>
Ravi Geda6c3031e2018-09-17 12:57:44 +010074 </dependency>
75
76 <dependency>
Ravi Geda6c3031e2018-09-17 12:57:44 +010077 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-starter-test</artifactId>
Ravi Geda6c3031e2018-09-17 12:57:44 +010079 </dependency>
Ravi Geda6c3031e2018-09-17 12:57:44 +010080 </dependencies>
81
82 <build>
83 <finalName>fproxy</finalName>
84 <plugins>
85 <plugin>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-maven-plugin</artifactId>
88 <version>${spring.boot.version}</version>
89 <executions>
90 <execution>
91 <goals>
92 <goal>repackage</goal>
93 </goals>
94 <configuration>
95 <classifier>exec</classifier>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 <plugin>
101 <groupId>com.mycila</groupId>
102 <artifactId>license-maven-plugin</artifactId>
103 </plugin>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-surefire-plugin</artifactId>
107 <configuration>
108 <reuseForks>false</reuseForks>
109 <forkCount>1</forkCount>
110 </configuration>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-resources-plugin</artifactId>
115 <version>3.0.2</version>
116 <executions>
117 <execution>
118 <id>copy-docker-file</id>
119 <phase>package</phase>
120 <goals>
121 <goal>copy-resources</goal>
122 </goals>
123 <configuration>
124 <outputDirectory>target</outputDirectory>
125 <overwrite>true</overwrite>
126 <resources>
127 <resource>
128 <directory>${basedir}/src/main/docker</directory>
129 <filtering>true</filtering>
130 </resource>
131 <resource>
132 <directory>${basedir}/src/main/bin/</directory>
133 <filtering>true</filtering>
134 </resource>
135 </resources>
136 </configuration>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>com.spotify</groupId>
142 <artifactId>docker-maven-plugin</artifactId>
143 <version>0.4.11</version>
Ravi Geda6c3031e2018-09-17 12:57:44 +0100144 <configuration>
145 <verbose>true</verbose>
146 <serverId>docker-hub</serverId>
147 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
148 <dockerDirectory>${docker.location}</dockerDirectory>
149 <imageTags>
150 <imageTag>latest</imageTag>
151 </imageTags>
152 <forceTags>true</forceTags>
153 </configuration>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-deploy-plugin</artifactId>
Ravi Geda6c3031e2018-09-17 12:57:44 +0100158 </plugin>
159 </plugins>
160 </build>
161</project>