blob: 2bdca1bc47ff7aa2ea6634ae3b0fcd942fdc6693 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
20 *
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.aaf.authz</groupId>
29 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040030 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040031 <relativePath>../pom.xml</relativePath>
32 </parent>
33
34 <artifactId>authz-cmd</artifactId>
35 <name>Authz Command</name>
36 <description>Command Line Processor for Authz</description>
37 <packaging>jar</packaging>
38 <url>https://github.com/att/AAF</url>
39 <licenses>
40 <license>
41 <name>BSD License</name>
42 <url> </url>
43 </license>
44 </licenses>
45 <developers>
46 <developer>
47 <name>Jonathan Gathman</name>
48 <email></email>
49 <organization>ATT</organization>
50 <organizationUrl></organizationUrl>
51 </developer>
52 </developers>
53
54 <properties>
sg481n08e11042017-09-29 12:33:53 +000055 <maven.test.failure.ignore>false</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040056 <project.swmVersion>21</project.swmVersion>
57 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040058 <sonar.language>java</sonar.language>
59 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
60 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
61 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
62 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nd84864f2017-10-01 20:56:42 +000063 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040064 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040065 <nexusproxy>https://nexus.onap.org</nexusproxy>
66 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
67 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
68 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000069 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040070 </properties>
71
72 <dependencies>
73 <dependency>
74 <groupId>org.onap.aaf.cadi</groupId>
75 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040076 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040077 </dependency>
78
79 <dependency>
80 <groupId>org.onap.aaf.authz</groupId>
81 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040082 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040083 </dependency>
84
85 <dependency>
86 <groupId>jline</groupId>
87 <artifactId>jline</artifactId>
88 <version>2.14.2</version>
89 </dependency>
90
91 <dependency>
92 <groupId>org.slf4j</groupId>
93 <artifactId>slf4j-log4j12</artifactId>
94 </dependency>
95
96 </dependencies>
97
98 <build>
99 <plugins>
100 <plugin>
101 <artifactId>maven-assembly-plugin</artifactId>
102 <version>2.4</version>
103 <configuration>
104 <classifier>tests</classifier>
105 <archive>
106 <manifestEntries>
107 <Sealed>true</Sealed>
108 </manifestEntries>
109 </archive>
110 </configuration>
111 <executions>
112 <execution>
113 <id>full</id>
114 <phase>package</phase>
115 <goals>
116 <goal>single</goal>
117 </goals>
118 <configuration>
119 <descriptors>
120 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>
121 </descriptors>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
sg481na2ac6782017-09-18 16:35:50 -0400126
sg481nbd890c52017-08-28 12:11:35 -0400127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000130 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400131 <configuration>
132 <failOnError>false</failOnError>
133 </configuration>
134 <executions>
135 <execution>
136 <id>attach-javadocs</id>
137 <goals>
138 <goal>jar</goal>
139 </goals>
140 </execution>
141 </executions>
sg481na9d21082017-09-23 14:26:06 +0000142 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400143
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-source-plugin</artifactId>
148 <version>2.2.1</version>
149 <executions>
150 <execution>
151 <id>attach-sources</id>
152 <goals>
153 <goal>jar-no-fork</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <groupId>org.sonatype.plugins</groupId>
160 <artifactId>nexus-staging-maven-plugin</artifactId>
161 <version>1.6.7</version>
162 <extensions>true</extensions>
163 <configuration>
164 <nexusUrl>${nexusproxy}</nexusUrl>
165 <stagingProfileId>176c31dfe190a</stagingProfileId>
166 <serverId>ecomp-staging</serverId>
167 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400168 </plugin>
169 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000170 <groupId>org.jacoco</groupId>
171 <artifactId>jacoco-maven-plugin</artifactId>
172 <version>${jacoco.version}</version>
173 <configuration>
174 <!-- Note: This exclusion list should match <sonar.exclusions>
175 property above -->
176 <excludes>
177 <exclude>**/gen/**</exclude>
178 <exclude>**/generated-sources/**</exclude>
179 <exclude>**/yang-gen/**</exclude>
180 <exclude>**/pax/**</exclude>
181 </excludes>
182 </configuration>
183 <executions>
184 <!--
185 Prepares the property pointing to the JaCoCo runtime agent which
186 is passed as VM argument when Maven the Surefire plugin is executed.
187 -->
188 <execution>
189 <id>pre-unit-test</id>
190 <goals>
191 <goal>prepare-agent</goal>
192 </goals>
193 <configuration>
194 <!-- Sets the path to the file which contains the execution data. -->
195 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
196 <!--
197 Sets the name of the property containing the settings
198 for JaCoCo runtime agent.
199 -->
200 <propertyName>surefireArgLine</propertyName>
201 </configuration>
202 </execution>
203 <!--
204 Ensures that the code coverage report for unit tests is created after
205 unit tests have been run.
206 -->
207 <execution>
208 <id>post-unit-test</id>
209 <phase>test</phase>
210 <goals>
211 <goal>report</goal>
212 </goals>
213 <configuration>
214 <!-- Sets the path to the file which contains the execution data. -->
215 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
216 <!-- Sets the output directory for the code coverage report. -->
217 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
218 </configuration>
219 </execution>
220 <execution>
221 <id>pre-integration-test</id>
222 <phase>pre-integration-test</phase>
223 <goals>
224 <goal>prepare-agent</goal>
225 </goals>
226 <configuration>
227 <!-- Sets the path to the file which contains the execution data. -->
228 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
229 <!--
230 Sets the name of the property containing the settings
231 for JaCoCo runtime agent.
232 -->
233 <propertyName>failsafeArgLine</propertyName>
234 </configuration>
235 </execution>
236 <!--
237 Ensures that the code coverage report for integration tests after
238 integration tests have been run.
239 -->
240 <execution>
241 <id>post-integration-test</id>
242 <phase>post-integration-test</phase>
243 <goals>
244 <goal>report</goal>
245 </goals>
246 <configuration>
247 <!-- Sets the path to the file which contains the execution data. -->
248 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
249 <!-- Sets the output directory for the code coverage report. -->
250 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
251 </configuration>
252 </execution>
253 </executions>
254 </plugin>
255
sg481nbd890c52017-08-28 12:11:35 -0400256
257 </plugins>
258 <pluginManagement>
259 <plugins/>
260 </pluginManagement>
261 </build>
262<distributionManagement>
263 <repository>
264 <id>ecomp-releases</id>
265 <name>AAF Release Repository</name>
266 <url>${nexusproxy}${releaseNexusPath}</url>
267 </repository>
268 <snapshotRepository>
269 <id>ecomp-snapshots</id>
270 <name>AAF Snapshot Repository</name>
271 <url>${nexusproxy}${snapshotNexusPath}</url>
272 </snapshotRepository>
273 <site>
274 <id>ecomp-site</id>
275 <url>dav:${nexusproxy}${sitePath}</url>
276 </site>
277 </distributionManagement>
sg481nbd890c52017-08-28 12:11:35 -0400278
279</project>