Skip some modules from sonar
[aaf/authz.git] / auth / auth-client / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25
26         <!-- No Parent on Purpose!!! -->
27         <artifactId>aaf-auth-client</artifactId>
28         <name>AAF Auth Client</name>
29         <description>XSD Generated classes for AAF Auth</description>
30         <groupId>org.onap.aaf.authz.auth</groupId>
31         <version>2.10-SNAPSHOT</version>
32         <packaging>jar</packaging>
33
34         <properties>
35                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
37                 <!--  SONAR  -->
38                 <sonar.skip>true</sonar.skip>
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 below -->
46             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47                 <nexusproxy>https://nexus.onap.org</nexusproxy>
48                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
52         </properties>
53
54         <developers>
55                 <developer>
56                         <name>Jonathan Gathman</name>
57                         <email>jonathan.gathman@att.com</email>
58                         <organization>ATT</organization>
59                         <roles>
60                                 <role>Architect</role>
61                                 <role>Lead Developer</role>
62                         </roles>
63                 </developer>
64                 <developer>
65                         <name>Gabe Maurer</name>
66                         <email>gabe.maurer@att.com</email>
67                         <organization>ATT</organization>
68                         <roles>
69                                 <role>Developer</role>
70                         </roles>
71                 </developer>
72                 <developer>
73                         <name>Ian Howell</name>
74                         <email>ian.howell@att.com</email>
75                         <organization>ATT</organization>
76                         <roles>
77                                 <role>Developer</role>
78                         </roles>
79                 </developer>
80                 <developer>
81                         <name>Sai Gandham</name>
82                         <email>sai.gandham@att.com</email>
83                         <organization>ATT</organization>
84                         <roles>
85                                 <role>Developer</role>
86                         </roles>
87                 </developer>
88         </developers>
89
90         
91         <dependencies>
92                 <dependency>
93                         <groupId>junit</groupId>
94                         <artifactId>junit</artifactId>
95                         <version>4.10</version>
96                         <scope>test</scope>
97                 </dependency>
98
99         </dependencies>
100
101         <build>
102                 <plugins>
103                         <plugin>
104                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
105                                 <artifactId>maven-jaxb2-plugin</artifactId>
106                                 <version>0.8.2</version>
107                                 <executions>
108                                         <execution>
109                                                 <goals>
110                                                         <goal>generate</goal>
111                                                 </goals>
112                                         </execution>
113                                 </executions>
114                                 <configuration>
115                                         <schemaDirectory>src/main/xsd</schemaDirectory>
116                                 </configuration>
117                         </plugin>
118
119                         <plugin>
120                                 <groupId>org.apache.maven.plugins</groupId>
121                                 <artifactId>maven-deploy-plugin</artifactId>
122                                 <version>2.5</version>
123                                 <configuration>
124                                         <skip>false</skip>
125                                 </configuration>
126                         </plugin>
127
128                         <plugin>
129                                 <groupId>org.apache.maven.plugins</groupId>
130                                 <artifactId>maven-compiler-plugin</artifactId>
131                                 <version>2.3.2</version>
132                                 <configuration>
133                                         <source>1.6</source>
134                                         <target>1.6</target>
135                                 </configuration>
136                         </plugin>
137                         <plugin>
138                                 <groupId>org.sonatype.plugins</groupId>
139                                 <artifactId>nexus-staging-maven-plugin</artifactId>
140                                 <version>1.6.7</version>
141                                 <extensions>true</extensions>
142                                 <configuration>
143                                         <nexusUrl>${nexusproxy}</nexusUrl>
144                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
145                                         <serverId>ecomp-staging</serverId>
146                                 </configuration>
147                         </plugin>               
148                         <plugin>
149                                 <groupId>org.jacoco</groupId>
150                                 <artifactId>jacoco-maven-plugin</artifactId>
151                                 <version>0.7.7.201606060606</version>
152                                 <configuration>
153                                         <dumpOnExit>true</dumpOnExit>
154                                         <includes>
155                                                 <include>org.onap.aaf.*</include>
156                                         </includes>
157                                 </configuration>
158                                 <executions>
159                                         <execution>
160                                                 <id>pre-unit-test</id>
161                                                 <goals>
162                                                         <goal>prepare-agent</goal>
163                                                 </goals>
164                                                 <configuration>
165                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
166                                                         <!-- <append>true</append> -->
167                                                 </configuration>
168                                         </execution>
169                                         <execution>
170                                                 <id>pre-integration-test</id>
171                                                 <phase>pre-integration-test</phase>
172                                                 <goals>
173                                                         <goal>prepare-agent</goal>
174                                                 </goals>
175                                                 <configuration>
176                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
177                                                         <!-- <append>true</append> -->
178                                                 </configuration>
179                                         </execution>
180                                         <execution>
181                         <goals>
182                             <goal>merge</goal>
183                         </goals>
184                         <phase>post-integration-test</phase>
185                         <configuration>
186                             <fileSets>
187                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
188                                     <directory>${project.build.directory}/coverage-reports</directory>
189                                     <includes>
190                                         <include>*.exec</include>
191                                     </includes>
192                                 </fileSet>
193                             </fileSets>
194                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
195                         </configuration>
196                     </execution>
197                                 </executions>
198                         </plugin>
199                 </plugins>
200         </build>
201
202     <distributionManagement>
203                 <repository>
204                         <id>ecomp-releases</id>
205                         <name>AAF Release Repository</name>
206                         <url>${nexusproxy}${releaseNexusPath}</url>
207                 </repository>
208                 <snapshotRepository>
209                         <id>ecomp-snapshots</id>
210                         <name>AAF Snapshot Repository</name>
211                         <url>${nexusproxy}${snapshotNexusPath}</url>
212                 </snapshotRepository>
213                 <site>
214                         <id>ecomp-site</id>
215                         <url>dav:${nexusproxy}${sitePath}</url>
216                 </site>
217         </distributionManagement>
218 </project>
219