Create and prepare non-deploy release 2.7.1
[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.7.1-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.jvnet.jaxb2.maven2</groupId>
92                 <artifactId>maven-jaxb2-plugin</artifactId>
93                 <version>0.8.2</version>
94                 <executions>
95                     <execution>
96                         <goals>
97                             <goal>generate</goal>
98                         </goals>
99                     </execution>
100                 </executions>
101                 <configuration>
102                     <schemaDirectory>src/main/xsd</schemaDirectory>
103                 </configuration>
104             </plugin>
105
106             <plugin>
107                 <groupId>org.apache.maven.plugins</groupId>
108                 <artifactId>maven-compiler-plugin</artifactId>
109                 <version>2.3.2</version>
110                 <configuration>
111                     <source>1.6</source>
112                     <target>1.6</target>
113                 </configuration>
114             </plugin>
115             <plugin>
116                 <groupId>org.jacoco</groupId>
117                 <artifactId>jacoco-maven-plugin</artifactId>
118                 <configuration>
119                     <dumpOnExit>true</dumpOnExit>
120                     <includes>
121                         <include>org.onap.aaf.*</include>
122                     </includes>
123                 </configuration>
124                 <executions>
125                     <execution>
126                         <id>pre-unit-test</id>
127                         <goals>
128                             <goal>prepare-agent</goal>
129                         </goals>
130                         <configuration>
131                             <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
132                             <!-- <append>true</append> -->
133                         </configuration>
134                     </execution>
135                     <execution>
136                         <id>pre-integration-test</id>
137                         <phase>pre-integration-test</phase>
138                         <goals>
139                             <goal>prepare-agent</goal>
140                         </goals>
141                         <configuration>
142                             <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
143                             <!-- <append>true</append> -->
144                         </configuration>
145                     </execution>
146                     <execution>
147                         <goals>
148                             <goal>merge</goal>
149                         </goals>
150                         <phase>post-integration-test</phase>
151                         <configuration>
152                             <fileSets>
153                                 <fileSet
154                                     implementation="org.apache.maven.shared.model.fileset.FileSet">
155                                     <directory>${project.build.directory}/coverage-reports</directory>
156                                     <includes>
157                                         <include>*.exec</include>
158                                     </includes>
159                                 </fileSet>
160                             </fileSets>
161                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
162                         </configuration>
163                     </execution>
164                 </executions>
165             </plugin>
166         </plugins>
167     </build>
168
169     <distributionManagement>
170         <repository>
171             <id>ecomp-releases</id>
172             <name>AAF Release Repository</name>
173             <url>${nexusproxy}${releaseNexusPath}</url>
174         </repository>
175         <snapshotRepository>
176             <id>ecomp-snapshots</id>
177             <name>AAF Snapshot Repository</name>
178             <url>${nexusproxy}${snapshotNexusPath}</url>
179         </snapshotRepository>
180         <site>
181             <id>ecomp-site</id>
182             <url>dav:${nexusproxy}${sitePath}</url>
183         </site>
184     </distributionManagement>
185 </project>
186