Modify deprecated sonar properties in AAF
[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                  <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 below -->
45             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46                 <nexusproxy>https://nexus.onap.org</nexusproxy>
47                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
51         </properties>
52
53         <developers>
54                 <developer>
55                         <name>Jonathan Gathman</name>
56                         <email>jonathan.gathman@att.com</email>
57                         <organization>ATT</organization>
58                         <roles>
59                                 <role>Architect</role>
60                                 <role>Lead Developer</role>
61                         </roles>
62                 </developer>
63                 <developer>
64                         <name>Gabe Maurer</name>
65                         <email>gabe.maurer@att.com</email>
66                         <organization>ATT</organization>
67                         <roles>
68                                 <role>Developer</role>
69                         </roles>
70                 </developer>
71                 <developer>
72                         <name>Ian Howell</name>
73                         <email>ian.howell@att.com</email>
74                         <organization>ATT</organization>
75                         <roles>
76                                 <role>Developer</role>
77                         </roles>
78                 </developer>
79                 <developer>
80                         <name>Sai Gandham</name>
81                         <email>sai.gandham@att.com</email>
82                         <organization>ATT</organization>
83                         <roles>
84                                 <role>Developer</role>
85                         </roles>
86                 </developer>
87         </developers>
88
89         
90         <dependencies>
91                 <dependency>
92                         <groupId>junit</groupId>
93                         <artifactId>junit</artifactId>
94                         <version>4.10</version>
95                         <scope>test</scope>
96                 </dependency>
97
98         </dependencies>
99
100         <build>
101                 <plugins>
102                         <plugin>
103                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
104                                 <artifactId>maven-jaxb2-plugin</artifactId>
105                                 <version>0.8.2</version>
106                                 <executions>
107                                         <execution>
108                                                 <goals>
109                                                         <goal>generate</goal>
110                                                 </goals>
111                                         </execution>
112                                 </executions>
113                                 <configuration>
114                                         <schemaDirectory>src/main/xsd</schemaDirectory>
115                                 </configuration>
116                         </plugin>
117
118                         <plugin>
119                                 <groupId>org.apache.maven.plugins</groupId>
120                                 <artifactId>maven-deploy-plugin</artifactId>
121                                 <version>2.5</version>
122                                 <configuration>
123                                         <skip>false</skip>
124                                 </configuration>
125                         </plugin>
126
127                         <plugin>
128                                 <groupId>org.apache.maven.plugins</groupId>
129                                 <artifactId>maven-compiler-plugin</artifactId>
130                                 <version>2.3.2</version>
131                                 <configuration>
132                                         <source>1.6</source>
133                                         <target>1.6</target>
134                                 </configuration>
135                         </plugin>
136                         <plugin>
137                                 <groupId>org.sonatype.plugins</groupId>
138                                 <artifactId>nexus-staging-maven-plugin</artifactId>
139                                 <version>1.6.7</version>
140                                 <extensions>true</extensions>
141                                 <configuration>
142                                         <nexusUrl>${nexusproxy}</nexusUrl>
143                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
144                                         <serverId>ecomp-staging</serverId>
145                                 </configuration>
146                         </plugin>               
147                         <plugin>
148                                 <groupId>org.jacoco</groupId>
149                                 <artifactId>jacoco-maven-plugin</artifactId>
150                                 <version>0.7.7.201606060606</version>
151                                 <configuration>
152                                         <dumpOnExit>true</dumpOnExit>
153                                         <includes>
154                                                 <include>org.onap.aaf.*</include>
155                                         </includes>
156                                 </configuration>
157                                 <executions>
158                                         <execution>
159                                                 <id>pre-unit-test</id>
160                                                 <goals>
161                                                         <goal>prepare-agent</goal>
162                                                 </goals>
163                                                 <configuration>
164                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
165                                                         <!-- <append>true</append> -->
166                                                 </configuration>
167                                         </execution>
168                                         <execution>
169                                                 <id>pre-integration-test</id>
170                                                 <phase>pre-integration-test</phase>
171                                                 <goals>
172                                                         <goal>prepare-agent</goal>
173                                                 </goals>
174                                                 <configuration>
175                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
176                                                         <!-- <append>true</append> -->
177                                                 </configuration>
178                                         </execution>
179                                         <execution>
180                         <goals>
181                             <goal>merge</goal>
182                         </goals>
183                         <phase>post-integration-test</phase>
184                         <configuration>
185                             <fileSets>
186                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
187                                     <directory>${project.build.directory}/coverage-reports</directory>
188                                     <includes>
189                                         <include>*.exec</include>
190                                     </includes>
191                                 </fileSet>
192                             </fileSets>
193                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
194                         </configuration>
195                     </execution>
196                                 </executions>
197                         </plugin>
198                 </plugins>
199         </build>
200
201     <distributionManagement>
202                 <repository>
203                         <id>ecomp-releases</id>
204                         <name>AAF Release Repository</name>
205                         <url>${nexusproxy}${releaseNexusPath}</url>
206                 </repository>
207                 <snapshotRepository>
208                         <id>ecomp-snapshots</id>
209                         <name>AAF Snapshot Repository</name>
210                         <url>${nexusproxy}${snapshotNexusPath}</url>
211                 </snapshotRepository>
212                 <site>
213                         <id>ecomp-site</id>
214                         <url>dav:${nexusproxy}${sitePath}</url>
215                 </site>
216         </distributionManagement>
217 </project>
218