ea73258684201e4a47f9f427781f4f3b1b0eaf60
[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.15-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.0.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         <!-- SONAR -->
45         <jacoco.version>0.7.7.201606060606</jacoco.version>
46         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48         <!-- Default Sonar configuration -->
49         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
50         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
51         <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
52             below -->
53         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54         <nexusproxy>https://nexus.onap.org</nexusproxy>
55         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56         <powermock.version>1.5.1</powermock.version>
57         <mockito.version>1.9.5</mockito.version>
58         <project.interfaceVersion>${project.version}</project.interfaceVersion>
59         <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
60         <project.cassVersion>3.6.0</project.cassVersion>
61
62     </properties>
63     <build>
64         <plugins>
65             <plugin>
66                 <groupId>org.apache.maven.plugins</groupId>
67                 <artifactId>maven-deploy-plugin</artifactId>
68                 <configuration>
69                     <skip>false</skip>
70                 </configuration>
71             </plugin>
72             <plugin>
73                 <groupId>org.sonarsource.scanner.maven</groupId>
74                 <artifactId>sonar-maven-plugin</artifactId>
75             </plugin>
76             <plugin>
77                 <groupId>org.jacoco</groupId>
78                 <artifactId>jacoco-maven-plugin</artifactId>
79                 <configuration>
80                     <excludes>
81                         <exclude>**/gen/**</exclude>
82                         <exclude>**/generated-sources/**</exclude>
83                         <exclude>**/yang-gen/**</exclude>
84                         <exclude>**/pax/**</exclude>
85                     </excludes>
86                 </configuration>
87                 <executions>
88                     <execution>
89                         <id>pre-unit-test</id>
90                         <goals>
91                             <goal>prepare-agent</goal>
92                         </goals>
93                         <configuration>
94                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
95                             <propertyName>surefireArgLine</propertyName>
96                         </configuration>
97                     </execution>
98                     <execution>
99                         <id>post-unit-test</id>
100                         <phase>test</phase>
101                         <goals>
102                             <goal>report</goal>
103                         </goals>
104                         <configuration>
105                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
106                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
107                         </configuration>
108                     </execution>
109                     <execution>
110                         <id>pre-integration-test</id>
111                         <phase>pre-integration-test</phase>
112                         <goals>
113                             <goal>prepare-agent</goal>
114                         </goals>
115                         <configuration>
116                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
117                             <propertyName>failsafeArgLine</propertyName>
118                         </configuration>
119                     </execution>
120                     <execution>
121                         <id>post-integration-test</id>
122                         <phase>post-integration-test</phase>
123                         <goals>
124                             <goal>report</goal>
125                         </goals>
126                         <configuration>
127                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
128                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
129                         </configuration>
130                     </execution>
131                 </executions>
132             </plugin>
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><dependency>
240                 <groupId>javax.servlet</groupId>
241                 <artifactId>javax.servlet-api</artifactId>
242                 <version>3.0.1</version>
243             </dependency>
244             
245             <!-- JettyVersion is partly covered in "OParent" 
246               dependency>
247                 <groupId>org.eclipse.jetty</groupId>
248                 <artifactId>jetty-servlet</artifactId>
249                 <version>${project.jettyVersion}</version>
250             </dependency><dependency>
251                 <groupId>org.eclipse.jetty</groupId>
252                 <artifactId>jetty-server</artifactId>
253                 <version>${project.jettyVersion}</version>
254             </dependency>
255             
256             <dependency>
257                 <groupId>org.eclipse.jetty</groupId>
258                 <artifactId>jetty-http</artifactId>
259                 <version>${project.jettyVersion}</version>
260             </dependency>
261
262             <dependency>
263                 <groupId>org.eclipse.jetty</groupId>
264                 <artifactId>jetty-io</artifactId>
265                 <version>${project.jettyVersion}</version>
266             </dependency>
267
268             <dependency>
269                 <groupId>org.eclipse.jetty</groupId>
270                 <artifactId>jetty-security</artifactId>
271                 <version>${project.jettyVersion}</version>
272             </dependency>
273
274
275             <dependency>
276                 <groupId>org.eclipse.jetty</groupId>
277                 <artifactId>jetty-util</artifactId>
278                 <version>${project.jettyVersion}</version>
279             </dependency>
280              -->
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         </dependencies>
377     </dependencyManagement>
378
379
380
381
382
383     <distributionManagement>
384         <repository>
385             <id>ecomp-releases</id>
386             <name>AAF Release Repository</name>
387             <url>${nexusproxy}${releaseNexusPath}</url>
388         </repository>
389         <snapshotRepository>
390             <id>ecomp-snapshots</id>
391             <name>AAF Snapshot Repository</name>
392             <url>${nexusproxy}${snapshotNexusPath}</url>
393         </snapshotRepository>
394         <site>
395             <id>ecomp-site</id>
396             <url>dav:${nexusproxy}${sitePath}</url>
397         </site>
398     </distributionManagement>
399
400 </project>