Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Michael Arrastia | d3e1728 | 2018-11-08 16:57:56 +0000 | [diff] [blame] | 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==================================================== |
Sai Gandham | 2512910 | 2018-11-06 11:29:31 -0600 | [diff] [blame] | 19 | * --> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 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 | |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 24 | <parent> |
Ravi Geda | 1931e66 | 2018-09-25 21:54:30 +0100 | [diff] [blame] | 25 | <groupId>org.onap.aaf.cadi.sidecar</groupId> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 26 | <artifactId>sidecar</artifactId> |
Sai Gandham | a649fd1 | 2019-01-30 08:44:44 -0600 | [diff] [blame^] | 27 | <version>2.1.11-SNAPSHOT</version> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 28 | </parent> |
| 29 | |
Ravi Geda | 1931e66 | 2018-09-25 21:54:30 +0100 | [diff] [blame] | 30 | <artifactId>fproxy</artifactId> |
Ravi Geda | 1931e66 | 2018-09-25 21:54:30 +0100 | [diff] [blame] | 31 | <packaging>jar</packaging> |
| 32 | |
Instrumental | c701407 | 2018-11-07 11:21:03 -0600 | [diff] [blame] | 33 | <name>Sidecar fproxy</name> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 34 | <description>ONAP AAF Forward Proxy Microservice For Pluggable Security</description> |
| 35 | |
Michael Arrastia | d3e1728 | 2018-11-08 16:57:56 +0000 | [diff] [blame] | 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 | |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 49 | <dependencies> |
| 50 | <dependency> |
Michael Arrastia | d3e1728 | 2018-11-08 16:57:56 +0000 | [diff] [blame] | 51 | <groupId>org.apache.httpcomponents</groupId> |
| 52 | <artifactId>httpclient</artifactId> |
Instrumental | 5aa8aec | 2018-11-07 20:52:15 -0600 | [diff] [blame] | 53 | </dependency> |
Michael Arrastia | d3e1728 | 2018-11-08 16:57:56 +0000 | [diff] [blame] | 54 | |
Instrumental | 5aa8aec | 2018-11-07 20:52:15 -0600 | [diff] [blame] | 55 | <dependency> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 56 | <groupId>org.springframework.boot</groupId> |
| 57 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>org.springframework.boot</groupId> |
Instrumental | 5aa8aec | 2018-11-07 20:52:15 -0600 | [diff] [blame] | 62 | <artifactId>spring-boot-starter-aop</artifactId> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>org.springframework.boot</groupId> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 67 | <artifactId>spring-boot-starter-web</artifactId> |
IanB | 50fd8fd | 2018-11-22 15:57:14 +0000 | [diff] [blame] | 68 | <exclusions> |
| 69 | <exclusion> |
| 70 | <groupId>org.springframework.boot</groupId> |
| 71 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 72 | </exclusion> |
Lee, Tian (tl5884) | 3e50733 | 2019-01-04 17:27:11 +0000 | [diff] [blame] | 73 | <exclusion> |
| 74 | <groupId>org.springframework.boot</groupId> |
| 75 | <artifactId>spring-boot-starter-json</artifactId> |
| 76 | </exclusion> |
| 77 | </exclusions> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 78 | </dependency> |
| 79 | |
| 80 | <dependency> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 81 | <groupId>org.springframework.boot</groupId> |
| 82 | <artifactId>spring-boot-starter-test</artifactId> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 83 | </dependency> |
Lee, Tian (tl5884) | 3e50733 | 2019-01-04 17:27:11 +0000 | [diff] [blame] | 84 | |
| 85 | <dependency> |
| 86 | <groupId>com.google.code.gson</groupId> |
| 87 | <artifactId>gson</artifactId> |
| 88 | </dependency> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 89 | </dependencies> |
| 90 | |
| 91 | <build> |
| 92 | <finalName>fproxy</finalName> |
| 93 | <plugins> |
| 94 | <plugin> |
| 95 | <groupId>org.springframework.boot</groupId> |
| 96 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 97 | <version>${spring.boot.version}</version> |
| 98 | <executions> |
| 99 | <execution> |
| 100 | <goals> |
| 101 | <goal>repackage</goal> |
| 102 | </goals> |
| 103 | <configuration> |
| 104 | <classifier>exec</classifier> |
| 105 | </configuration> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
| 109 | <plugin> |
| 110 | <groupId>com.mycila</groupId> |
| 111 | <artifactId>license-maven-plugin</artifactId> |
| 112 | </plugin> |
| 113 | <plugin> |
| 114 | <groupId>org.apache.maven.plugins</groupId> |
| 115 | <artifactId>maven-surefire-plugin</artifactId> |
| 116 | <configuration> |
| 117 | <reuseForks>false</reuseForks> |
| 118 | <forkCount>1</forkCount> |
| 119 | </configuration> |
| 120 | </plugin> |
| 121 | <plugin> |
| 122 | <groupId>org.apache.maven.plugins</groupId> |
| 123 | <artifactId>maven-resources-plugin</artifactId> |
| 124 | <version>3.0.2</version> |
| 125 | <executions> |
| 126 | <execution> |
| 127 | <id>copy-docker-file</id> |
| 128 | <phase>package</phase> |
| 129 | <goals> |
| 130 | <goal>copy-resources</goal> |
| 131 | </goals> |
| 132 | <configuration> |
| 133 | <outputDirectory>target</outputDirectory> |
| 134 | <overwrite>true</overwrite> |
| 135 | <resources> |
| 136 | <resource> |
| 137 | <directory>${basedir}/src/main/docker</directory> |
| 138 | <filtering>true</filtering> |
| 139 | </resource> |
| 140 | <resource> |
| 141 | <directory>${basedir}/src/main/bin/</directory> |
| 142 | <filtering>true</filtering> |
| 143 | </resource> |
| 144 | </resources> |
| 145 | </configuration> |
| 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | <plugin> |
| 150 | <groupId>com.spotify</groupId> |
| 151 | <artifactId>docker-maven-plugin</artifactId> |
| 152 | <version>0.4.11</version> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 153 | <configuration> |
| 154 | <verbose>true</verbose> |
| 155 | <serverId>docker-hub</serverId> |
| 156 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
| 157 | <dockerDirectory>${docker.location}</dockerDirectory> |
| 158 | <imageTags> |
| 159 | <imageTag>latest</imageTag> |
| 160 | </imageTags> |
| 161 | <forceTags>true</forceTags> |
| 162 | </configuration> |
| 163 | </plugin> |
| 164 | <plugin> |
| 165 | <groupId>org.apache.maven.plugins</groupId> |
| 166 | <artifactId>maven-deploy-plugin</artifactId> |
Ravi Geda | 6c3031e | 2018-09-17 12:57:44 +0100 | [diff] [blame] | 167 | </plugin> |
| 168 | </plugins> |
| 169 | </build> |
| 170 | </project> |