Merge "ADDING Functional interface"
[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.17-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         <!-- Official Released Version
33         <version>2.1.0</version>
34
35         Frankfurt working Version
36     -->
37         <version>3.0.0-SNAPSHOT</version>
38     </parent>
39
40     <properties>
41         <nexusproxy>https://nexus.onap.org</nexusproxy>
42         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
43         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
46         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
47
48         <maven.test.failure.ignore>false</maven.test.failure.ignore>
49         <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
50             below -->
51         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52         <nexusproxy>https://nexus.onap.org</nexusproxy>
53         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54         <powermock.version>1.5.1</powermock.version>
55         <mockito.version>1.9.5</mockito.version>
56         <project.interfaceVersion>${project.version}</project.interfaceVersion>
57         <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
58         <project.cassVersion>3.6.0</project.cassVersion>
59         <project.jaxbVersion>2.3.1</project.jaxbVersion>
60         <project.glassfishJaxbVersion>3.0-b71</project.glassfishJaxbVersion>
61     </properties>
62     <build>
63         <plugins>
64             <plugin>
65                 <groupId>org.apache.maven.plugins</groupId>
66                 <artifactId>maven-deploy-plugin</artifactId>
67                 <configuration>
68                     <skip>true</skip>
69                 </configuration>
70             </plugin>
71             <plugin>
72                 <groupId>org.sonarsource.scanner.maven</groupId>
73                 <artifactId>sonar-maven-plugin</artifactId>
74             </plugin>
75             <plugin>
76                 <groupId>org.jacoco</groupId>
77                 <artifactId>jacoco-maven-plugin</artifactId>
78                 <configuration>
79                     <excludes>
80                         <exclude>**/gen/**</exclude>
81                         <exclude>**/generated-sources/**</exclude>
82                         <exclude>**/yang-gen/**</exclude>
83                         <exclude>**/pax/**</exclude>
84                     </excludes>
85                 </configuration>
86                 <executions>
87                     <execution>
88                         <id>pre-unit-test</id>
89                         <goals>
90                             <goal>prepare-agent</goal>
91                         </goals>
92                         <configuration>
93                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
94                             <propertyName>surefireArgLine</propertyName>
95                         </configuration>
96                     </execution>
97                     <execution>
98                         <id>post-unit-test</id>
99                         <phase>test</phase>
100                         <goals>
101                             <goal>report</goal>
102                         </goals>
103                         <configuration>
104                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
105                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
106                         </configuration>
107                     </execution>
108                     <execution>
109                         <id>pre-integration-test</id>
110                         <phase>pre-integration-test</phase>
111                         <goals>
112                             <goal>prepare-agent</goal>
113                         </goals>
114                         <configuration>
115                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
116                             <propertyName>failsafeArgLine</propertyName>
117                         </configuration>
118                     </execution>
119                     <execution>
120                         <id>post-integration-test</id>
121                         <phase>post-integration-test</phase>
122                         <goals>
123                             <goal>report</goal>
124                         </goals>
125                         <configuration>
126                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
127                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
128                         </configuration>
129                     </execution>
130                 </executions>
131             </plugin>
132
133
134         </plugins>
135     </build>
136     <modules>
137         <module>auth-client</module>
138         <module>misc</module>
139         <module>cadi</module>
140         <module>auth</module>
141     </modules>
142
143     <dependencyManagement>
144         <dependencies>
145             <dependency>
146                 <groupId>org.onap.aaf.authz</groupId>
147                 <artifactId>aaf-misc-env</artifactId>
148                 <version>${project.version}</version>
149             </dependency>
150
151             <dependency>
152                 <groupId>org.onap.aaf.authz</groupId>
153                 <artifactId>aaf-misc-log4j</artifactId>
154                 <version>${project.version}</version>
155             </dependency>
156
157             <dependency>
158                 <groupId>org.onap.aaf.authz</groupId>
159                 <artifactId>aaf-misc-rosetta</artifactId>
160                 <version>${project.version}</version>
161             </dependency>
162
163             <dependency>
164                 <groupId>org.onap.aaf.authz</groupId>
165                 <artifactId>aaf-misc-xgen</artifactId>
166                 <version>${project.version}</version>
167             </dependency>
168
169             <dependency>
170                 <groupId>org.onap.aaf.authz</groupId>
171                 <artifactId>aaf-auth-client</artifactId>
172                 <version>${project.version}</version>
173             </dependency>
174
175             <dependency>
176                 <groupId>org.onap.aaf.authz</groupId>
177                 <artifactId>aaf-auth-core</artifactId>
178                 <version>${project.version}</version>
179             </dependency>
180
181             <dependency>
182                 <groupId>org.onap.aaf.authz</groupId>
183                 <artifactId>aaf-auth-cass</artifactId>
184                 <version>${project.version}</version>
185             </dependency>
186
187             <dependency>
188                 <groupId>org.onap.aaf.authz</groupId>
189                 <artifactId>aaf-auth-cmd</artifactId>
190                 <version>${project.version}</version>
191             </dependency>
192
193             <dependency>
194                 <groupId>org.onap.aaf.authz</groupId>
195                 <artifactId>aaf-auth-oauth</artifactId>
196                 <version>${project.version}</version>
197             </dependency>
198
199             <dependency>
200                 <groupId>org.onap.aaf.authz</groupId>
201                 <artifactId>aaf-auth-deforg</artifactId>
202                 <version>${project.version}</version>
203             </dependency>
204
205             <dependency>
206                 <groupId>org.onap.aaf.authz</groupId>
207                 <artifactId>aaf-cadi-core</artifactId>
208                 <version>${project.version}</version>
209             </dependency>
210
211             <dependency>
212                 <groupId>org.onap.aaf.authz</groupId>
213                 <artifactId>aaf-cadi-client</artifactId>
214                 <version>${project.version}</version>
215             </dependency>
216
217             <dependency>
218                 <groupId>org.onap.aaf.authz</groupId>
219                 <artifactId>aaf-cadi-aaf</artifactId>
220                 <version>${project.version}</version>
221                 <exclusions>
222                     <exclusion>
223                         <groupId>org.apache.cassandra</groupId>
224                         <artifactId>cassandra-all</artifactId>
225                     </exclusion>
226                 </exclusions>
227             </dependency>
228
229             <dependency>
230                 <groupId>org.onap.aaf.authz</groupId>
231                 <artifactId>aaf-cadi-jetty</artifactId>
232                 <version>${project.version}</version>
233             </dependency>
234
235             <dependency>
236                 <groupId>org.onap.aaf.authz</groupId>
237                 <artifactId>aaf-cadi-cass</artifactId>
238                 <version>${project.version}</version>
239             </dependency>
240             <dependency>
241                 <groupId>javax.servlet</groupId>
242                 <artifactId>javax.servlet-api</artifactId>
243                 <version>3.0.1</version>
244             </dependency>
245
246             <!-- JettyVersion is partly covered in "OParent" dependency> <groupId>org.eclipse.jetty</groupId> 
247                 <artifactId>jetty-servlet</artifactId> <version>${project.jettyVersion}</version> 
248                 </dependency><dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> 
249                 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> 
250                 <artifactId>jetty-http</artifactId> <version>${project.jettyVersion}</version> 
251                 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId> 
252                 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> 
253                 <artifactId>jetty-security</artifactId> <version>${project.jettyVersion}</version> 
254                 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> 
255                 <version>${project.jettyVersion}</version> </dependency> -->
256
257             <dependency>
258                 <groupId>org.slf4j</groupId>
259                 <artifactId>slf4j-api</artifactId>
260                 <version>1.7.5</version>
261             </dependency>
262
263             <dependency>
264                 <groupId>com.datastax.cassandra</groupId>
265                 <artifactId>cassandra-all</artifactId>
266                 <version>${project.cassVersion}</version>
267                 <exclusions>
268                     <exclusion>
269                         <groupId>org.slf4j</groupId>
270                         <artifactId>slf4j-log4j12</artifactId>
271                     </exclusion>
272                     <exclusion>
273                         <groupId>log4j</groupId>
274                         <artifactId>log4j</artifactId>
275                     </exclusion>
276                 </exclusions>
277             </dependency>
278
279             <dependency>
280                 <groupId>com.datastax.cassandra</groupId>
281                 <artifactId>cassandra-driver-core</artifactId>
282                 <version>${project.cassVersion}</version>
283                 <exclusions>
284                     <exclusion>
285                         <groupId>org.slf4j</groupId>
286                         <artifactId>slf4j-log4j12</artifactId>
287                     </exclusion>
288                     <exclusion>
289                         <groupId>log4j</groupId>
290                         <artifactId>log4j</artifactId>
291                     </exclusion>
292                     <exclusion>
293                         <groupId>com.google.guava</groupId>
294                         <artifactId>guava</artifactId>
295                     </exclusion>
296                 </exclusions>
297             </dependency>
298             <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
299             <dependency>
300                 <groupId>io.netty</groupId>
301                 <artifactId>netty-handler</artifactId>
302                 <version>${project.nettyVersion}</version>
303             </dependency>
304
305             <dependency>
306                 <groupId>org.slf4j</groupId>
307                 <artifactId>slf4j-log4j12</artifactId>
308                 <version>1.7.5</version>
309             </dependency>
310
311             <dependency>
312                 <groupId>javax.mail</groupId>
313                 <artifactId>mail</artifactId>
314                 <version>1.4.7</version>
315             </dependency>
316
317             <dependency>
318                 <groupId>org.mockito</groupId>
319                 <artifactId>mockito-all</artifactId>
320                 <version>${mockito.version}</version>
321                 <scope>test</scope>
322             </dependency>
323
324             <dependency>
325                 <groupId>org.powermock</groupId>
326                 <artifactId>powermock-module-junit4</artifactId>
327                 <version>${powermock.version}</version>
328                 <scope>test</scope>
329             </dependency>
330
331             <dependency>
332                 <groupId>org.powermock</groupId>
333                 <artifactId>powermock-api-mockito</artifactId>
334                 <version>${powermock.version}</version>
335                 <scope>test</scope>
336             </dependency>
337
338             <dependency>
339                 <groupId>log4j</groupId>
340                 <artifactId>log4j</artifactId>
341                 <version>1.2.17</version>
342             </dependency>
343
344             <dependency>
345                 <groupId>junit</groupId>
346                 <artifactId>junit</artifactId>
347                 <version>4.10</version>
348                 <scope>test</scope>
349             </dependency>
350
351           <!-- Javax removed as of JDK 9 -->
352           <dependency>
353             <groupId>javax.xml.bind</groupId>
354             <artifactId>jaxb-api</artifactId>
355             <version>${project.jaxbVersion}</version>
356           </dependency>
357           <dependency>
358             <groupId>org.glassfish.jaxb</groupId>
359             <artifactId>jaxb-xjc</artifactId>
360             <version>${project.jaxbVersion}</version>
361           </dependency>
362           <dependency>
363             <groupId>org.glassfish.jaxb</groupId>
364             <artifactId>jaxb-runtime</artifactId>
365             <version>${project.jaxbVersion}</version>
366           </dependency>
367           
368         </dependencies>
369     </dependencyManagement>
370
371     <distributionManagement>
372         <repository>
373             <id>ecomp-releases</id>
374             <name>AAF Release Repository</name>
375             <url>${nexusproxy}${releaseNexusPath}</url>
376         </repository>
377         <snapshotRepository>
378             <id>ecomp-snapshots</id>
379             <name>AAF Snapshot Repository</name>
380             <url>${nexusproxy}${snapshotNexusPath}</url>
381         </snapshotRepository>
382         <site>
383             <id>ecomp-site</id>
384             <url>dav:${nexusproxy}${sitePath}</url>
385         </site>
386     </distributionManagement>
387
388     <profiles>
389         <profile>
390             <id>build-docker</id>
391             <build>
392                 <plugins>
393                     <plugin>
394                         <groupId>org.codehaus.mojo</groupId>
395                         <artifactId>exec-maven-plugin</artifactId>
396                         <version>1.6.0</version>
397                         <executions>
398                             <execution>
399                                 <id>Docker Build</id>
400                                 <goals>
401                                     <goal>exec</goal>
402                                 </goals>
403                             </execution>
404                         </executions>
405                         <configuration>
406                             <skip>true</skip>
407                             <executable>bash</executable>
408                             <commandlineArgs>echo "No Docker Here"</commandlineArgs>
409                         </configuration>
410                     </plugin>
411                     <plugin>
412                             <groupId>org.sonarsource.scanner.maven</groupId>
413                             <artifactId>sonar-maven-plugin</artifactId>
414                             <configuration>
415                                 <skip>true</skip>
416                             </configuration>
417                     </plugin>
418                 </plugins>
419             </build>
420
421             <modules>
422                 <module>auth-client</module>
423                 <module>misc</module>
424                 <module>cadi</module>
425                 <module>auth</module>
426                 <module>auth/docker</module>
427             </modules>
428         </profile>
429     </profiles>
430 </project>