Release aaf/authz
[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.15</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.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
39                 <!--  SONAR  -->
40                 <sonar.skip>true</sonar.skip>
41                  <jacoco.version>0.7.7.201606060606</jacoco.version>
42             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44             <!-- Default Sonar configuration -->
45             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
46             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
47             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
48             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49                 <nexusproxy>https://nexus.onap.org</nexusproxy>
50                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
54         </properties>
55
56         <developers>
57                 <developer>
58                         <name>Jonathan Gathman</name>
59                         <email>jonathan.gathman@att.com</email>
60                         <organization>ATT</organization>
61                         <roles>
62                                 <role>Architect</role>
63                                 <role>Lead Developer</role>
64                         </roles>
65                 </developer>
66                 <developer>
67                         <name>Gabe Maurer</name>
68                         <email>gabe.maurer@att.com</email>
69                         <organization>ATT</organization>
70                         <roles>
71                                 <role>Developer</role>
72                         </roles>
73                 </developer>
74                 <developer>
75                         <name>Ian Howell</name>
76                         <email>ian.howell@att.com</email>
77                         <organization>ATT</organization>
78                         <roles>
79                                 <role>Developer</role>
80                         </roles>
81                 </developer>
82                 <developer>
83                         <name>Sai Gandham</name>
84                         <email>sai.gandham@att.com</email>
85                         <organization>ATT</organization>
86                         <roles>
87                                 <role>Developer</role>
88                         </roles>
89                 </developer>
90         </developers>
91
92         
93         <dependencies>
94                 <dependency>
95                         <groupId>junit</groupId>
96                         <artifactId>junit</artifactId>
97                         <scope>test</scope>
98                 </dependency>
99
100         </dependencies>
101
102         <build>
103                 <plugins>
104                         <plugin>
105                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
106                                 <artifactId>maven-jaxb2-plugin</artifactId>
107                                 <version>0.8.2</version>
108                                 <executions>
109                                         <execution>
110                                                 <goals>
111                                                         <goal>generate</goal>
112                                                 </goals>
113                                         </execution>
114                                 </executions>
115                                 <configuration>
116                                         <schemaDirectory>src/main/xsd</schemaDirectory>
117                                 </configuration>
118                         </plugin>
119
120                         <plugin>
121                                 <groupId>org.apache.maven.plugins</groupId>
122                                 <artifactId>maven-deploy-plugin</artifactId>
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.jacoco</groupId>
139                                 <artifactId>jacoco-maven-plugin</artifactId>
140                                 <configuration>
141                                         <dumpOnExit>true</dumpOnExit>
142                                         <includes>
143                                                 <include>org.onap.aaf.*</include>
144                                         </includes>
145                                 </configuration>
146                                 <executions>
147                                         <execution>
148                                                 <id>pre-unit-test</id>
149                                                 <goals>
150                                                         <goal>prepare-agent</goal>
151                                                 </goals>
152                                                 <configuration>
153                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
154                                                         <!-- <append>true</append> -->
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}/coverage-reports/jacoco-it.exec</destFile>
165                                                         <!-- <append>true</append> -->
166                                                 </configuration>
167                                         </execution>
168                                         <execution>
169                         <goals>
170                             <goal>merge</goal>
171                         </goals>
172                         <phase>post-integration-test</phase>
173                         <configuration>
174                             <fileSets>
175                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
176                                     <directory>${project.build.directory}/coverage-reports</directory>
177                                     <includes>
178                                         <include>*.exec</include>
179                                     </includes>
180                                 </fileSet>
181                             </fileSets>
182                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
183                         </configuration>
184                     </execution>
185                                 </executions>
186                         </plugin>
187                 </plugins>
188         </build>
189
190     <distributionManagement>
191                 <repository>
192                         <id>ecomp-releases</id>
193                         <name>AAF Release Repository</name>
194                         <url>${nexusproxy}${releaseNexusPath}</url>
195                 </repository>
196                 <snapshotRepository>
197                         <id>ecomp-snapshots</id>
198                         <name>AAF Snapshot Repository</name>
199                         <url>${nexusproxy}${snapshotNexusPath}</url>
200                 </snapshotRepository>
201                 <site>
202                         <id>ecomp-site</id>
203                         <url>dav:${nexusproxy}${sitePath}</url>
204                 </site>
205         </distributionManagement>
206 </project>
207