7366421fbd38f6d789d4cce009679bb3fe7ee6b1
[aaf/authz.git] / 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     <parent>
26         <groupId>org.onap.aaf.authz</groupId>
27         <artifactId>parent</artifactId>
28         <version>2.1.1-SNAPSHOT</version>
29     </parent>
30         
31         <artifactId>aaf-auth-client</artifactId>
32         <name>AAF Auth Client</name>
33         <description>XSD Generated classes for AAF Auth</description>
34         <packaging>jar</packaging>
35
36         <properties>
37         <project.interfaceVersion>2.1.1-SNAPSHOT</project.interfaceVersion>
38                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
40                 <!--  SONAR  -->
41                 <sonar.skip>true</sonar.skip>
42                  <jacoco.version>0.7.7.201606060606</jacoco.version>
43             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
44             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
45             <!-- Default Sonar configuration -->
46             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
47             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
48             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
49             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
50                 <nexusproxy>https://nexus.onap.org</nexusproxy>
51                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
53                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
54                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
55         </properties>
56
57         <developers>
58                 <developer>
59                         <name>Jonathan Gathman</name>
60                         <email>jonathan.gathman@att.com</email>
61                         <organization>ATT</organization>
62                         <roles>
63                                 <role>Architect</role>
64                                 <role>Lead Developer</role>
65                         </roles>
66                 </developer>
67                 <developer>
68                         <name>Gabe Maurer</name>
69                         <email>gabe.maurer@att.com</email>
70                         <organization>ATT</organization>
71                         <roles>
72                                 <role>Developer</role>
73                         </roles>
74                 </developer>
75                 <developer>
76                         <name>Ian Howell</name>
77                         <email>ian.howell@att.com</email>
78                         <organization>ATT</organization>
79                         <roles>
80                                 <role>Developer</role>
81                         </roles>
82                 </developer>
83                 <developer>
84                         <name>Sai Gandham</name>
85                         <email>sai.gandham@att.com</email>
86                         <organization>ATT</organization>
87                         <roles>
88                                 <role>Developer</role>
89                         </roles>
90                 </developer>
91         </developers>
92
93         
94         <dependencies>
95                 <dependency>
96                         <groupId>junit</groupId>
97                         <artifactId>junit</artifactId>
98                         <version>4.10</version>
99                         <scope>test</scope>
100                 </dependency>
101
102         </dependencies>
103
104         <build>
105                 <plugins>
106                         <plugin>
107                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
108                                 <artifactId>maven-jaxb2-plugin</artifactId>
109                                 <version>0.8.2</version>
110                                 <executions>
111                                         <execution>
112                                                 <goals>
113                                                         <goal>generate</goal>
114                                                 </goals>
115                                         </execution>
116                                 </executions>
117                                 <configuration>
118                                         <schemaDirectory>src/main/xsd</schemaDirectory>
119                                 </configuration>
120                         </plugin>
121
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-deploy-plugin</artifactId>
125                                 <configuration>
126                                         <skip>false</skip>
127                                 </configuration>
128                         </plugin>
129
130                         <plugin>
131                                 <groupId>org.apache.maven.plugins</groupId>
132                                 <artifactId>maven-compiler-plugin</artifactId>
133                                 <version>2.3.2</version>
134                                 <configuration>
135                                         <source>1.6</source>
136                                         <target>1.6</target>
137                                 </configuration>
138                         </plugin>
139                         <plugin>
140                                 <groupId>org.sonatype.plugins</groupId>
141                                 <artifactId>nexus-staging-maven-plugin</artifactId>
142                                 <extensions>true</extensions>
143                                 <configuration>
144                                         <nexusUrl>${nexusproxy}</nexusUrl>
145                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
146                                         <serverId>ecomp-staging</serverId>
147                                 </configuration>
148                         </plugin>               
149                         <plugin>
150                                 <groupId>org.jacoco</groupId>
151                                 <artifactId>jacoco-maven-plugin</artifactId>
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