def9f20e26e64d9a2a1502a15f0f9c1ba50bf565
[aaf/cadi.git] / sidecar / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21         <parent>
22                 <groupId>org.onap.aaf.cadi</groupId>
23                 <artifactId>parent</artifactId>
24                 <version>2.1.7-SNAPSHOT</version>
25                 <relativePath>..</relativePath>
26         </parent>
27         <modelVersion>4.0.0</modelVersion>
28         <groupId>org.onap.aaf.cadi.sidecar</groupId>
29         <artifactId>sidecar</artifactId>
30         <name>Sidecar Parent</name>
31         <packaging>pom</packaging>
32
33         <properties>
34                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36                 <java.version>1.8</java.version>
37                 <spring.boot.version>2.0.3.RELEASE</spring.boot.version>
38                 <docker.location>${basedir}/target</docker.location>
39                 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
40         </properties>
41
42
43         <dependencyManagement>
44                 <dependencies>
45                     <dependency>
46                         <groupId>org.onap.aaf.cadi.sidecar</groupId>
47                         <artifactId>fproxy</artifactId>
48                         <version>${project.version}</version>
49                     </dependency>
50                     <dependency>
51                         <groupId>org.onap.aaf.cadi.sidecar</groupId>
52                         <artifactId>rproxy</artifactId>
53                         <version>${project.version}</version>
54                     </dependency>
55
56                         <dependency>
57                                 <!-- Import dependency management from Spring Boot -->
58                                 <groupId>org.springframework.boot</groupId>
59                                 <artifactId>spring-boot-dependencies</artifactId>
60                                 <version>${spring.boot.version}</version>
61                                 <type>pom</type>
62                                 <scope>import</scope>
63                         </dependency>
64                 </dependencies>
65         </dependencyManagement>
66
67                 <!-- ============================================================== -->
68         <!-- Define sub-projects (modules) -->
69         <!-- ============================================================== -->
70         <modules>
71                 <module>fproxy</module>
72                 <module>rproxy</module>
73                 <module>tproxy-config</module>
74         </modules>
75
76         <build>
77            <plugins>
78               <!-- Sidecare only works on Java 1.8 and above -->
79               <plugin>
80                  <inherited>true</inherited>
81                  <groupId>org.apache.maven.plugins</groupId>
82                  <artifactId>maven-compiler-plugin</artifactId>
83                 <version>2.3.2</version>
84                 <configuration>
85                         <source>${java.version}</source>
86                         <target>${java.version}</target>
87                 </configuration>
88              </plugin>
89             </plugins>
90                 <pluginManagement>
91                         <plugins>
92                                 <plugin>
93                                         <groupId>com.mycila</groupId>
94                                         <artifactId>license-maven-plugin</artifactId>
95                                         <version>3.0</version>
96                                         <configuration>
97                                                 <header>License.txt</header>
98                                                 <includes>
99                                                         <include>src/main/java/**</include>
100                                                         <include>src/test/java/**</include>
101                                                         <include>pom.xml</include>
102                                                 </includes>
103                                                 <skipExistingHeaders>true</skipExistingHeaders>
104                                         </configuration>
105                                         <executions>
106                                                 <execution>
107                                                         <goals>
108                                                                 <!-- Set goal from "check" to "format" to auto update license headers -->
109                                                                 <goal>check</goal>
110                                                         </goals>
111                                                         <phase>validate</phase>
112                                                 </execution>
113                                         </executions>
114                                 </plugin>
115                         </plugins>              
116                 </pluginManagement>
117         </build>
118 </project>