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