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 * ===========================================================================
\r
8 * Licensed under the Apache License, Version 2.0 (the "License");
\r
9 * you may not use this file except in compliance with the License.
\r
10 * You may obtain a copy of the License at
\r
12 * http://www.apache.org/licenses/LICENSE-2.0
\r
14 * Unless required by applicable law or agreed to in writing, software
\r
15 * distributed under the License is distributed on an "AS IS" BASIS,
\r
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
17 * See the License for the specific language governing permissions and
\r
18 * limitations under the License.
\r
19 * ============LICENSE_END====================================================
\r
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
26 <modelVersion>4.0.0</modelVersion>
\r
28 <groupId>org.onap.aaf.authz</groupId>
\r
29 <artifactId>parent</artifactId>
\r
30 <version>1.0.1-SNAPSHOT</version>
\r
31 <relativePath>../pom.xml</relativePath>
\r
34 <artifactId>authz-test</artifactId>
\r
35 <name>Authz TestCases</name>
\r
36 <description>TestCase Suite for Authz/Authn</description>
\r
37 <packaging>jar</packaging>
\r
38 <url>https://github.com/att/AAF</url>
\r
41 <name>BSD License</name>
\r
47 <name>Jonathan Gathman</name>
\r
49 <organization>ATT</organization>
\r
50 <organizationUrl></organizationUrl>
\r
56 <maven.test.failure.ignore>false</maven.test.failure.ignore>
\r
57 <project.swmVersion>0</project.swmVersion>
\r
58 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
\r
59 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\r
60 <sonar.language>java</sonar.language>
\r
61 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
62 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
63 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
64 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
65 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
\r
66 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
67 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
68 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
69 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
70 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
71 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
\r
77 <groupId>org.onap.aaf.cadi</groupId>
\r
78 <artifactId>cadi-aaf</artifactId>
\r
79 <version>${project.cadiVersion}</version>
\r
83 <groupId>org.onap.aaf.authz</groupId>
\r
84 <artifactId>authz-client</artifactId>
\r
85 <version>${project.version}</version>
\r
89 <groupId>org.onap.aaf.authz</groupId>
\r
90 <artifactId>authz-core</artifactId>
\r
91 <version>${project.version}</version>
\r
95 <groupId>org.onap.aaf.authz</groupId>
\r
96 <artifactId>authz-cmd</artifactId>
\r
97 <version>${project.version}</version>
\r
101 <groupId>com.att.aft</groupId>
\r
102 <artifactId>dme2</artifactId>
\r
107 <groupId>org.apache.jmeter</groupId>
\r
108 <artifactId>ApacheJMeter_java</artifactId>
\r
109 <version>2.11</version>
\r
113 <groupId>junit</groupId>
\r
114 <artifactId>junit</artifactId>
\r
115 <version>4.7</version>
\r
116 <scope>test</scope>
\r
124 <groupId>org.apache.maven.plugins</groupId>
\r
125 <artifactId>maven-failsafe-plugin</artifactId>
\r
128 <include>**/AAFJUnitTest.java</include>
\r
134 <groupId>org.apache.maven.plugins</groupId>
\r
135 <artifactId>maven-surefire-plugin</artifactId>
\r
138 <exclude>**/AAFJUnitTest.java</exclude>
\r
144 <groupId>org.apache.maven.plugins</groupId>
\r
145 <artifactId>maven-javadoc-plugin</artifactId>
\r
146 <version>2.10.4</version>
\r
148 <failOnError>false</failOnError>
\r
152 <id>attach-javadocs</id>
\r
162 <groupId>org.apache.maven.plugins</groupId>
\r
163 <artifactId>maven-source-plugin</artifactId>
\r
164 <version>2.2.1</version>
\r
167 <id>attach-sources</id>
\r
169 <goal>jar-no-fork</goal>
\r
175 <groupId>org.sonatype.plugins</groupId>
\r
176 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
177 <version>1.6.7</version>
\r
178 <extensions>true</extensions>
\r
180 <nexusUrl>${nexusproxy}</nexusUrl>
\r
181 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
182 <serverId>ecomp-staging</serverId>
\r
186 <groupId>org.jacoco</groupId>
\r
187 <artifactId>jacoco-maven-plugin</artifactId>
\r
188 <version>${jacoco.version}</version>
\r
190 <!-- Note: This exclusion list should match <sonar.exclusions>
\r
193 <exclude>**/gen/**</exclude>
\r
194 <exclude>**/generated-sources/**</exclude>
\r
195 <exclude>**/yang-gen/**</exclude>
\r
196 <exclude>**/pax/**</exclude>
\r
201 Prepares the property pointing to the JaCoCo runtime agent which
\r
202 is passed as VM argument when Maven the Surefire plugin is executed.
\r
205 <id>pre-unit-test</id>
\r
207 <goal>prepare-agent</goal>
\r
210 <!-- Sets the path to the file which contains the execution data. -->
\r
211 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
213 Sets the name of the property containing the settings
\r
214 for JaCoCo runtime agent.
\r
216 <propertyName>surefireArgLine</propertyName>
\r
220 Ensures that the code coverage report for unit tests is created after
\r
221 unit tests have been run.
\r
224 <id>post-unit-test</id>
\r
225 <phase>test</phase>
\r
227 <goal>report</goal>
\r
230 <!-- Sets the path to the file which contains the execution data. -->
\r
231 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
232 <!-- Sets the output directory for the code coverage report. -->
\r
233 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
237 <id>pre-integration-test</id>
\r
238 <phase>pre-integration-test</phase>
\r
240 <goal>prepare-agent</goal>
\r
243 <!-- Sets the path to the file which contains the execution data. -->
\r
244 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
246 Sets the name of the property containing the settings
\r
247 for JaCoCo runtime agent.
\r
249 <propertyName>failsafeArgLine</propertyName>
\r
253 Ensures that the code coverage report for integration tests after
\r
254 integration tests have been run.
\r
257 <id>post-integration-test</id>
\r
258 <phase>post-integration-test</phase>
\r
260 <goal>report</goal>
\r
263 <!-- Sets the path to the file which contains the execution data. -->
\r
264 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
265 <!-- Sets the output directory for the code coverage report. -->
\r
266 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
274 </pluginManagement>
\r
276 <distributionManagement>
\r
278 <id>ecomp-releases</id>
\r
279 <name>AAF Release Repository</name>
\r
280 <url>${nexusproxy}${releaseNexusPath}</url>
\r
282 <snapshotRepository>
\r
283 <id>ecomp-snapshots</id>
\r
284 <name>AAF Snapshot Repository</name>
\r
285 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
286 </snapshotRepository>
\r
288 <id>ecomp-site</id>
\r
289 <url>dav:${nexusproxy}${sitePath}</url>
\r
291 </distributionManagement>
\r