Merge "Annotate the "Data" interface with the @FunctionalInterface annotation"
[aaf/authz.git] / pom.xml
1 <!--* ============LICENSE_START==================================================== 
2     * =========================================================================== 
3     * org.onap.aaf 
4     * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. 
5     * =========================================================================== 
6     * Licensed under the Apache License, Version 2.0 (the "License"); 
7     * you may not use this file except in compliance with the License. 
8     * You may obtain a copy of the License at 
9     * 
10     * http://www.apache.org/licenses/LICENSE-2.0 
11     * 
12     * Unless required by applicable law or agreed to in writing, software 
13     * distributed under the License is distributed on an "AS IS" BASIS, 
14     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
15     * See the License for the specific language governing permissions and 
16     * limitations under the License. 
17     * ============LICENSE_END==================================================== 
18     * -->
19 <project xmlns="http://maven.apache.org/POM/4.0.0"
20     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     <groupId>org.onap.aaf.authz</groupId>
24     <artifactId>parent</artifactId>
25     <version>2.1.16-SNAPSHOT</version>
26     <name>aaf-authz</name>
27     <packaging>pom</packaging>
28
29     <parent>
30         <groupId>org.onap.oparent</groupId>
31         <artifactId>oparent</artifactId>
32         <version>2.1.0</version>
33     </parent>
34
35     <properties>
36         <nexusproxy>https://nexus.onap.org</nexusproxy>
37         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
42
43         <maven.test.failure.ignore>false</maven.test.failure.ignore>
44         <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
45             below -->
46         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47         <nexusproxy>https://nexus.onap.org</nexusproxy>
48         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49         <powermock.version>1.5.1</powermock.version>
50         <mockito.version>1.9.5</mockito.version>
51         <project.interfaceVersion>${project.version}</project.interfaceVersion>
52         <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
53         <project.cassVersion>3.6.0</project.cassVersion>
54
55     </properties>
56     <build>
57         <plugins>
58             <plugin>
59                 <groupId>org.apache.maven.plugins</groupId>
60                 <artifactId>maven-deploy-plugin</artifactId>
61                 <configuration>
62                     <skip>true</skip>
63                 </configuration>
64             </plugin>
65             <plugin>
66                 <groupId>org.sonarsource.scanner.maven</groupId>
67                 <artifactId>sonar-maven-plugin</artifactId>
68             </plugin>
69             <plugin>
70                 <groupId>org.jacoco</groupId>
71                 <artifactId>jacoco-maven-plugin</artifactId>
72                 <configuration>
73                     <excludes>
74                         <exclude>**/gen/**</exclude>
75                         <exclude>**/generated-sources/**</exclude>
76                         <exclude>**/yang-gen/**</exclude>
77                         <exclude>**/pax/**</exclude>
78                     </excludes>
79                 </configuration>
80                 <executions>
81                     <execution>
82                         <id>pre-unit-test</id>
83                         <goals>
84                             <goal>prepare-agent</goal>
85                         </goals>
86                         <configuration>
87                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
88                             <propertyName>surefireArgLine</propertyName>
89                         </configuration>
90                     </execution>
91                     <execution>
92                         <id>post-unit-test</id>
93                         <phase>test</phase>
94                         <goals>
95                             <goal>report</goal>
96                         </goals>
97                         <configuration>
98                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
99                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
100                         </configuration>
101                     </execution>
102                     <execution>
103                         <id>pre-integration-test</id>
104                         <phase>pre-integration-test</phase>
105                         <goals>
106                             <goal>prepare-agent</goal>
107                         </goals>
108                         <configuration>
109                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
110                             <propertyName>failsafeArgLine</propertyName>
111                         </configuration>
112                     </execution>
113                     <execution>
114                         <id>post-integration-test</id>
115                         <phase>post-integration-test</phase>
116                         <goals>
117                             <goal>report</goal>
118                         </goals>
119                         <configuration>
120                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
121                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
122                         </configuration>
123                     </execution>
124                 </executions>
125             </plugin>
126
127
128         </plugins>
129     </build>
130     <modules>
131         <module>auth-client</module>
132         <module>misc</module>
133         <module>cadi</module>
134         <module>auth</module>
135     </modules>
136
137     <dependencyManagement>
138         <dependencies>
139             <dependency>
140                 <groupId>org.onap.aaf.authz</groupId>
141                 <artifactId>aaf-misc-env</artifactId>
142                 <version>${project.version}</version>
143             </dependency>
144
145             <dependency>
146                 <groupId>org.onap.aaf.authz</groupId>
147                 <artifactId>aaf-misc-log4j</artifactId>
148                 <version>${project.version}</version>
149             </dependency>
150
151             <dependency>
152                 <groupId>org.onap.aaf.authz</groupId>
153                 <artifactId>aaf-misc-rosetta</artifactId>
154                 <version>${project.version}</version>
155             </dependency>
156
157             <dependency>
158                 <groupId>org.onap.aaf.authz</groupId>
159                 <artifactId>aaf-misc-xgen</artifactId>
160                 <version>${project.version}</version>
161             </dependency>
162
163             <dependency>
164                 <groupId>org.onap.aaf.authz</groupId>
165                 <artifactId>aaf-auth-client</artifactId>
166                 <version>${project.version}</version>
167             </dependency>
168
169             <dependency>
170                 <groupId>org.onap.aaf.authz</groupId>
171                 <artifactId>aaf-auth-core</artifactId>
172                 <version>${project.version}</version>
173             </dependency>
174
175             <dependency>
176                 <groupId>org.onap.aaf.authz</groupId>
177                 <artifactId>aaf-auth-cass</artifactId>
178                 <version>${project.version}</version>
179             </dependency>
180
181             <dependency>
182                 <groupId>org.onap.aaf.authz</groupId>
183                 <artifactId>aaf-auth-cmd</artifactId>
184                 <version>${project.version}</version>
185             </dependency>
186
187             <dependency>
188                 <groupId>org.onap.aaf.authz</groupId>
189                 <artifactId>aaf-auth-oauth</artifactId>
190                 <version>${project.version}</version>
191             </dependency>
192
193             <dependency>
194                 <groupId>org.onap.aaf.authz</groupId>
195                 <artifactId>aaf-auth-deforg</artifactId>
196                 <version>${project.version}</version>
197             </dependency>
198
199             <dependency>
200                 <groupId>org.onap.aaf.authz</groupId>
201                 <artifactId>aaf-cadi-core</artifactId>
202                 <version>${project.version}</version>
203             </dependency>
204
205             <dependency>
206                 <groupId>org.onap.aaf.authz</groupId>
207                 <artifactId>aaf-cadi-client</artifactId>
208                 <version>${project.version}</version>
209             </dependency>
210
211             <dependency>
212                 <groupId>org.onap.aaf.authz</groupId>
213                 <artifactId>aaf-cadi-aaf</artifactId>
214                 <version>${project.version}</version>
215                 <exclusions>
216                     <exclusion>
217                         <groupId>org.apache.cassandra</groupId>
218                         <artifactId>cassandra-all</artifactId>
219                     </exclusion>
220                 </exclusions>
221             </dependency>
222
223             <dependency>
224                 <groupId>org.onap.aaf.authz</groupId>
225                 <artifactId>aaf-cadi-jetty</artifactId>
226                 <version>${project.version}</version>
227             </dependency>
228
229             <dependency>
230                 <groupId>org.onap.aaf.authz</groupId>
231                 <artifactId>aaf-cadi-cass</artifactId>
232                 <version>${project.version}</version>
233             </dependency>
234             <dependency>
235                 <groupId>javax.servlet</groupId>
236                 <artifactId>javax.servlet-api</artifactId>
237                 <version>3.0.1</version>
238             </dependency>
239
240             <!-- JettyVersion is partly covered in "OParent" dependency> <groupId>org.eclipse.jetty</groupId> 
241                 <artifactId>jetty-servlet</artifactId> <version>${project.jettyVersion}</version> 
242                 </dependency><dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> 
243                 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> 
244                 <artifactId>jetty-http</artifactId> <version>${project.jettyVersion}</version> 
245                 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId> 
246                 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> 
247                 <artifactId>jetty-security</artifactId> <version>${project.jettyVersion}</version> 
248                 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> 
249                 <version>${project.jettyVersion}</version> </dependency> -->
250
251             <dependency>
252                 <groupId>org.slf4j</groupId>
253                 <artifactId>slf4j-api</artifactId>
254                 <version>1.7.5</version>
255             </dependency>
256
257             <dependency>
258                 <groupId>com.datastax.cassandra</groupId>
259                 <artifactId>cassandra-all</artifactId>
260                 <version>${project.cassVersion}</version>
261                 <exclusions>
262                     <exclusion>
263                         <groupId>org.slf4j</groupId>
264                         <artifactId>slf4j-log4j12</artifactId>
265                     </exclusion>
266                     <exclusion>
267                         <groupId>log4j</groupId>
268                         <artifactId>log4j</artifactId>
269                     </exclusion>
270                 </exclusions>
271             </dependency>
272
273             <dependency>
274                 <groupId>com.datastax.cassandra</groupId>
275                 <artifactId>cassandra-driver-core</artifactId>
276                 <version>${project.cassVersion}</version>
277                 <exclusions>
278                     <exclusion>
279                         <groupId>org.slf4j</groupId>
280                         <artifactId>slf4j-log4j12</artifactId>
281                     </exclusion>
282                     <exclusion>
283                         <groupId>log4j</groupId>
284                         <artifactId>log4j</artifactId>
285                     </exclusion>
286                     <exclusion>
287                         <groupId>com.google.guava</groupId>
288                         <artifactId>guava</artifactId>
289                     </exclusion>
290                 </exclusions>
291             </dependency>
292             <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
293             <dependency>
294                 <groupId>io.netty</groupId>
295                 <artifactId>netty-handler</artifactId>
296                 <version>${project.nettyVersion}</version>
297             </dependency>
298
299             <dependency>
300                 <groupId>org.slf4j</groupId>
301                 <artifactId>slf4j-log4j12</artifactId>
302                 <version>1.7.5</version>
303             </dependency>
304
305             <dependency>
306                 <groupId>javax.mail</groupId>
307                 <artifactId>mail</artifactId>
308                 <version>1.4.7</version>
309             </dependency>
310
311             <dependency>
312                 <groupId>org.mockito</groupId>
313                 <artifactId>mockito-all</artifactId>
314                 <version>${mockito.version}</version>
315                 <scope>test</scope>
316             </dependency>
317
318             <dependency>
319                 <groupId>org.powermock</groupId>
320                 <artifactId>powermock-module-junit4</artifactId>
321                 <version>${powermock.version}</version>
322                 <scope>test</scope>
323             </dependency>
324
325             <dependency>
326                 <groupId>org.powermock</groupId>
327                 <artifactId>powermock-api-mockito</artifactId>
328                 <version>${powermock.version}</version>
329                 <scope>test</scope>
330             </dependency>
331
332             <dependency>
333                 <groupId>log4j</groupId>
334                 <artifactId>log4j</artifactId>
335                 <version>1.2.17</version>
336             </dependency>
337
338             <dependency>
339                 <groupId>junit</groupId>
340                 <artifactId>junit</artifactId>
341                 <version>4.10</version>
342                 <scope>test</scope>
343             </dependency>
344
345         </dependencies>
346     </dependencyManagement>
347
348     <distributionManagement>
349         <repository>
350             <id>ecomp-releases</id>
351             <name>AAF Release Repository</name>
352             <url>${nexusproxy}${releaseNexusPath}</url>
353         </repository>
354         <snapshotRepository>
355             <id>ecomp-snapshots</id>
356             <name>AAF Snapshot Repository</name>
357             <url>${nexusproxy}${snapshotNexusPath}</url>
358         </snapshotRepository>
359         <site>
360             <id>ecomp-site</id>
361             <url>dav:${nexusproxy}${sitePath}</url>
362         </site>
363     </distributionManagement>
364
365     <profiles>
366         <profile>
367             <id>build-docker</id>
368             <build>
369                 <plugins>
370                     <plugin>
371                         <groupId>org.codehaus.mojo</groupId>
372                         <artifactId>exec-maven-plugin</artifactId>
373                         <version>1.6.0</version>
374                         <executions>
375                             <execution>
376                                 <id>Docker Build</id>
377                                 <goals>
378                                     <goal>exec</goal>
379                                 </goals>
380                             </execution>
381                         </executions>
382                         <configuration>
383                             <skip>true</skip>
384                             <executable>bash</executable>
385                             <commandlineArgs>echo "No Docker Here"</commandlineArgs>
386                         </configuration>
387                     </plugin>
388                     <plugin>
389                             <groupId>org.sonarsource.scanner.maven</groupId>
390                             <artifactId>sonar-maven-plugin</artifactId>
391                             <configuration>
392                                 <skip>true</skip>
393                             </configuration>
394                     </plugin>
395                 </plugins>
396             </build>
397
398             <modules>
399                 <module>auth-client</module>
400                 <module>misc</module>
401                 <module>cadi</module>
402                 <module>auth</module>
403                 <module>auth/docker</module>
404             </modules>
405         </profile>
406     </profiles>
407 </project>