Re-enable sidecar unit tests
[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.9-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>false</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.5.RELEASE</spring.boot.version>
57                 <spring.web.version>3.0.4.RELEASE</spring.web.version>
58
59                 <docker.location>${basedir}/target</docker.location>
60                 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
61                 
62         </properties>
63
64         <dependencyManagement>
65                 <dependencies>
66                         <dependency>
67                                 <groupId>org.onap.aaf.cadi.sidecar</groupId>
68                                 <artifactId>fproxy</artifactId>
69                                 <version>${project.version}</version>
70                         </dependency>
71                         <dependency>
72                                 <groupId>org.onap.aaf.cadi.sidecar</groupId>
73                                 <artifactId>rproxy</artifactId>
74                                 <version>${project.version}</version>
75                         </dependency>
76                         <dependency>
77                                 <groupId>javax.servlet</groupId>
78                                 <artifactId>javax.servlet-api</artifactId>
79                                 <version>3.1.0</version>
80                         </dependency>
81                         
82                         <dependency>
83                             <groupId>org.aspectj</groupId>
84                             <artifactId>aspectjrt</artifactId>
85                             <version>1.9.2</version>
86                         </dependency>
87                         
88                         <dependency>
89                                 <groupId>com.google.code.gson</groupId>
90                                 <artifactId>gson</artifactId>
91                                 <version>2.8.5</version>
92                         </dependency>
93                         
94                         <dependency>
95                                 <groupId>org.apache.commons</groupId>
96                                 <artifactId>commons-lang3</artifactId>
97                                 <version>3.8.1</version>
98                         </dependency>
99                         
100                         <dependency>
101                                 <groupId>org.springframework.boot</groupId>
102                                 <artifactId>spring-boot-starter-jetty</artifactId>
103                                 <version>${spring.boot.version}</version>
104                         </dependency>
105         
106                         <dependency>
107                                 <groupId>org.springframework.boot</groupId>
108                                 <artifactId>spring-boot-starter-aop</artifactId>
109                                 <version>${spring.boot.version}</version>
110                         </dependency>
111
112                         <dependency>
113                                 <groupId>org.springframework.boot</groupId>
114                                 <artifactId>spring-boot-starter-web</artifactId>
115                                 <version>${spring.boot.version}</version>
116                         </dependency>
117         
118                         <dependency>
119                                 <groupId>org.springframework.boot</groupId>
120                                 <artifactId>spring-boot-starter-test</artifactId>
121                                 <version>${spring.boot.version}</version>
122                         </dependency>
123         
124                 </dependencies>
125         </dependencyManagement>
126
127         <!-- ============================================================== -->
128         <!-- Define sub-projects (modules) -->
129         <!-- ============================================================== -->
130         <modules>
131                 <module>fproxy</module>
132                 <module>rproxy</module>
133                 <module>tproxy-config</module>
134         </modules>
135
136         <build>
137                 <pluginManagement>
138                         <plugins>
139                 
140                                 <plugin>
141                                         <artifactId>maven-surefire-plugin</artifactId>
142                                         <version>2.17</version>
143                                         <configuration>
144                                                 <!-- Suppresses parent pom config of Surefire plugin. Has the affect of 
145                                                      setting Surefire file includes back to default and re-enables sidecar
146                                                      unit tests --> 
147                                                 <includes combine.self="override"></includes>
148                                         </configuration>
149                                 </plugin>                       
150                         
151                                 <plugin>
152                                         <groupId>com.mycila</groupId>
153                                         <artifactId>license-maven-plugin</artifactId>
154                                         <version>3.0</version>
155                                         <configuration>
156                                                 <header>License.txt</header>
157                                                 <includes>
158                                                         <include>src/main/java/**</include>
159                                                         <include>src/test/java/**</include>
160                                                         <include>pom.xml</include>
161                                                 </includes>
162                                                 <skipExistingHeaders>true</skipExistingHeaders>
163                                         </configuration>
164                                         <executions>
165                                                 <execution>
166                                                         <goals>
167                                                                 <!-- Set goal from "check" to "format" to auto update license headers -->
168                                                                 <goal>check</goal>
169                                                         </goals>
170                                                         <phase>validate</phase>
171                                                 </execution>
172                                         </executions>
173                                 </plugin>
174                         </plugins>
175                 </pluginManagement>
176         </build>
177 </project>