blob: f42237dad734791d3ccfcf26900d6ff6450bdb42 [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>
sg481n4ccc6b82017-10-04 17:29:37 +000058 <!-- SONAR -->
59 <jacoco.version>0.7.7.201606060606</jacoco.version>
60 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
61 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
62 <!-- Default Sonar configuration -->
63 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
64 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
65 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
66 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481nbd890c52017-08-28 12:11:35 -040067 <nexusproxy>https://nexus.onap.org</nexusproxy>
68 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
69 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
70 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000071 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040072 </properties>
73
74 <dependencies>
75 <dependency>
76 <groupId>org.onap.aaf.cadi</groupId>
77 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040078 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040079 </dependency>
80
81 <dependency>
82 <groupId>org.onap.aaf.authz</groupId>
83 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040084 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040085 </dependency>
86
87 <dependency>
88 <groupId>jline</groupId>
89 <artifactId>jline</artifactId>
90 <version>2.14.2</version>
91 </dependency>
92
93 <dependency>
94 <groupId>org.slf4j</groupId>
95 <artifactId>slf4j-log4j12</artifactId>
96 </dependency>
97
98 </dependencies>
99
100 <build>
101 <plugins>
102 <plugin>
103 <artifactId>maven-assembly-plugin</artifactId>
104 <version>2.4</version>
105 <configuration>
106 <classifier>tests</classifier>
107 <archive>
108 <manifestEntries>
109 <Sealed>true</Sealed>
110 </manifestEntries>
111 </archive>
112 </configuration>
113 <executions>
114 <execution>
115 <id>full</id>
116 <phase>package</phase>
117 <goals>
118 <goal>single</goal>
119 </goals>
120 <configuration>
121 <descriptors>
122 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>
123 </descriptors>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
sg481na2ac6782017-09-18 16:35:50 -0400128
sg481nbd890c52017-08-28 12:11:35 -0400129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000132 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400133 <configuration>
134 <failOnError>false</failOnError>
135 </configuration>
136 <executions>
137 <execution>
138 <id>attach-javadocs</id>
139 <goals>
140 <goal>jar</goal>
141 </goals>
142 </execution>
143 </executions>
sg481na9d21082017-09-23 14:26:06 +0000144 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400145
146
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-source-plugin</artifactId>
150 <version>2.2.1</version>
151 <executions>
152 <execution>
153 <id>attach-sources</id>
154 <goals>
155 <goal>jar-no-fork</goal>
156 </goals>
157 </execution>
158 </executions>
159 </plugin>
160 <plugin>
161 <groupId>org.sonatype.plugins</groupId>
162 <artifactId>nexus-staging-maven-plugin</artifactId>
163 <version>1.6.7</version>
164 <extensions>true</extensions>
165 <configuration>
166 <nexusUrl>${nexusproxy}</nexusUrl>
167 <stagingProfileId>176c31dfe190a</stagingProfileId>
168 <serverId>ecomp-staging</serverId>
169 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400170 </plugin>
171 <plugin>
sg481n4ccc6b82017-10-04 17:29:37 +0000172 <groupId>org.jacoco</groupId>
173 <artifactId>jacoco-maven-plugin</artifactId>
174 <version>${jacoco.version}</version>
175 <configuration>
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 <execution>
186 <id>pre-unit-test</id>
187 <goals>
188 <goal>prepare-agent</goal>
189 </goals>
190 <configuration>
191 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
192 <propertyName>surefireArgLine</propertyName>
193 </configuration>
194 </execution>
195
196
197 <execution>
198 <id>post-unit-test</id>
199 <phase>test</phase>
200 <goals>
201 <goal>report</goal>
202 </goals>
203 <configuration>
204 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
205 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
206 </configuration>
207 </execution>
208 <execution>
209 <id>pre-integration-test</id>
210 <phase>pre-integration-test</phase>
211 <goals>
212 <goal>prepare-agent</goal>
213 </goals>
214 <configuration>
215 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
216
217 <propertyName>failsafeArgLine</propertyName>
218 </configuration>
219 </execution>
220
221
222 <execution>
223 <id>post-integration-test</id>
224 <phase>post-integration-test</phase>
225 <goals>
226 <goal>report</goal>
227 </goals>
228 <configuration>
229 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
230 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
231 </configuration>
232 </execution>
233 </executions>
234 </plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000235
sg481nbd890c52017-08-28 12:11:35 -0400236
237 </plugins>
238 <pluginManagement>
239 <plugins/>
240 </pluginManagement>
241 </build>
242<distributionManagement>
243 <repository>
244 <id>ecomp-releases</id>
245 <name>AAF Release Repository</name>
246 <url>${nexusproxy}${releaseNexusPath}</url>
247 </repository>
248 <snapshotRepository>
249 <id>ecomp-snapshots</id>
250 <name>AAF Snapshot Repository</name>
251 <url>${nexusproxy}${snapshotNexusPath}</url>
252 </snapshotRepository>
253 <site>
254 <id>ecomp-site</id>
255 <url>dav:${nexusproxy}${sitePath}</url>
256 </site>
257 </distributionManagement>
sg481nbd890c52017-08-28 12:11:35 -0400258
259</project>