blob: acff60cbeb7604c6c55b9f4478922758c2ba9b2c [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>
Instrumentalc9324c82019-02-23 13:06:35 -060021 <version>2.1.11-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.sonatype.plugins</groupId>
97 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000098 <extensions>true</extensions>
99 <configuration>
100 <nexusUrl>${nexusproxy}</nexusUrl>
101 <stagingProfileId>176c31dfe190a</stagingProfileId>
102 <serverId>ecomp-staging</serverId>
103 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500104 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000105 <plugin>
106 <groupId>org.jacoco</groupId>
107 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000108 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500109 <excludes>
110 <exclude>**/gen/**</exclude>
111 <exclude>**/generated-sources/**</exclude>
112 <exclude>**/yang-gen/**</exclude>
113 <exclude>**/pax/**</exclude>
114 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000115 </configuration>
116 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500117
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000118 <execution>
119 <id>pre-unit-test</id>
120 <goals>
121 <goal>prepare-agent</goal>
122 </goals>
123 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500124 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
125 <propertyName>surefireArgLine</propertyName>
126 </configuration>
127 </execution>
128
129
130 <execution>
131 <id>post-unit-test</id>
132 <phase>test</phase>
133 <goals>
134 <goal>report</goal>
135 </goals>
136 <configuration>
137 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
138 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000139 </configuration>
140 </execution>
141 <execution>
142 <id>pre-integration-test</id>
143 <phase>pre-integration-test</phase>
144 <goals>
145 <goal>prepare-agent</goal>
146 </goals>
147 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500148 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
149 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000150 </configuration>
151 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500152
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000153 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500154 <id>post-integration-test</id>
155 <phase>post-integration-test</phase>
156 <goals>
157 <goal>report</goal>
158 </goals>
159 <configuration>
160 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
161 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
162 </configuration>
163 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000164 </executions>
165 </plugin>
Instrumentaldcaa1072018-05-24 10:03:19 -0500166 <plugin>
167 <artifactId>maven-assembly-plugin</artifactId>
168 <configuration>
169 <classifier>tests</classifier>
170 <archive>
171 <manifest>
172 <mainClass>org.onap.aaf.auth.cmd.AAFcli</mainClass>
173 </manifest>
174 <manifestEntries>
175 <Sealed>true</Sealed>
176 </manifestEntries>
177 </archive>
178 </configuration>
179 <executions>
180 <execution>
181 <id>full</id>
182 <phase>package</phase>
183 <goals>
184 <goal>single</goal>
185 </goals>
186 <configuration>
187 <descriptors>
188 <descriptor>src/assemble/auth-cmd.xml</descriptor>
189 </descriptors>
190 </configuration>
191 </execution>
192 </executions>
193 </plugin>
194
gabe.maurer2e233282018-04-03 11:18:38 -0500195 </plugins>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000196 </build>
gabe.maurer2e233282018-04-03 11:18:38 -0500197
Instrumental71037c32018-03-26 13:51:48 -0700198 <dependencies>
199 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000200 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700201 <artifactId>aaf-cadi-aaf</artifactId>
202 </dependency>
203
204 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000205 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700206 <artifactId>aaf-auth-core</artifactId>
207 </dependency>
208
209 <dependency>
210 <groupId>jline</groupId>
211 <artifactId>jline</artifactId>
212 <version>2.14.2</version>
213 </dependency>
214
215 </dependencies>
gabe.maurer2e233282018-04-03 11:18:38 -0500216
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000217 <distributionManagement>
218 <repository>
219 <id>ecomp-releases</id>
220 <name>AAF Release Repository</name>
221 <url>${nexusproxy}${releaseNexusPath}</url>
222 </repository>
223 <snapshotRepository>
224 <id>ecomp-snapshots</id>
225 <name>AAF Snapshot Repository</name>
226 <url>${nexusproxy}${snapshotNexusPath}</url>
227 </snapshotRepository>
228 <site>
229 <id>ecomp-site</id>
230 <url>dav:${nexusproxy}${sitePath}</url>
231 </site>
232 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700233</project>