blob: 91b71e263000e1bc0665135dfecb072d0a3ef3ca [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====================================================
Instrumentale9ae0482019-08-02 14:46:27 -05003 * 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"
Instrumentale9ae0482019-08-02 14:46:27 -050016 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>
19 <groupId>org.onap.aaf.authz</groupId>
20 <artifactId>authparent</artifactId>
John J. Franeydf9bf072020-04-20 16:30:20 -040021 <version>2.1.20</version>
Instrumentale9ae0482019-08-02 14:46:27 -050022 <relativePath>../pom.xml</relativePath>
23 </parent>
Instrumental71037c32018-03-26 13:51:48 -070024
Instrumentale9ae0482019-08-02 14:46:27 -050025 <artifactId>aaf-auth-cmd</artifactId>
26 <name>AAF Auth Command</name>
27 <description>Command Line Processor for AAF Auth</description>
28 <packaging>jar</packaging>
Instrumental71037c32018-03-26 13:51:48 -070029
Instrumentale9ae0482019-08-02 14:46:27 -050030 <properties>
31 <maven.test.failure.ignore>false</maven.test.failure.ignore>
32 <!-- SONAR -->
33 <!-- <sonar.skip>true</sonar.skip> -->
34 <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 -->
38 <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>
40 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
41 below -->
42 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
48 </properties>
Instrumental71037c32018-03-26 13:51:48 -070049
Instrumentale9ae0482019-08-02 14:46:27 -050050 <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>
Instrumentale9ae0482019-08-02 14:46:27 -050061 <name>Sai Gandham</name>
62 <email>sai.gandham@att.com</email>
63 <organization>ATT</organization>
64 <roles>
65 <role>Developer</role>
66 </roles>
67 </developer>
68 </developers>
Instrumental71037c32018-03-26 13:51:48 -070069
Instrumentale9ae0482019-08-02 14:46:27 -050070 <build>
71 <plugins>
72 <plugin>
73 <groupId>org.jacoco</groupId>
74 <artifactId>jacoco-maven-plugin</artifactId>
75 <configuration>
76 <excludes>
77 <exclude>**/gen/**</exclude>
78 <exclude>**/generated-sources/**</exclude>
79 <exclude>**/yang-gen/**</exclude>
80 <exclude>**/pax/**</exclude>
81 </excludes>
82 </configuration>
83 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -050084
Instrumentale9ae0482019-08-02 14:46:27 -050085 <execution>
86 <id>pre-unit-test</id>
87 <goals>
88 <goal>prepare-agent</goal>
89 </goals>
90 <configuration>
91 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
92 <propertyName>surefireArgLine</propertyName>
93 </configuration>
94 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -050095
96
Instrumentale9ae0482019-08-02 14:46:27 -050097 <execution>
98 <id>post-unit-test</id>
99 <phase>test</phase>
100 <goals>
101 <goal>report</goal>
102 </goals>
103 <configuration>
104 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
105 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
106 </configuration>
107 </execution>
108 <execution>
109 <id>pre-integration-test</id>
110 <phase>pre-integration-test</phase>
111 <goals>
112 <goal>prepare-agent</goal>
113 </goals>
114 <configuration>
115 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
116 <propertyName>failsafeArgLine</propertyName>
117 </configuration>
118 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500119
Instrumentale9ae0482019-08-02 14:46:27 -0500120 <execution>
121 <id>post-integration-test</id>
122 <phase>post-integration-test</phase>
123 <goals>
124 <goal>report</goal>
125 </goals>
126 <configuration>
127 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
128 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 <plugin>
134 <artifactId>maven-assembly-plugin</artifactId>
135 <configuration>
136 <classifier>tests</classifier>
137 <archive>
138 <manifest>
139 <mainClass>org.onap.aaf.auth.cmd.AAFcli</mainClass>
140 </manifest>
141 <manifestEntries>
142 <Sealed>true</Sealed>
143 </manifestEntries>
144 </archive>
145 </configuration>
146 <executions>
147 <execution>
148 <id>full</id>
149 <phase>package</phase>
150 <goals>
151 <goal>single</goal>
152 </goals>
153 <configuration>
154 <descriptors>
155 <descriptor>src/assemble/auth-cmd.xml</descriptor>
156 </descriptors>
157 </configuration>
158 </execution>
159 </executions>
160 </plugin>
161
162 </plugins>
163 </build>
gabe.maurer2e233282018-04-03 11:18:38 -0500164
Instrumentale9ae0482019-08-02 14:46:27 -0500165 <dependencies>
166 <dependency>
167 <groupId>org.onap.aaf.authz</groupId>
168 <artifactId>aaf-cadi-aaf</artifactId>
169 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700170
Instrumentale9ae0482019-08-02 14:46:27 -0500171 <dependency>
172 <groupId>org.onap.aaf.authz</groupId>
173 <artifactId>aaf-auth-core</artifactId>
174 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700175
Instrumentale9ae0482019-08-02 14:46:27 -0500176 <dependency>
177 <groupId>jline</groupId>
178 <artifactId>jline</artifactId>
179 <version>2.14.2</version>
180 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700181
Instrumentale9ae0482019-08-02 14:46:27 -0500182 </dependencies>
gabe.maurer2e233282018-04-03 11:18:38 -0500183
Instrumentale9ae0482019-08-02 14:46:27 -0500184 <distributionManagement>
185 <repository>
186 <id>ecomp-releases</id>
187 <name>AAF Release Repository</name>
188 <url>${nexusproxy}${releaseNexusPath}</url>
189 </repository>
190 <snapshotRepository>
191 <id>ecomp-snapshots</id>
192 <name>AAF Snapshot Repository</name>
193 <url>${nexusproxy}${snapshotNexusPath}</url>
194 </snapshotRepository>
195 <site>
196 <id>ecomp-site</id>
197 <url>dav:${nexusproxy}${sitePath}</url>
198 </site>
199 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700200</project>