blob: 1fc710b57a70f7b1352fe9fb8a85b452f0e4eb64 [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>
30 <version>1.0.0-SNAPSHOT</version>
31 <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>
55 <maven.test.failure.ignore>false</maven.test.failure.ignore>
56 <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>
63 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
64 <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>
69 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
70 </properties>
71
72 <dependencies>
73 <dependency>
74 <groupId>org.onap.aaf.cadi</groupId>
75 <artifactId>cadi-aaf</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040076 <version>${project.version}</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>
126
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-deploy-plugin</artifactId>
130 <configuration>
131 <skip>true</skip>
132 </configuration>
133 </plugin>
134
135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-javadoc-plugin</artifactId>
139 <configuration>
140 <failOnError>false</failOnError>
141 </configuration>
142 <executions>
143 <execution>
144 <id>attach-javadocs</id>
145 <goals>
146 <goal>jar</goal>
147 </goals>
148 </execution>
149 </executions>
150 </plugin>
151
152
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-source-plugin</artifactId>
156 <version>2.2.1</version>
157 <executions>
158 <execution>
159 <id>attach-sources</id>
160 <goals>
161 <goal>jar-no-fork</goal>
162 </goals>
163 </execution>
164 </executions>
165 </plugin>
166 <plugin>
167 <groupId>org.sonatype.plugins</groupId>
168 <artifactId>nexus-staging-maven-plugin</artifactId>
169 <version>1.6.7</version>
170 <extensions>true</extensions>
171 <configuration>
172 <nexusUrl>${nexusproxy}</nexusUrl>
173 <stagingProfileId>176c31dfe190a</stagingProfileId>
174 <serverId>ecomp-staging</serverId>
175 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400176 </plugin>
177 <plugin>
178 <groupId>org.jacoco</groupId>
179 <artifactId>jacoco-maven-plugin</artifactId>
180 <version>0.7.7.201606060606</version>
181 <configuration>
182 <dumpOnExit>true</dumpOnExit>
183 <includes>
184 <include>org.onap.aaf.*</include>
185 </includes>
186 </configuration>
187 <executions>
188 <execution>
189 <id>pre-unit-test</id>
190 <goals>
191 <goal>prepare-agent</goal>
192 </goals>
193 <configuration>
194 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
195 <!-- <append>true</append> -->
196 </configuration>
197 </execution>
198 <execution>
199 <id>pre-integration-test</id>
200 <phase>pre-integration-test</phase>
201 <goals>
202 <goal>prepare-agent</goal>
203 </goals>
204 <configuration>
205 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
206 <!-- <append>true</append> -->
207 </configuration>
208 </execution>
209 <execution>
210 <goals>
211 <goal>merge</goal>
212 </goals>
213 <phase>post-integration-test</phase>
214 <configuration>
215 <fileSets>
216 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
217 <directory>${project.build.directory}/coverage-reports</directory>
218 <includes>
219 <include>*.exec</include>
220 </includes>
221 </fileSet>
222 </fileSets>
223 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
224 </configuration>
225 </execution>
226 </executions>
227 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400228
229 </plugins>
230 <pluginManagement>
231 <plugins/>
232 </pluginManagement>
233 </build>
234<distributionManagement>
235 <repository>
236 <id>ecomp-releases</id>
237 <name>AAF Release Repository</name>
238 <url>${nexusproxy}${releaseNexusPath}</url>
239 </repository>
240 <snapshotRepository>
241 <id>ecomp-snapshots</id>
242 <name>AAF Snapshot Repository</name>
243 <url>${nexusproxy}${snapshotNexusPath}</url>
244 </snapshotRepository>
245 <site>
246 <id>ecomp-site</id>
247 <url>dav:${nexusproxy}${sitePath}</url>
248 </site>
249 </distributionManagement>
250<pluginRepositories>
251 <pluginRepository>
252 <id>onap-plugin-snapshots</id>
253 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
254 </pluginRepository>
255 </pluginRepositories>
256
257 <repositories>
258 <repository>
259 <id>central</id>
260 <name>Maven 2 repository 2</name>
261 <url>http://repo2.maven.org/maven2/</url>
262 </repository>
263 <repository>
264 <id>onap-jar-snapshots</id>
265 <url>https://nexus.onap.org/content/repositories/snapshots</url>
266 </repository>
267 <repository>
268 <id>spring-repo</id>
269 <name>Spring repo</name>
270 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
271 </repository>
272 <repository>
273 <id>repository.jboss.org-public</id>
274 <name>JBoss.org Maven repository</name>
275 <url>https://repository.jboss.org/nexus/content/groups/public</url>
276 </repository>
277 </repositories>
278
279</project>