b011a586d9b5ce18f918167ee79ce9febb58d86f
[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"
23     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.aaf.authz</groupId>
28         <artifactId>parent</artifactId>
29         <version>2.1.20-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>aaf-auth-client</artifactId>
33     <name>AAF Auth Client</name>
34     <description>XSD Generated classes for AAF Auth</description>
35     <packaging>jar</packaging>
36
37     <properties>
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 
49             below -->
50         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
51         <nexusproxy>https://nexus.onap.org</nexusproxy>
52         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
53         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
54         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
55         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
56     </properties>
57
58     <developers>
59         <developer>
60             <name>Jonathan Gathman</name>
61             <email>jonathan.gathman@att.com</email>
62             <organization>ATT</organization>
63             <roles>
64                 <role>Architect</role>
65                 <role>Lead Developer</role>
66             </roles>
67         </developer>
68         <developer>
69             <name>Sai Gandham</name>
70             <email>sai.gandham@att.com</email>
71             <organization>ATT</organization>
72             <roles>
73                 <role>Developer</role>
74             </roles>
75         </developer>
76     </developers>
77
78
79     <dependencies>
80         <dependency>
81             <groupId>junit</groupId>
82             <artifactId>junit</artifactId>
83             <scope>test</scope>
84         </dependency>
85
86     </dependencies>
87
88     <build>
89         <plugins>
90             <plugin>
91                 <groupId>org.apache.maven.plugins</groupId>
92                 <artifactId>maven-deploy-plugin</artifactId>
93                 <configuration>
94                     <skip>true</skip>
95                 </configuration>
96             </plugin>
97             <plugin>
98                 <groupId>org.jvnet.jaxb2.maven2</groupId>
99                 <artifactId>maven-jaxb2-plugin</artifactId>
100                 <version>0.8.2</version>
101                 <executions>
102                     <execution>
103                         <goals>
104                             <goal>generate</goal>
105                         </goals>
106                     </execution>
107                 </executions>
108                 <configuration>
109                     <schemaDirectory>src/main/xsd</schemaDirectory>
110                 </configuration>
111             </plugin>
112
113             <plugin>
114                 <groupId>org.apache.maven.plugins</groupId>
115                 <artifactId>maven-deploy-plugin</artifactId>
116                 <configuration>
117                     <skip>false</skip>
118                 </configuration>
119             </plugin>
120
121             <plugin>
122                 <groupId>org.apache.maven.plugins</groupId>
123                 <artifactId>maven-compiler-plugin</artifactId>
124                 <version>2.3.2</version>
125                 <configuration>
126                     <source>1.6</source>
127                     <target>1.6</target>
128                 </configuration>
129             </plugin>
130             <plugin>
131                 <groupId>org.jacoco</groupId>
132                 <artifactId>jacoco-maven-plugin</artifactId>
133                 <configuration>
134                     <dumpOnExit>true</dumpOnExit>
135                     <includes>
136                         <include>org.onap.aaf.*</include>
137                     </includes>
138                 </configuration>
139                 <executions>
140                     <execution>
141                         <id>pre-unit-test</id>
142                         <goals>
143                             <goal>prepare-agent</goal>
144                         </goals>
145                         <configuration>
146                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
147                             <!-- <append>true</append> -->
148                         </configuration>
149                     </execution>
150                     <execution>
151                         <id>pre-integration-test</id>
152                         <phase>pre-integration-test</phase>
153                         <goals>
154                             <goal>prepare-agent</goal>
155                         </goals>
156                         <configuration>
157                             <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
158                             <!-- <append>true</append> -->
159                         </configuration>
160                     </execution>
161                     <execution>
162                         <goals>
163                             <goal>merge</goal>
164                         </goals>
165                         <phase>post-integration-test</phase>
166                         <configuration>
167                             <fileSets>
168                                 <fileSet
169                                     implementation="org.apache.maven.shared.model.fileset.FileSet">
170                                     <directory>${project.build.directory}/coverage-reports</directory>
171                                     <includes>
172                                         <include>*.exec</include>
173                                     </includes>
174                                 </fileSet>
175                             </fileSets>
176                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
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>
201