Clean Sonar project name
[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.0</version>
27         </parent>
28
29         <properties>
30                 <nexusproxy>https://nexus.onap.org</nexusproxy>
31                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
32                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
33                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
34                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
35
36                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
37                 <!-- SONAR -->
38                 <jacoco.version>0.7.7.201606060606</jacoco.version>
39                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
40                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
41                 <!-- Default Sonar configuration -->
42                 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
43                 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
44                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
45                         below -->
46                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47                 <nexusproxy>https://nexus.onap.org</nexusproxy>
48                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49                 <powermock.version>1.5.1</powermock.version>
50                 <mockito.version>1.9.5</mockito.version>
51                 <project.interfaceVersion>${project.version}</project.interfaceVersion>
52                 <project.jettyVersion>9.4.11.v20180605</project.jettyVersion>
53
54         </properties>
55         <build>
56                 <plugins>
57                         <plugin>
58                                 <groupId>org.apache.maven.plugins</groupId>
59                                 <artifactId>maven-deploy-plugin</artifactId>
60                                 <configuration>
61                                         <skip>false</skip>
62                                 </configuration>
63                         </plugin>
64                         <plugin>
65                                 <groupId>org.sonatype.plugins</groupId>
66                                 <artifactId>nexus-staging-maven-plugin</artifactId>
67                                 <extensions>true</extensions>
68                                 <configuration>
69                                         <nexusUrl>${nexusproxy}</nexusUrl>
70                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
71                                         <serverId>ecomp-staging</serverId>
72                                 </configuration>
73                         </plugin>
74                         <plugin>
75                                 <groupId>org.sonarsource.scanner.maven</groupId>
76                                 <artifactId>sonar-maven-plugin</artifactId>
77                         </plugin>
78                         <plugin>
79                                 <groupId>org.jacoco</groupId>
80                                 <artifactId>jacoco-maven-plugin</artifactId>
81                                 <configuration>
82                                         <excludes>
83                                                 <exclude>**/gen/**</exclude>
84                                                 <exclude>**/generated-sources/**</exclude>
85                                                 <exclude>**/yang-gen/**</exclude>
86                                                 <exclude>**/pax/**</exclude>
87                                         </excludes>
88                                 </configuration>
89                                 <executions>
90                                         <execution>
91                                                 <id>pre-unit-test</id>
92                                                 <goals>
93                                                         <goal>prepare-agent</goal>
94                                                 </goals>
95                                                 <configuration>
96                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
97                                                         <propertyName>surefireArgLine</propertyName>
98                                                 </configuration>
99                                         </execution>
100                                         <execution>
101                                                 <id>post-unit-test</id>
102                                                 <phase>test</phase>
103                                                 <goals>
104                                                         <goal>report</goal>
105                                                 </goals>
106                                                 <configuration>
107                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
108                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
109                                                 </configuration>
110                                         </execution>
111                                         <execution>
112                                                 <id>pre-integration-test</id>
113                                                 <phase>pre-integration-test</phase>
114                                                 <goals>
115                                                         <goal>prepare-agent</goal>
116                                                 </goals>
117                                                 <configuration>
118                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
119                                                         <propertyName>failsafeArgLine</propertyName>
120                                                 </configuration>
121                                         </execution>
122                                         <execution>
123                                                 <id>post-integration-test</id>
124                                                 <phase>post-integration-test</phase>
125                                                 <goals>
126                                                         <goal>report</goal>
127                                                 </goals>
128                                                 <configuration>
129                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
130                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
131                                                 </configuration>
132                                         </execution>
133                                 </executions>
134                         </plugin>
135
136                 </plugins>
137         </build>
138         <modules>
139                 <module>auth-client</module>
140                 <module>misc</module>
141                 <module>cadi</module>
142                 <module>auth</module>
143         </modules>
144
145         <dependencyManagement>
146                 <dependencies>
147                         <dependency>
148                                 <groupId>org.onap.aaf.authz</groupId>
149                                 <artifactId>aaf-misc-env</artifactId>
150                                 <version>${project.version}</version>
151                         </dependency>
152
153                         <dependency>
154                                 <groupId>org.onap.aaf.authz</groupId>
155                                 <artifactId>aaf-misc-log4j</artifactId>
156                                 <version>${project.version}</version>
157                         </dependency>
158
159                         <dependency>
160                                 <groupId>org.onap.aaf.authz</groupId>
161                                 <artifactId>aaf-misc-rosetta</artifactId>
162                                 <version>${project.version}</version>
163                         </dependency>
164
165                         <dependency>
166                                 <groupId>org.onap.aaf.authz</groupId>
167                                 <artifactId>aaf-misc-xgen</artifactId>
168                                 <version>${project.version}</version>
169                         </dependency>
170
171                         
172
173                         
174
175                         
176
177                         <dependency>
178                                 <groupId>org.onap.aaf.authz</groupId>
179                                 <artifactId>aaf-auth-client</artifactId>
180                                 <version>${project.version}</version>
181                         </dependency>
182
183                         <dependency>
184                                 <groupId>org.onap.aaf.authz</groupId>
185                                 <artifactId>aaf-auth-core</artifactId>
186                                 <version>${project.version}</version>
187                         </dependency>
188
189                         <dependency>
190                                 <groupId>org.onap.aaf.authz</groupId>
191                                 <artifactId>aaf-auth-cass</artifactId>
192                                 <version>${project.version}</version>
193                         </dependency>
194
195                         <dependency>
196                                 <groupId>org.onap.aaf.authz</groupId>
197                                 <artifactId>aaf-auth-cmd</artifactId>
198                                 <version>${project.version}</version>
199                         </dependency>
200
201                         <dependency>
202                                 <groupId>org.onap.aaf.authz</groupId>
203                                 <artifactId>aaf-auth-oauth</artifactId>
204                                 <version>${project.version}</version>
205                         </dependency>
206
207                         <dependency>
208                                 <groupId>org.onap.aaf.authz</groupId>
209                                 <artifactId>aaf-auth-deforg</artifactId>
210                                 <version>${project.version}</version>
211                         </dependency>
212
213                         <dependency>
214                                 <groupId>org.onap.aaf.authz</groupId>
215                                 <artifactId>aaf-cadi-core</artifactId>
216                                 <version>${project.version}</version>
217                         </dependency>
218                         
219                         <dependency>
220                                 <groupId>org.onap.aaf.authz</groupId>
221                                 <artifactId>aaf-cadi-client</artifactId>
222                                 <version>${project.version}</version>
223                         </dependency>
224                         
225                         <dependency>
226                                 <groupId>org.onap.aaf.authz</groupId>
227                                 <artifactId>aaf-cadi-aaf</artifactId>
228                                 <version>${project.version}</version>
229                                 <exclusions>
230                                         <exclusion>
231                                                 <groupId>org.apache.cassandra</groupId>
232                                                 <artifactId>cassandra-all</artifactId>
233                                         </exclusion>
234                                 </exclusions>
235                         </dependency>
236
237                         <dependency>
238                                 <groupId>org.onap.aaf.authz</groupId>
239                                 <artifactId>aaf-cadi-jetty</artifactId>
240                                 <version>${project.version}</version>
241                         </dependency>
242
243                         <dependency>
244                                 <groupId>org.onap.aaf.authz</groupId>
245                                 <artifactId>aaf-cadi-cass</artifactId>
246                                 <version>${project.version}</version>
247                         </dependency><dependency>
248                                 <groupId>javax.servlet</groupId>
249                                 <artifactId>javax.servlet-api</artifactId>
250                                 <version>3.0.1</version>
251                         </dependency><dependency>
252                                 <groupId>org.eclipse.jetty</groupId>
253                                 <artifactId>jetty-servlet</artifactId>
254                                 <version>${project.jettyVersion}</version>
255                         </dependency><dependency>
256                                 <groupId>org.eclipse.jetty</groupId>
257                                 <artifactId>jetty-server</artifactId>
258                                 <version>${project.jettyVersion}</version>
259                         </dependency>
260
261                         <dependency>
262                                 <groupId>org.eclipse.jetty</groupId>
263                                 <artifactId>jetty-io</artifactId>
264                                 <version>${project.jettyVersion}</version>
265                         </dependency>
266
267                         <dependency>
268                                 <groupId>org.eclipse.jetty</groupId>
269                                 <artifactId>jetty-security</artifactId>
270                                 <version>${project.jettyVersion}</version>
271                         </dependency>
272
273                         <dependency>
274                                 <groupId>org.eclipse.jetty</groupId>
275                                 <artifactId>jetty-http</artifactId>
276                                 <version>${project.jettyVersion}</version>
277                         </dependency>
278
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                 </dependencies>
380         </dependencyManagement>
381
382
383
384
385
386         <distributionManagement>
387                 <repository>
388                         <id>ecomp-releases</id>
389                         <name>AAF Release Repository</name>
390                         <url>${nexusproxy}${releaseNexusPath}</url>
391                 </repository>
392                 <snapshotRepository>
393                         <id>ecomp-snapshots</id>
394                         <name>AAF Snapshot Repository</name>
395                         <url>${nexusproxy}${snapshotNexusPath}</url>
396                 </snapshotRepository>
397                 <site>
398                         <id>ecomp-site</id>
399                         <url>dav:${nexusproxy}${sitePath}</url>
400                 </site>
401         </distributionManagement>
402
403 </project>