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-fs</artifactId>
\r
35 <name>Authz File Server</name>
\r
36 <description>Independent FileServer via HTTP (not S) for Public Files (i.e. CRLs)</description>
\r
37 <url>https://github.com/att/AAF</url>
\r
40 <name>BSD License</name>
\r
46 <name>Jonathan Gathman</name>
\r
48 <organization>ATT</organization>
\r
49 <organizationUrl></organizationUrl>
\r
54 <maven.test.failure.ignore>true</maven.test.failure.ignore>
\r
55 <project.swmVersion>9</project.swmVersion>
\r
56 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\r
57 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
\r
58 <sonar.language>java</sonar.language>
\r
59 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
60 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
61 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
62 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
63 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
\r
64 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
65 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
66 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
67 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
68 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
69 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
\r
75 <groupId>org.onap.aaf.authz</groupId>
\r
76 <artifactId>authz-core</artifactId>
\r
77 <version>${project.version}</version>
\r
80 <groupId>org.onap.aaf.cadi</groupId>
\r
81 <artifactId>cadi-core</artifactId>
\r
82 <version>${project.cadiVersion}</version>
\r
85 <groupId>com.att.aft</groupId>
\r
86 <artifactId>dme2</artifactId>
\r
93 <groupId>org.apache.maven.plugins</groupId>
\r
94 <artifactId>maven-jar-plugin</artifactId>
\r
97 <include>**/*.class</include>
\r
100 <version>2.3.1</version>
\r
104 <groupId>org.apache.maven.plugins</groupId>
\r
105 <artifactId>maven-javadoc-plugin</artifactId>
\r
106 <version>2.10.4</version>
\r
108 <failOnError>false</failOnError>
\r
112 <id>attach-javadocs</id>
\r
122 <groupId>org.apache.maven.plugins</groupId>
\r
123 <artifactId>maven-source-plugin</artifactId>
\r
124 <version>2.2.1</version>
\r
127 <id>attach-sources</id>
\r
129 <goal>jar-no-fork</goal>
\r
135 <groupId>org.sonatype.plugins</groupId>
\r
136 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
137 <version>1.6.7</version>
\r
138 <extensions>true</extensions>
\r
140 <nexusUrl>${nexusproxy}</nexusUrl>
\r
141 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
142 <serverId>ecomp-staging</serverId>
\r
146 <groupId>org.jacoco</groupId>
\r
147 <artifactId>jacoco-maven-plugin</artifactId>
\r
148 <version>${jacoco.version}</version>
\r
150 <!-- Note: This exclusion list should match <sonar.exclusions>
\r
153 <exclude>**/gen/**</exclude>
\r
154 <exclude>**/generated-sources/**</exclude>
\r
155 <exclude>**/yang-gen/**</exclude>
\r
156 <exclude>**/pax/**</exclude>
\r
161 Prepares the property pointing to the JaCoCo runtime agent which
\r
162 is passed as VM argument when Maven the Surefire plugin is executed.
\r
165 <id>pre-unit-test</id>
\r
167 <goal>prepare-agent</goal>
\r
170 <!-- Sets the path to the file which contains the execution data. -->
\r
171 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
173 Sets the name of the property containing the settings
\r
174 for JaCoCo runtime agent.
\r
176 <propertyName>surefireArgLine</propertyName>
\r
180 Ensures that the code coverage report for unit tests is created after
\r
181 unit tests have been run.
\r
184 <id>post-unit-test</id>
\r
185 <phase>test</phase>
\r
187 <goal>report</goal>
\r
190 <!-- Sets the path to the file which contains the execution data. -->
\r
191 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
192 <!-- Sets the output directory for the code coverage report. -->
\r
193 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
197 <id>pre-integration-test</id>
\r
198 <phase>pre-integration-test</phase>
\r
200 <goal>prepare-agent</goal>
\r
203 <!-- Sets the path to the file which contains the execution data. -->
\r
204 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
206 Sets the name of the property containing the settings
\r
207 for JaCoCo runtime agent.
\r
209 <propertyName>failsafeArgLine</propertyName>
\r
213 Ensures that the code coverage report for integration tests after
\r
214 integration tests have been run.
\r
217 <id>post-integration-test</id>
\r
218 <phase>post-integration-test</phase>
\r
220 <goal>report</goal>
\r
223 <!-- Sets the path to the file which contains the execution data. -->
\r
224 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
225 <!-- Sets the output directory for the code coverage report. -->
\r
226 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
235 <distributionManagement>
\r
237 <id>ecomp-releases</id>
\r
238 <name>AAF Release Repository</name>
\r
239 <url>${nexusproxy}${releaseNexusPath}</url>
\r
241 <snapshotRepository>
\r
242 <id>ecomp-snapshots</id>
\r
243 <name>AAF Snapshot Repository</name>
\r
244 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
245 </snapshotRepository>
\r
247 <id>ecomp-site</id>
\r
248 <url>dav:${nexusproxy}${sitePath}</url>
\r
250 </distributionManagement>
\r