Update POMS for SONAR code coverage
[aaf/authz.git] / cadi / client / pom.xml
1 <!--
2  * ============LICENSE_START====================================================
3  * org.onap.aaf
4  * ===========================================================================
5  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6  * ===========================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END====================================================
19  *
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22         <parent>
23                 <groupId>org.onap.aaf.authz.cadi</groupId>
24                 <artifactId>parent</artifactId>
25                 <version>1.5.0-SNAPSHOT</version>
26                 <relativePath>..</relativePath>
27         </parent>
28
29         <artifactId>aaf-cadi-client</artifactId>
30         <name>AAF CADI Client</name>
31         <packaging>jar</packaging>
32         <modelVersion>4.0.0</modelVersion>
33
34         <properties>
35                 <!--  SONAR  -->
36                 <jacoco.version>0.7.7.201606060606</jacoco.version>
37                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
38                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
39                 <!-- Default Sonar configuration -->
40                 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
41                 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
42                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
43                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
44                 <nexusproxy>https://nexus.onap.org</nexusproxy>
45                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
46                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
47                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
48                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
49         </properties>
50
51         <developers>
52                 <developer>
53                         <name>Jonathan Gathman</name>
54                         <email>jonathan.gathman@att.com</email>
55                         <organization>ATT</organization>
56                         <roles>
57                                 <role>Architect</role>
58                                 <role>Lead Developer</role>
59                         </roles>
60                 </developer>
61                 <developer>
62                         <name>Gabe Maurer</name>
63                         <email>gabe.maurer@att.com</email>
64                         <organization>ATT</organization>
65                         <roles>
66                                 <role>Developer</role>
67                         </roles>
68                 </developer>
69                 <developer>
70                         <name>Ian Howell</name>
71                         <email>ian.howell@att.com</email>
72                         <organization>ATT</organization>
73                         <roles>
74                                 <role>Developer</role>
75                         </roles>
76                 </developer>
77                 <developer>
78                         <name>Sai Gandham</name>
79                         <email>sai.gandham@att.com</email>
80                         <organization>ATT</organization>
81                         <roles>
82                                 <role>Developer</role>
83                         </roles>
84                 </developer>
85         </developers>
86
87         <dependencies>
88                 <dependency>
89                         <groupId>org.onap.aaf.authz.misc</groupId>
90                         <artifactId>aaf-misc-rosetta</artifactId>
91
92                 </dependency>
93                 <dependency>
94                         <groupId>org.onap.aaf.authz.cadi</groupId>
95                         <artifactId>aaf-cadi-core</artifactId>
96                 </dependency>
97
98                 <dependency>
99                         <groupId>javax.servlet</groupId>
100                         <artifactId>servlet-api</artifactId>
101                         <scope>compile</scope>
102                 </dependency>
103         </dependencies>
104
105         <build>
106                 <plugins>
107                         <plugin>
108                                 <groupId>org.apache.maven.plugins</groupId>
109                                 <artifactId>maven-jarsigner-plugin</artifactId>
110                                 <version>1.4</version>
111                         </plugin>
112                         <plugin>
113                                 <groupId>org.sonatype.plugins</groupId>
114                                 <artifactId>nexus-staging-maven-plugin</artifactId>
115                                 <version>1.6.7</version>
116                                 <extensions>true</extensions>
117                                 <configuration>
118                                         <nexusUrl>${nexusproxy}</nexusUrl>
119                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
120                                         <serverId>ecomp-staging</serverId>
121                                 </configuration>
122                         </plugin>
123                         <plugin>
124                                 <groupId>org.jacoco</groupId>
125                                 <artifactId>jacoco-maven-plugin</artifactId>
126                                 <version>${jacoco.version}</version>
127                                 <configuration>
128                                         <excludes>
129                                                 <exclude>**/gen/**</exclude>
130                                                 <exclude>**/generated-sources/**</exclude>
131                                                 <exclude>**/yang-gen/**</exclude>
132                                                 <exclude>**/pax/**</exclude>
133                                         </excludes>
134                                 </configuration>
135                                 <executions>
136                                         <execution>
137                                                 <id>pre-unit-test</id>
138                                                 <goals>
139                                                         <goal>prepare-agent</goal>
140                                                 </goals>
141                                                 <configuration>
142                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
143                                                         <propertyName>surefireArgLine</propertyName>
144                                                 </configuration>
145                                         </execution>
146                                         <execution>
147                                                 <id>post-unit-test</id>
148                                                 <phase>test</phase>
149                                                 <goals>
150                                                         <goal>report</goal>
151                                                 </goals>
152                                                 <configuration>
153                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
154                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
155                                                 </configuration>
156                                         </execution>
157                                         <execution>
158                                                 <id>pre-integration-test</id>
159                                                 <phase>pre-integration-test</phase>
160                                                 <goals>
161                                                         <goal>prepare-agent</goal>
162                                                 </goals>
163                                                 <configuration>
164                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
165                                                         <propertyName>failsafeArgLine</propertyName>
166                                                 </configuration>
167                                         </execution>
168                                         <execution>
169                                                 <id>post-integration-test</id>
170                                                 <phase>post-integration-test</phase>
171                                                 <goals>
172                                                         <goal>report</goal>
173                                                 </goals>
174                                                 <configuration>
175                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
176                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
177                                                 </configuration>
178                                         </execution>
179                                 </executions>
180                         </plugin>
181                 </plugins>
182         </build>
183
184         <distributionManagement>
185                 <repository>
186                         <id>ecomp-releases</id>
187                         <name>AAF Release Repository</name>
188                         <url>${nexusproxy}${releaseNexusPath}</url>
189                 </repository>
190                 <snapshotRepository>
191                         <id>ecomp-snapshots</id>
192                         <name>AAF Snapshot Repository</name>
193                         <url>${nexusproxy}${snapshotNexusPath}</url>
194                 </snapshotRepository>
195                 <site>
196                         <id>ecomp-site</id>
197                         <url>dav:${nexusproxy}${sitePath}</url>
198                 </site>
199         </distributionManagement>
200 </project>