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