blob: 21d699dca6b6f1a61af2d8c698efcb748a9125fe [file] [log] [blame]
Michal Ptacek7168a9a2019-11-04 06:45:08 +00001<?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.2</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.sonatype.plugins</groupId>
139 <artifactId>nexus-staging-maven-plugin</artifactId>
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 <configuration>
151 <dumpOnExit>true</dumpOnExit>
152 <includes>
153 <include>org.onap.aaf.*</include>
154 </includes>
155 </configuration>
156 <executions>
157 <execution>
158 <id>pre-unit-test</id>
159 <goals>
160 <goal>prepare-agent</goal>
161 </goals>
162 <configuration>
163 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
164 <!-- <append>true</append> -->
165 </configuration>
166 </execution>
167 <execution>
168 <id>pre-integration-test</id>
169 <phase>pre-integration-test</phase>
170 <goals>
171 <goal>prepare-agent</goal>
172 </goals>
173 <configuration>
174 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
175 <!-- <append>true</append> -->
176 </configuration>
177 </execution>
178 <execution>
179 <goals>
180 <goal>merge</goal>
181 </goals>
182 <phase>post-integration-test</phase>
183 <configuration>
184 <fileSets>
185 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
186 <directory>${project.build.directory}/coverage-reports</directory>
187 <includes>
188 <include>*.exec</include>
189 </includes>
190 </fileSet>
191 </fileSets>
192 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
193 </configuration>
194 </execution>
195 </executions>
196 </plugin>
197 </plugins>
198 </build>
199
200 <distributionManagement>
201 <repository>
202 <id>ecomp-releases</id>
203 <name>AAF Release Repository</name>
204 <url>${nexusproxy}${releaseNexusPath}</url>
205 </repository>
206 <snapshotRepository>
207 <id>ecomp-snapshots</id>
208 <name>AAF Snapshot Repository</name>
209 <url>${nexusproxy}${snapshotNexusPath}</url>
210 </snapshotRepository>
211 <site>
212 <id>ecomp-site</id>
213 <url>dav:${nexusproxy}${sitePath}</url>
214 </site>
215 </distributionManagement>
216</project>
217