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> |
Instrumental | c701407 | 2018-11-07 11:21:03 -0600 | [diff] [blame^] | 27 | <version>2.1.7-SNAPSHOT</version> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 28 | </parent> |
| 29 | |
| 30 | <artifactId>rproxy</artifactId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 31 | <packaging>jar</packaging> |
| 32 | |
Instrumental | c701407 | 2018-11-07 11:21:03 -0600 | [diff] [blame^] | 33 | <name>Sidecar rproxy</name> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 34 | <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description> |
| 35 | |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 36 | <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) | 0d9b389 | 2018-10-01 16:24:47 +0100 | [diff] [blame] | 48 | <exclusion> |
| 49 | <groupId>org.springframework.boot</groupId> |
| 50 | <artifactId>spring-boot-starter-json</artifactId> |
| 51 | </exclusion> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 52 | </exclusions> |
| 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.apache.httpcomponents</groupId> |
| 62 | <artifactId>httpclient</artifactId> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>org.springframework.boot</groupId> |
| 67 | <artifactId>spring-boot-starter-aop</artifactId> |
| 68 | </dependency> |
| 69 | |
| 70 | <dependency> |
| 71 | <groupId>org.springframework.boot</groupId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 72 | <artifactId>spring-boot-starter-test</artifactId> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
| 75 | |
| 76 | <!-- Application Dependencies --> |
| 77 | |
| 78 | <dependency> |
| 79 | <groupId>org.onap.aaf.cadi.sidecar</groupId> |
| 80 | <artifactId>fproxy</artifactId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 81 | </dependency> |
| 82 | |
| 83 | <dependency> |
| 84 | <groupId>com.google.code.gson</groupId> |
| 85 | <artifactId>gson</artifactId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 86 | </dependency> |
| 87 | |
| 88 | <dependency> |
| 89 | <groupId>org.mockito</groupId> |
| 90 | <artifactId>mockito-core</artifactId> |
| 91 | </dependency> |
| 92 | |
| 93 | <!-- CADI --> |
| 94 | |
| 95 | <dependency> |
| 96 | <groupId>org.onap.aaf.authz</groupId> |
| 97 | <artifactId>aaf-cadi-aaf</artifactId> |
Lee, Tian (tl5884) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 98 | </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) | 0d7feec | 2018-09-20 12:27:40 +0100 | [diff] [blame] | 165 | <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> |