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-cmd</artifactId>
\r
35 <name>Authz Command</name>
\r
36 <description>Command Line Processor for Authz</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
55 <maven.test.failure.ignore>false</maven.test.failure.ignore>
\r
56 <project.swmVersion>21</project.swmVersion>
\r
57 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\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>true</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
74 <groupId>org.onap.aaf.cadi</groupId>
\r
75 <artifactId>cadi-aaf</artifactId>
\r
76 <version>${project.cadiVersion}</version>
\r
80 <groupId>org.onap.aaf.authz</groupId>
\r
81 <artifactId>authz-core</artifactId>
\r
82 <version>${project.version}</version>
\r
86 <groupId>jline</groupId>
\r
87 <artifactId>jline</artifactId>
\r
88 <version>2.14.2</version>
\r
92 <groupId>org.slf4j</groupId>
\r
93 <artifactId>slf4j-log4j12</artifactId>
\r
101 <artifactId>maven-assembly-plugin</artifactId>
\r
102 <version>2.4</version>
\r
104 <classifier>tests</classifier>
\r
107 <Sealed>true</Sealed>
\r
114 <phase>package</phase>
\r
116 <goal>single</goal>
\r
120 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>
\r
128 <groupId>org.apache.maven.plugins</groupId>
\r
129 <artifactId>maven-javadoc-plugin</artifactId>
\r
130 <version>2.10.4</version>
\r
132 <failOnError>false</failOnError>
\r
136 <id>attach-javadocs</id>
\r
146 <groupId>org.apache.maven.plugins</groupId>
\r
147 <artifactId>maven-source-plugin</artifactId>
\r
148 <version>2.2.1</version>
\r
151 <id>attach-sources</id>
\r
153 <goal>jar-no-fork</goal>
\r
159 <groupId>org.sonatype.plugins</groupId>
\r
160 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
161 <version>1.6.7</version>
\r
162 <extensions>true</extensions>
\r
164 <nexusUrl>${nexusproxy}</nexusUrl>
\r
165 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
166 <serverId>ecomp-staging</serverId>
\r
170 <groupId>org.jacoco</groupId>
\r
171 <artifactId>jacoco-maven-plugin</artifactId>
\r
172 <version>${jacoco.version}</version>
\r
174 <!-- Note: This exclusion list should match <sonar.exclusions>
\r
177 <exclude>**/gen/**</exclude>
\r
178 <exclude>**/generated-sources/**</exclude>
\r
179 <exclude>**/yang-gen/**</exclude>
\r
180 <exclude>**/pax/**</exclude>
\r
185 Prepares the property pointing to the JaCoCo runtime agent which
\r
186 is passed as VM argument when Maven the Surefire plugin is executed.
\r
189 <id>pre-unit-test</id>
\r
191 <goal>prepare-agent</goal>
\r
194 <!-- Sets the path to the file which contains the execution data. -->
\r
195 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
197 Sets the name of the property containing the settings
\r
198 for JaCoCo runtime agent.
\r
200 <propertyName>surefireArgLine</propertyName>
\r
204 Ensures that the code coverage report for unit tests is created after
\r
205 unit tests have been run.
\r
208 <id>post-unit-test</id>
\r
209 <phase>test</phase>
\r
211 <goal>report</goal>
\r
214 <!-- Sets the path to the file which contains the execution data. -->
\r
215 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
216 <!-- Sets the output directory for the code coverage report. -->
\r
217 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
221 <id>pre-integration-test</id>
\r
222 <phase>pre-integration-test</phase>
\r
224 <goal>prepare-agent</goal>
\r
227 <!-- Sets the path to the file which contains the execution data. -->
\r
228 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
230 Sets the name of the property containing the settings
\r
231 for JaCoCo runtime agent.
\r
233 <propertyName>failsafeArgLine</propertyName>
\r
237 Ensures that the code coverage report for integration tests after
\r
238 integration tests have been run.
\r
241 <id>post-integration-test</id>
\r
242 <phase>post-integration-test</phase>
\r
244 <goal>report</goal>
\r
247 <!-- Sets the path to the file which contains the execution data. -->
\r
248 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
249 <!-- Sets the output directory for the code coverage report. -->
\r
250 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
260 </pluginManagement>
\r
262 <distributionManagement>
\r
264 <id>ecomp-releases</id>
\r
265 <name>AAF Release Repository</name>
\r
266 <url>${nexusproxy}${releaseNexusPath}</url>
\r
268 <snapshotRepository>
\r
269 <id>ecomp-snapshots</id>
\r
270 <name>AAF Snapshot Repository</name>
\r
271 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
272 </snapshotRepository>
\r
274 <id>ecomp-site</id>
\r
275 <url>dav:${nexusproxy}${sitePath}</url>
\r
277 </distributionManagement>
\r