Changed to unmaintained
[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.19-SNAPSHOT</version>
28         </parent>
29
30         <properties>
31                 <fproxy.build.dir>${project.build.directory}/${project.artifactId}-build/</fproxy.build.dir>
32         </properties>
33
34         <artifactId>rproxy</artifactId>
35         <packaging>jar</packaging>
36
37         <name>Sidecar rproxy</name>
38         <description>ONAP AAF Reverse Proxy Microservice For Pluggable Security</description>
39
40         <dependencies>
41
42                 <!-- Spring Boot Dependencies -->
43
44                 <dependency>
45                         <groupId>org.springframework.boot</groupId>
46                         <artifactId>spring-boot-starter-web</artifactId>
47                         <exclusions>
48                                 <exclusion>
49                                         <groupId>org.springframework.boot</groupId>
50                                         <artifactId>spring-boot-starter-tomcat</artifactId>
51                                 </exclusion>
52                                 <exclusion>
53                                         <groupId>org.springframework.boot</groupId>
54                                         <artifactId>spring-boot-starter-json</artifactId>
55                                 </exclusion>
56                         </exclusions>
57                 </dependency>
58
59                 <dependency>
60                         <groupId>org.springframework.boot</groupId>
61                         <artifactId>spring-boot-starter-jetty</artifactId>
62                 </dependency>
63
64                 <dependency>
65                         <groupId>org.springframework.boot</groupId>
66                         <artifactId>spring-boot-starter-aop</artifactId>
67                 </dependency>
68
69                 <dependency>
70                         <groupId>org.springframework.boot</groupId>
71                         <artifactId>spring-boot-starter-test</artifactId>
72                         <scope>test</scope>
73                 </dependency>
74
75                 <dependency>
76                         <groupId>org.apache.httpcomponents</groupId>
77                         <artifactId>httpclient</artifactId>
78                 </dependency>
79
80                 <dependency>
81                     <groupId>org.aspectj</groupId>
82                     <artifactId>aspectjrt</artifactId>
83                 </dependency>
84
85                 <!-- Application Dependencies -->
86
87                 <dependency>
88                         <groupId>org.onap.aaf.cadi.sidecar</groupId>
89                         <artifactId>fproxy</artifactId>
90                 </dependency>
91
92                 <dependency>
93                         <groupId>com.google.code.gson</groupId>
94                         <artifactId>gson</artifactId>
95                 </dependency>
96
97                 <!-- CADI -->
98
99                 <dependency>
100                         <groupId>org.onap.aaf.authz</groupId>
101                         <artifactId>aaf-cadi-aaf</artifactId>
102                 </dependency>
103
104         </dependencies>
105
106         <build>
107                 <finalName>rproxy</finalName>
108                 <plugins>
109                         <plugin>
110                                 <groupId>org.springframework.boot</groupId>
111                                 <artifactId>spring-boot-maven-plugin</artifactId>
112                                 <version>${spring.boot.version}</version>
113                                 <executions>
114                                         <execution>
115                                                 <goals>
116                                                         <goal>repackage</goal>
117                                                 </goals>
118                                                 <configuration>
119                                                         <classifier>exec</classifier>
120                                                 </configuration>
121                                         </execution>
122                                 </executions>
123                         </plugin>
124
125                         <plugin>
126                                 <groupId>com.mycila</groupId>
127                                 <artifactId>license-maven-plugin</artifactId>
128                         </plugin>
129                         <plugin>
130                                 <groupId>org.apache.maven.plugins</groupId>
131                                 <artifactId>maven-surefire-plugin</artifactId>
132                                 <configuration>
133                                         <reuseForks>false</reuseForks>
134                                         <forkCount>1</forkCount>
135                                         <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
136                                 </configuration>
137                         </plugin>
138                         <plugin>
139                                 <artifactId>maven-assembly-plugin</artifactId>
140                                 <configuration>
141                                         <descriptors>
142                                                 <descriptor>src/main/assembly/descriptor.xml</descriptor>
143                                         </descriptors>
144                                 </configuration>
145                                 <executions>
146                                         <execution>
147                                                 <id>make-assembly</id>
148                                                 <phase>package</phase>
149                                                 <goals>
150                                                         <goal>single</goal>
151                                                 </goals>
152                                         </execution>
153                                 </executions>
154                         </plugin>
155                         <!--<plugin>
156                                 <groupId>io.fabric8</groupId>
157                                 <artifactId>docker-maven-plugin</artifactId>
158                                 <version>0.28.0</version>
159                                 <configuration>
160                                         <verbose>true</verbose>
161                                         <apiVersion>${docker.apiVersion}</apiVersion>
162                                         <pullRegistry>${docker.pull.registry}</pullRegistry>
163                                         <pushRegistry>${docker.push.registry}</pushRegistry>
164                                         <serverId>docker-hub</serverId>
165                                         <dockerDirectory>${docker.location}</dockerDirectory>
166                                         <imageTags>
167                                                 <imageTag>latest</imageTag>
168                                         </imageTags>
169                                         <forceTags>true</forceTags>
170                                         <images>
171                                                 <image>
172                                                         <name>${docker.push.registry}/onap/${project.artifactId}</name>
173                                                         <build>
174                                                                 <cleanup>try</cleanup>
175                                                                 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
176                                                                 <tags>
177                                                                         <tag>latest</tag>
178                                                                 </tags>
179                                                                 <assembly>
180                                                                         <inline>
181                                                                                 <fileSets>
182                                                                                         <fileSet>
183                                                                                                 <directory>${fproxy.build.dir}</directory>
184                                                                                                 <outputDirectory>/${project.artifactId}</outputDirectory>
185                                                                                         </fileSet>
186                                                                                 </fileSets>
187                                                                         </inline>
188                                                                 </assembly>
189                                                         </build>
190                                                 </image>
191                                         </images>
192                                 </configuration>
193                                 <executions>
194                                         <execution>
195                                                 <id>generate-images</id>
196                                                 <phase>install</phase>
197                                         </execution>
198                                         <execution>
199                                                 <id>push-images</id>
200                                                 <phase>deploy</phase>
201                                                 <goals>
202                                                         <goal>push</goal>
203                                                 </goals>
204                                         </execution>
205                                 </executions>
206                         </plugin>
207                         <plugin>
208                                 <groupId>org.apache.maven.plugins</groupId>
209                                 <artifactId>maven-deploy-plugin</artifactId>
210                                 <configuration>
211                                         <skip>true</skip>
212                                 </configuration>
213                         </plugin> -->
214                 </plugins>
215         </build>
216 </project>