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