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