blob: 6c6505fcbcf547c8240e57c4825c27de13657211 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
gabe.maurer2e233282018-04-03 11:18:38 -05002<!-- * ============LICENSE_START====================================================
3 * org.onap.aaf * ===========================================================================
4 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * ===========================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
6 not use this file except in compliance with the License. * You may obtain
7 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
8 * Unless required by applicable law or agreed to in writing, software * distributed
9 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
10 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
11 the specific language governing permissions and * limitations under the License.
12 * ============LICENSE_END====================================================
13 * -->
Instrumental71037c32018-03-26 13:51:48 -070014
15<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
17 <modelVersion>4.0.0</modelVersion>
18 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000019 <groupId>org.onap.aaf.authz</groupId>
20 <artifactId>authparent</artifactId>
Gathman, Jonathan (jg1555)58c2a712019-07-17 16:07:20 -050021 <version>2.1.15-SNAPSHOT</version>
Instrumental71037c32018-03-26 13:51:48 -070022 <relativePath>../pom.xml</relativePath>
23 </parent>
24
25 <artifactId>aaf-auth-cmd</artifactId>
26 <name>AAF Auth Command</name>
27 <description>Command Line Processor for AAF Auth</description>
28 <packaging>jar</packaging>
29
30 <properties>
31 <maven.test.failure.ignore>false</maven.test.failure.ignore>
gabe.maurer2e233282018-04-03 11:18:38 -050032 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000033 <!-- <sonar.skip>true</sonar.skip> -->
gabe.maurer2e233282018-04-03 11:18:38 -050034 <jacoco.version>0.7.7.201606060606</jacoco.version>
35 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
36 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
37 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050038 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
39 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
gabe.maurer2e233282018-04-03 11:18:38 -050040 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
41 below -->
42 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000043 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000047 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumental71037c32018-03-26 13:51:48 -070048 </properties>
49
50 <developers>
51 <developer>
52 <name>Jonathan Gathman</name>
53 <email>jonathan.gathman@att.com</email>
54 <organization>ATT</organization>
55 <roles>
56 <role>Architect</role>
57 <role>Lead Developer</role>
58 </roles>
59 </developer>
60 <developer>
61 <name>Gabe Maurer</name>
62 <email>gabe.maurer@att.com</email>
63 <organization>ATT</organization>
64 <roles>
65 <role>Developer</role>
66 </roles>
67 </developer>
68 <developer>
69 <name>Ian Howell</name>
70 <email>ian.howell@att.com</email>
71 <organization>ATT</organization>
72 <roles>
73 <role>Developer</role>
74 </roles>
75 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000076 <developer>
77 <name>Sai Gandham</name>
78 <email>sai.gandham@att.com</email>
79 <organization>ATT</organization>
80 <roles>
81 <role>Developer</role>
82 </roles>
83 </developer>
Instrumental71037c32018-03-26 13:51:48 -070084 </developers>
85
Sai Gandhamc434f3c2018-03-27 16:29:24 +000086 <build>
gabe.maurer2e233282018-04-03 11:18:38 -050087 <plugins>
88 <plugin>
Sai Gandham05c86472018-03-27 21:08:58 +000089 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-deploy-plugin</artifactId>
91 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -050092 <skip>false</skip>
Sai Gandham05c86472018-03-27 21:08:58 +000093 </configuration>
94 </plugin>
gabe.maurer2e233282018-04-03 11:18:38 -050095 <plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000096 <groupId>org.jacoco</groupId>
97 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000098 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -050099 <excludes>
100 <exclude>**/gen/**</exclude>
101 <exclude>**/generated-sources/**</exclude>
102 <exclude>**/yang-gen/**</exclude>
103 <exclude>**/pax/**</exclude>
104 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000105 </configuration>
106 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500107
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000108 <execution>
109 <id>pre-unit-test</id>
110 <goals>
111 <goal>prepare-agent</goal>
112 </goals>
113 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500114 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
115 <propertyName>surefireArgLine</propertyName>
116 </configuration>
117 </execution>
118
119
120 <execution>
121 <id>post-unit-test</id>
122 <phase>test</phase>
123 <goals>
124 <goal>report</goal>
125 </goals>
126 <configuration>
127 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
128 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000129 </configuration>
130 </execution>
131 <execution>
132 <id>pre-integration-test</id>
133 <phase>pre-integration-test</phase>
134 <goals>
135 <goal>prepare-agent</goal>
136 </goals>
137 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500138 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
139 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000140 </configuration>
141 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500142
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000143 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500144 <id>post-integration-test</id>
145 <phase>post-integration-test</phase>
146 <goals>
147 <goal>report</goal>
148 </goals>
149 <configuration>
150 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
151 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
152 </configuration>
153 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000154 </executions>
155 </plugin>
Instrumentaldcaa1072018-05-24 10:03:19 -0500156 <plugin>
157 <artifactId>maven-assembly-plugin</artifactId>
158 <configuration>
159 <classifier>tests</classifier>
160 <archive>
161 <manifest>
162 <mainClass>org.onap.aaf.auth.cmd.AAFcli</mainClass>
163 </manifest>
164 <manifestEntries>
165 <Sealed>true</Sealed>
166 </manifestEntries>
167 </archive>
168 </configuration>
169 <executions>
170 <execution>
171 <id>full</id>
172 <phase>package</phase>
173 <goals>
174 <goal>single</goal>
175 </goals>
176 <configuration>
177 <descriptors>
178 <descriptor>src/assemble/auth-cmd.xml</descriptor>
179 </descriptors>
180 </configuration>
181 </execution>
182 </executions>
183 </plugin>
184
gabe.maurer2e233282018-04-03 11:18:38 -0500185 </plugins>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000186 </build>
gabe.maurer2e233282018-04-03 11:18:38 -0500187
Instrumental71037c32018-03-26 13:51:48 -0700188 <dependencies>
189 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000190 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700191 <artifactId>aaf-cadi-aaf</artifactId>
192 </dependency>
193
194 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000195 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700196 <artifactId>aaf-auth-core</artifactId>
197 </dependency>
198
199 <dependency>
200 <groupId>jline</groupId>
201 <artifactId>jline</artifactId>
202 <version>2.14.2</version>
203 </dependency>
204
205 </dependencies>
gabe.maurer2e233282018-04-03 11:18:38 -0500206
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000207 <distributionManagement>
208 <repository>
209 <id>ecomp-releases</id>
210 <name>AAF Release Repository</name>
211 <url>${nexusproxy}${releaseNexusPath}</url>
212 </repository>
213 <snapshotRepository>
214 <id>ecomp-snapshots</id>
215 <name>AAF Snapshot Repository</name>
216 <url>${nexusproxy}${snapshotNexusPath}</url>
217 </snapshotRepository>
218 <site>
219 <id>ecomp-site</id>
220 <url>dav:${nexusproxy}${sitePath}</url>
221 </site>
222 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700223</project>