Fix/Renable sidecar builds
[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 * * http://www.apache.org/licenses/LICENSE-2.0 
10         * 
11         * Unless required by applicable law or agreed to in writing, software 
12         * distributed under the License is distributed on an "AS IS" BASIS, 
13         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
14         * See the License for the specific language governing permissions and 
15         * limitations under the License. 
16         * ============LICENSE_END==================================================== 
17         * -->
18 <project xmlns="http://maven.apache.org/POM/4.0.0"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20         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                 <sonar.skip>true</sonar.skip>
37                 <jacoco.version>0.7.7.201606060606</jacoco.version>
38                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
39                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
40                 <!-- Default Sonar configuration -->
41                 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
42                 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
43                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
44                         below -->
45                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46                 <nexusproxy>https://nexus.onap.org</nexusproxy>
47                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
51
52                 <java.version>1.8</java.version>
53                 <!-- Spring boot version 
54                   Must match oParent
55                 -->
56                 <spring.boot.version>2.0.3.RELEASE</spring.boot.version>
57                 <spring.web.version>3.0.4.RELEASE</spring.web.version>
58                 <docker.location>${basedir}/target</docker.location>
59                 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
60                 
61         </properties>
62
63         <dependencyManagement>
64                 <dependencies>
65                         <dependency>
66                                 <groupId>org.onap.aaf.cadi.sidecar</groupId>
67                                 <artifactId>fproxy</artifactId>
68                                 <version>${project.version}</version>
69                         </dependency>
70                         <dependency>
71                                 <groupId>org.onap.aaf.cadi.sidecar</groupId>
72                                 <artifactId>rproxy</artifactId>
73                                 <version>${project.version}</version>
74                         </dependency>
75                         <dependency>
76                                 <groupId>javax.servlet</groupId>
77                                 <artifactId>javax.servlet-api</artifactId>
78                                 <version>3.1.0</version>
79                         </dependency>
80                         
81                         <dependency>
82                             <groupId>org.aspectj</groupId>
83                             <artifactId>aspectjrt</artifactId>
84                             <version>1.9.2</version>
85                         </dependency>
86                         
87                         <dependency>
88                                 <groupId>com.google.code.gson</groupId>
89                                 <artifactId>gson</artifactId>
90                                 <version>2.8.5</version>
91                         </dependency>
92                         
93                         <dependency>
94                                 <groupId>org.apache.commons</groupId>
95                                 <artifactId>commons-lang3</artifactId>
96                                 <version>3.8.1</version>
97                         </dependency>
98                         
99                         <dependency>
100                                 <groupId>org.springframework.boot</groupId>
101                                 <artifactId>spring-boot-starter-jetty</artifactId>
102                                 <version>${spring.boot.version}</version>
103                         </dependency>
104         
105                         <dependency>
106                                 <groupId>org.springframework.boot</groupId>
107                                 <artifactId>spring-boot-starter-aop</artifactId>
108                                 <version>${spring.boot.version}</version>
109                         </dependency>
110
111                         <dependency>
112                                 <groupId>org.springframework.boot</groupId>
113                                 <artifactId>spring-boot-starter-web</artifactId>
114                                 <version>${spring.boot.version}</version>
115                         </dependency>
116         
117                         <dependency>
118                                 <groupId>org.springframework.boot</groupId>
119                                 <artifactId>spring-boot-starter-test</artifactId>
120                                 <version>${spring.boot.version}</version>
121                         </dependency>
122                         
123                 </dependencies>
124         </dependencyManagement>
125
126         <!-- ============================================================== -->
127         <!-- Define sub-projects (modules) -->
128         <!-- ============================================================== -->
129         <modules>
130                 <module>fproxy</module>
131                 <module>rproxy</module>
132                 <module>tproxy-config</module>
133         </modules>
134
135         <build>
136                 <pluginManagement>
137                         <plugins>
138                                 <plugin>
139                                         <groupId>com.mycila</groupId>
140                                         <artifactId>license-maven-plugin</artifactId>
141                                         <version>3.0</version>
142                                         <configuration>
143                                                 <header>License.txt</header>
144                                                 <includes>
145                                                         <include>src/main/java/**</include>
146                                                         <include>src/test/java/**</include>
147                                                         <include>pom.xml</include>
148                                                 </includes>
149                                                 <skipExistingHeaders>true</skipExistingHeaders>
150                                         </configuration>
151                                         <executions>
152                                                 <execution>
153                                                         <goals>
154                                                                 <!-- Set goal from "check" to "format" to auto update license headers -->
155                                                                 <goal>check</goal>
156                                                         </goals>
157                                                         <phase>validate</phase>
158                                                 </execution>
159                                         </executions>
160                                 </plugin>
161                         </plugins>
162                 </pluginManagement>
163         </build>
164 </project>