Re-enable sidecar unit tests
[aaf/cadi.git] / sidecar / rproxy / 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.9-SNAPSHOT</version>
28         </parent>
29
30         <artifactId>rproxy</artifactId>
31         <packaging>jar</packaging>
32
33         <name>Sidecar rproxy</name>
34         <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description>
35
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>
48                                 <exclusion>
49                                         <groupId>org.springframework.boot</groupId>
50                                         <artifactId>spring-boot-starter-json</artifactId>
51                                 </exclusion>
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.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-test</artifactId>
68                         <scope>test</scope>
69                 </dependency>
70
71                 <dependency>
72                         <groupId>org.apache.httpcomponents</groupId>
73                         <artifactId>httpclient</artifactId>
74                 </dependency>
75
76                 <dependency>
77                     <groupId>org.aspectj</groupId>
78                     <artifactId>aspectjrt</artifactId>
79                 </dependency>
80
81                 <!-- Application Dependencies -->
82
83                 <dependency>
84                         <groupId>org.onap.aaf.cadi.sidecar</groupId>
85                         <artifactId>fproxy</artifactId>
86                 </dependency>
87
88                 <dependency>
89                         <groupId>com.google.code.gson</groupId>
90                         <artifactId>gson</artifactId>
91                 </dependency>
92
93                 <!-- CADI -->
94
95                 <dependency>
96                         <groupId>org.onap.aaf.authz</groupId>
97                         <artifactId>aaf-cadi-aaf</artifactId>
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>
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>