blob: 130b8644657b9f8be53904a6212549c3dc3e71e3 [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>
sg481n72aacef2017-10-05 16:13:21 +000039
sg481nbd890c52017-08-28 12:11:35 -040040 <developers>
41 <developer>
42 <name>Jonathan Gathman</name>
43 <email></email>
44 <organization>ATT</organization>
45 <organizationUrl></organizationUrl>
46 </developer>
47 </developers>
48
49 <properties>
sg481n08e11042017-09-29 12:33:53 +000050 <maven.test.failure.ignore>false</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040051 <project.swmVersion>21</project.swmVersion>
52 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n4ccc6b82017-10-04 17:29:37 +000053 <!-- SONAR -->
54 <jacoco.version>0.7.7.201606060606</jacoco.version>
55 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
56 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
57 <!-- Default Sonar configuration -->
58 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
59 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
60 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
61 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481nbd890c52017-08-28 12:11:35 -040062 <nexusproxy>https://nexus.onap.org</nexusproxy>
63 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
64 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
65 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000066 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040067 </properties>
68
69 <dependencies>
70 <dependency>
71 <groupId>org.onap.aaf.cadi</groupId>
72 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040073 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040074 </dependency>
75
76 <dependency>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040079 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040080 </dependency>
81
82 <dependency>
83 <groupId>jline</groupId>
84 <artifactId>jline</artifactId>
85 <version>2.14.2</version>
86 </dependency>
87
88 <dependency>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-log4j12</artifactId>
91 </dependency>
92
93 </dependencies>
94
95 <build>
96 <plugins>
97 <plugin>
98 <artifactId>maven-assembly-plugin</artifactId>
99 <version>2.4</version>
100 <configuration>
101 <classifier>tests</classifier>
102 <archive>
103 <manifestEntries>
104 <Sealed>true</Sealed>
105 </manifestEntries>
106 </archive>
107 </configuration>
108 <executions>
109 <execution>
110 <id>full</id>
111 <phase>package</phase>
112 <goals>
113 <goal>single</goal>
114 </goals>
115 <configuration>
116 <descriptors>
117 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>
118 </descriptors>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
sg481na2ac6782017-09-18 16:35:50 -0400123
sg481nbd890c52017-08-28 12:11:35 -0400124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000127 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400128 <configuration>
129 <failOnError>false</failOnError>
130 </configuration>
131 <executions>
132 <execution>
133 <id>attach-javadocs</id>
134 <goals>
135 <goal>jar</goal>
136 </goals>
137 </execution>
138 </executions>
sg481na9d21082017-09-23 14:26:06 +0000139 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400140
141
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-source-plugin</artifactId>
145 <version>2.2.1</version>
146 <executions>
147 <execution>
148 <id>attach-sources</id>
149 <goals>
150 <goal>jar-no-fork</goal>
151 </goals>
152 </execution>
153 </executions>
154 </plugin>
155 <plugin>
156 <groupId>org.sonatype.plugins</groupId>
157 <artifactId>nexus-staging-maven-plugin</artifactId>
158 <version>1.6.7</version>
159 <extensions>true</extensions>
160 <configuration>
161 <nexusUrl>${nexusproxy}</nexusUrl>
162 <stagingProfileId>176c31dfe190a</stagingProfileId>
163 <serverId>ecomp-staging</serverId>
164 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400165 </plugin>
166 <plugin>
sg481n4ccc6b82017-10-04 17:29:37 +0000167 <groupId>org.jacoco</groupId>
168 <artifactId>jacoco-maven-plugin</artifactId>
169 <version>${jacoco.version}</version>
170 <configuration>
171 <excludes>
172 <exclude>**/gen/**</exclude>
173 <exclude>**/generated-sources/**</exclude>
174 <exclude>**/yang-gen/**</exclude>
175 <exclude>**/pax/**</exclude>
176 </excludes>
177 </configuration>
178 <executions>
179
180 <execution>
181 <id>pre-unit-test</id>
182 <goals>
183 <goal>prepare-agent</goal>
184 </goals>
185 <configuration>
186 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
187 <propertyName>surefireArgLine</propertyName>
188 </configuration>
189 </execution>
190
191
192 <execution>
193 <id>post-unit-test</id>
194 <phase>test</phase>
195 <goals>
196 <goal>report</goal>
197 </goals>
198 <configuration>
199 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
200 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
201 </configuration>
202 </execution>
203 <execution>
204 <id>pre-integration-test</id>
205 <phase>pre-integration-test</phase>
206 <goals>
207 <goal>prepare-agent</goal>
208 </goals>
209 <configuration>
210 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
211
212 <propertyName>failsafeArgLine</propertyName>
213 </configuration>
214 </execution>
215
216
217 <execution>
218 <id>post-integration-test</id>
219 <phase>post-integration-test</phase>
220 <goals>
221 <goal>report</goal>
222 </goals>
223 <configuration>
224 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
225 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
226 </configuration>
227 </execution>
228 </executions>
229 </plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000230
sg481nbd890c52017-08-28 12:11:35 -0400231
232 </plugins>
233 <pluginManagement>
234 <plugins/>
235 </pluginManagement>
236 </build>
237<distributionManagement>
238 <repository>
239 <id>ecomp-releases</id>
240 <name>AAF Release Repository</name>
241 <url>${nexusproxy}${releaseNexusPath}</url>
242 </repository>
243 <snapshotRepository>
244 <id>ecomp-snapshots</id>
245 <name>AAF Snapshot Repository</name>
246 <url>${nexusproxy}${snapshotNexusPath}</url>
247 </snapshotRepository>
248 <site>
249 <id>ecomp-site</id>
250 <url>dav:${nexusproxy}${sitePath}</url>
251 </site>
252 </distributionManagement>
sg481nbd890c52017-08-28 12:11:35 -0400253
254</project>