1 <?xml version="1.0" encoding="UTF-8"?>
\r
3 ============LICENSE_START====================================================
\r
5 * ===========================================================================
\r
6 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
7 * Copyright © 2017 Amdocs
\r
8 * ===========================================================================
\r
9 * Licensed under the Apache License, Version 2.0 (the "License");
\r
10 * you may not use this file except in compliance with the License.
\r
11 * You may obtain a copy of the License at
\r
13 * http://www.apache.org/licenses/LICENSE-2.0
\r
15 * Unless required by applicable law or agreed to in writing, software
\r
16 * distributed under the License is distributed on an "AS IS" BASIS,
\r
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
18 * See the License for the specific language governing permissions and
\r
19 * limitations under the License.
\r
20 * ============LICENSE_END====================================================
\r
22 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
27 <modelVersion>4.0.0</modelVersion>
\r
31 <groupId>org.onap.aaf.authz</groupId>
\r
32 <artifactId>parent</artifactId>
\r
33 <version>1.0.1-SNAPSHOT</version>
\r
34 <relativePath>../pom.xml</relativePath>
\r
37 <!-- No Parent on Purpose!!! -->
\r
38 <artifactId>authz-client</artifactId>
\r
39 <name>Authz Client</name>
\r
40 <description>Client and XSD Generated code for Authz</description>
\r
41 <groupId>org.onap.aaf.authz</groupId>
\r
42 <version>1.0.1-SNAPSHOT</version>
\r
43 <packaging>jar</packaging>
\r
44 <url>https://github.com/att/AAF</url>
\r
47 <name>BSD License</name>
\r
53 <name>Jonathan Gathman</name>
\r
55 <organization>ATT</organization>
\r
56 <organizationUrl></organizationUrl>
\r
61 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
62 <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>
\r
63 <maven.test.failure.ignore>true</maven.test.failure.ignore>
\r
64 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\r
65 <sonar.language>java</sonar.language>
\r
66 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
67 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
68 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
69 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
70 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
\r
71 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
72 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
73 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
74 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
75 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
76 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
\r
81 <groupId>junit</groupId>
\r
82 <artifactId>junit</artifactId>
\r
83 <version>4.10</version>
\r
92 <groupId>org.codehaus.mojo</groupId>
\r
93 <artifactId>jaxb2-maven-plugin</artifactId>
\r
94 <version>1.3</version>
\r
97 <phase>generate-sources</phase>
\r
104 <schemaDirectory>src/main/xsd</schemaDirectory>
\r
108 <!--This plugin's configuration is used to store Eclipse m2e settings
\r
109 only. It has no influence on the Maven build itself. -->
\r
111 <groupId>org.eclipse.m2e</groupId>
\r
112 <artifactId>lifecycle-mapping</artifactId>
\r
113 <version>1.0.0</version>
\r
115 <lifecycleMappingMetadata>
\r
118 <pluginExecutionFilter>
\r
131 </pluginExecutionFilter>
\r
136 </pluginExecutions>
\r
137 </lifecycleMappingMetadata>
\r
141 <groupId>org.apache.maven.plugins</groupId>
\r
142 <artifactId>maven-compiler-plugin</artifactId>
\r
143 <version>2.3.2</version>
\r
145 <source>1.6</source>
\r
146 <target>1.6</target>
\r
151 <groupId>org.apache.maven.plugins</groupId>
\r
152 <artifactId>maven-javadoc-plugin</artifactId>
\r
153 <version>2.10.4</version>
\r
155 <failOnError>false</failOnError>
\r
159 <id>attach-javadocs</id>
\r
169 <groupId>org.apache.maven.plugins</groupId>
\r
170 <artifactId>maven-source-plugin</artifactId>
\r
171 <version>2.2.1</version>
\r
174 <id>attach-sources</id>
\r
176 <goal>jar-no-fork</goal>
\r
183 <groupId>org.sonatype.plugins</groupId>
\r
184 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
185 <version>1.6.7</version>
\r
186 <extensions>true</extensions>
\r
188 <nexusUrl>${nexusproxy}</nexusUrl>
\r
189 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
190 <serverId>ecomp-staging</serverId>
\r
194 <groupId>org.jacoco</groupId>
\r
195 <artifactId>jacoco-maven-plugin</artifactId>
\r
196 <version>${jacoco.version}</version>
\r
198 <!-- Note: This exclusion list should match <sonar.exclusions>
\r
201 <exclude>**/gen/**</exclude>
\r
202 <exclude>**/generated-sources/**</exclude>
\r
203 <exclude>**/yang-gen/**</exclude>
\r
204 <exclude>**/pax/**</exclude>
\r
209 Prepares the property pointing to the JaCoCo runtime agent which
\r
210 is passed as VM argument when Maven the Surefire plugin is executed.
\r
213 <id>pre-unit-test</id>
\r
215 <goal>prepare-agent</goal>
\r
218 <!-- Sets the path to the file which contains the execution data. -->
\r
219 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
221 Sets the name of the property containing the settings
\r
222 for JaCoCo runtime agent.
\r
224 <propertyName>surefireArgLine</propertyName>
\r
228 Ensures that the code coverage report for unit tests is created after
\r
229 unit tests have been run.
\r
232 <id>post-unit-test</id>
\r
233 <phase>test</phase>
\r
235 <goal>report</goal>
\r
238 <!-- Sets the path to the file which contains the execution data. -->
\r
239 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
240 <!-- Sets the output directory for the code coverage report. -->
\r
241 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
245 <id>pre-integration-test</id>
\r
246 <phase>pre-integration-test</phase>
\r
248 <goal>prepare-agent</goal>
\r
251 <!-- Sets the path to the file which contains the execution data. -->
\r
252 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
254 Sets the name of the property containing the settings
\r
255 for JaCoCo runtime agent.
\r
257 <propertyName>failsafeArgLine</propertyName>
\r
261 Ensures that the code coverage report for integration tests after
\r
262 integration tests have been run.
\r
265 <id>post-integration-test</id>
\r
266 <phase>post-integration-test</phase>
\r
268 <goal>report</goal>
\r
271 <!-- Sets the path to the file which contains the execution data. -->
\r
272 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
273 <!-- Sets the output directory for the code coverage report. -->
\r
274 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
283 <distributionManagement>
\r
285 <id>ecomp-releases</id>
\r
286 <name>AAF Release Repository</name>
\r
287 <url>${nexusproxy}${releaseNexusPath}</url>
\r
289 <snapshotRepository>
\r
290 <id>ecomp-snapshots</id>
\r
291 <name>AAF Snapshot Repository</name>
\r
292 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
293 </snapshotRepository>
\r
295 <id>ecomp-site</id>
\r
296 <url>dav:${nexusproxy}${sitePath}</url>
\r
298 </distributionManagement>
\r