Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Sai Gandham | 2512910 | 2018-11-06 11:29:31 -0600 | [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==================================================== |
| 19 | * --> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +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 | |
| 24 | <parent> |
Ravi Geda | 1931e66 | 2018-09-25 21:54:30 +0100 | [diff] [blame] | 25 | <groupId>org.onap.aaf.cadi.sidecar</groupId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 26 | <artifactId>sidecar</artifactId> |
Sai Gandham | a14cb89 | 2018-10-07 19:05:09 -0500 | [diff] [blame] | 27 | <version>2.1.2-SNAPSHOT</version> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 28 | </parent> |
| 29 | |
| 30 | <artifactId>rproxy</artifactId> |
Sai Gandham | a14cb89 | 2018-10-07 19:05:09 -0500 | [diff] [blame] | 31 | <version>2.1.2-SNAPSHOT</version> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 32 | <packaging>jar</packaging> |
| 33 | |
| 34 | <name>aaf-rproxy</name> |
| 35 | <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description> |
| 36 | |
| 37 | <properties> |
| 38 | <spring.boot.version>2.0.3.RELEASE</spring.boot.version> |
| 39 | <docker.location>${basedir}/target</docker.location> |
Sai Gandham | a14cb89 | 2018-10-07 19:05:09 -0500 | [diff] [blame] | 40 | <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> --> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 41 | </properties> |
| 42 | |
| 43 | <dependencyManagement> |
| 44 | <dependencies> |
| 45 | <dependency> |
| 46 | <!-- Import dependency management from Spring Boot --> |
| 47 | <groupId>org.springframework.boot</groupId> |
| 48 | <artifactId>spring-boot-dependencies</artifactId> |
| 49 | <version>${spring.boot.version}</version> |
| 50 | <type>pom</type> |
| 51 | <scope>import</scope> |
| 52 | </dependency> |
| 53 | </dependencies> |
| 54 | </dependencyManagement> |
| 55 | |
| 56 | <dependencies> |
| 57 | |
| 58 | <!-- Spring Boot Dependencies --> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>org.springframework.boot</groupId> |
| 62 | <artifactId>spring-boot-starter-web</artifactId> |
| 63 | <exclusions> |
| 64 | <exclusion> |
| 65 | <groupId>org.springframework.boot</groupId> |
| 66 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 67 | </exclusion> |
Lee, Tian (tl5884) | 0d9b389 | 2018-10-01 16:24:47 +0100 | [diff] [blame] | 68 | <exclusion> |
| 69 | <groupId>org.springframework.boot</groupId> |
| 70 | <artifactId>spring-boot-starter-json</artifactId> |
| 71 | </exclusion> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 72 | </exclusions> |
| 73 | </dependency> |
| 74 | |
| 75 | <dependency> |
| 76 | <groupId>org.springframework.boot</groupId> |
| 77 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 78 | </dependency> |
| 79 | |
| 80 | <dependency> |
| 81 | <groupId>org.apache.httpcomponents</groupId> |
| 82 | <artifactId>httpclient</artifactId> |
| 83 | </dependency> |
| 84 | |
| 85 | <dependency> |
| 86 | <groupId>org.springframework.boot</groupId> |
| 87 | <artifactId>spring-boot-starter-aop</artifactId> |
| 88 | </dependency> |
| 89 | |
| 90 | <dependency> |
| 91 | <groupId>org.springframework.boot</groupId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 92 | <artifactId>spring-boot-starter-test</artifactId> |
| 93 | <scope>test</scope> |
| 94 | </dependency> |
| 95 | |
| 96 | <!-- Application Dependencies --> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>org.onap.aaf.cadi.sidecar</groupId> |
| 100 | <artifactId>fproxy</artifactId> |
Sai Gandham | a14cb89 | 2018-10-07 19:05:09 -0500 | [diff] [blame] | 101 | <version>2.1.2-SNAPSHOT</version> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>com.google.code.gson</groupId> |
| 106 | <artifactId>gson</artifactId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 107 | </dependency> |
| 108 | |
| 109 | <dependency> |
| 110 | <groupId>org.mockito</groupId> |
| 111 | <artifactId>mockito-core</artifactId> |
| 112 | </dependency> |
| 113 | |
| 114 | <!-- CADI --> |
| 115 | |
| 116 | <dependency> |
| 117 | <groupId>org.onap.aaf.authz</groupId> |
| 118 | <artifactId>aaf-cadi-aaf</artifactId> |
Sai Gandham | bf541d5 | 2018-10-19 10:15:45 -0500 | [diff] [blame] | 119 | <version>2.1.2</version> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 120 | </dependency> |
| 121 | |
| 122 | </dependencies> |
| 123 | |
| 124 | <build> |
| 125 | <finalName>rproxy</finalName> |
| 126 | <plugins> |
| 127 | <plugin> |
| 128 | <groupId>org.springframework.boot</groupId> |
| 129 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 130 | <version>${spring.boot.version}</version> |
| 131 | <executions> |
| 132 | <execution> |
| 133 | <goals> |
| 134 | <goal>repackage</goal> |
| 135 | </goals> |
| 136 | <configuration> |
| 137 | <classifier>exec</classifier> |
| 138 | </configuration> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | |
| 143 | <plugin> |
| 144 | <groupId>com.mycila</groupId> |
| 145 | <artifactId>license-maven-plugin</artifactId> |
| 146 | </plugin> |
| 147 | <plugin> |
| 148 | <groupId>org.apache.maven.plugins</groupId> |
| 149 | <artifactId>maven-surefire-plugin</artifactId> |
| 150 | <configuration> |
| 151 | <reuseForks>false</reuseForks> |
| 152 | <forkCount>1</forkCount> |
| 153 | </configuration> |
| 154 | </plugin> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-resources-plugin</artifactId> |
| 158 | <version>3.0.2</version> |
| 159 | <executions> |
| 160 | <execution> |
| 161 | <id>copy-docker-file</id> |
| 162 | <phase>package</phase> |
| 163 | <goals> |
| 164 | <goal>copy-resources</goal> |
| 165 | </goals> |
| 166 | <configuration> |
| 167 | <outputDirectory>target</outputDirectory> |
| 168 | <overwrite>true</overwrite> |
| 169 | <resources> |
| 170 | <resource> |
| 171 | <directory>${basedir}/src/main/docker</directory> |
| 172 | <filtering>true</filtering> |
| 173 | </resource> |
| 174 | <resource> |
| 175 | <directory>${basedir}/src/main/bin/</directory> |
| 176 | <filtering>true</filtering> |
| 177 | </resource> |
| 178 | </resources> |
| 179 | </configuration> |
| 180 | </execution> |
| 181 | </executions> |
| 182 | </plugin> |
| 183 | <plugin> |
| 184 | <groupId>com.spotify</groupId> |
| 185 | <artifactId>docker-maven-plugin</artifactId> |
| 186 | <version>0.4.11</version> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 187 | <configuration> |
| 188 | <verbose>true</verbose> |
| 189 | <serverId>docker-hub</serverId> |
| 190 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
| 191 | <dockerDirectory>${docker.location}</dockerDirectory> |
| 192 | <imageTags> |
| 193 | <imageTag>latest</imageTag> |
| 194 | </imageTags> |
| 195 | <forceTags>true</forceTags> |
| 196 | </configuration> |
| 197 | </plugin> |
| 198 | <plugin> |
| 199 | <groupId>org.apache.maven.plugins</groupId> |
| 200 | <artifactId>maven-deploy-plugin</artifactId> |
| 201 | <configuration> |
| 202 | <skip>true</skip> |
| 203 | </configuration> |
| 204 | </plugin> |
| 205 | </plugins> |
| 206 | </build> |
| 207 | </project> |