blob: 86c1bdefd460e6423f03f6e55d6de4c01b1a58fd [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>
76 </dependency>
77
78 <dependency>
79 <groupId>org.onap.aaf.authz</groupId>
80 <artifactId>authz-core</artifactId>
81 </dependency>
82
83 <dependency>
84 <groupId>jline</groupId>
85 <artifactId>jline</artifactId>
86 <version>2.14.2</version>
87 </dependency>
88
89 <dependency>
90 <groupId>org.slf4j</groupId>
91 <artifactId>slf4j-log4j12</artifactId>
92 </dependency>
93
94 </dependencies>
95
96 <build>
97 <plugins>
98 <plugin>
99 <artifactId>maven-assembly-plugin</artifactId>
100 <version>2.4</version>
101 <configuration>
102 <classifier>tests</classifier>
103 <archive>
104 <manifestEntries>
105 <Sealed>true</Sealed>
106 </manifestEntries>
107 </archive>
108 </configuration>
109 <executions>
110 <execution>
111 <id>full</id>
112 <phase>package</phase>
113 <goals>
114 <goal>single</goal>
115 </goals>
116 <configuration>
117 <descriptors>
118 <descriptor>src/main/assemble/authz-cmd.xml</descriptor>
119 </descriptors>
120 </configuration>
121 </execution>
122 </executions>
123 </plugin>
124
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-deploy-plugin</artifactId>
128 <configuration>
129 <skip>true</skip>
130 </configuration>
131 </plugin>
132
133
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-javadoc-plugin</artifactId>
137 <configuration>
138 <failOnError>false</failOnError>
139 </configuration>
140 <executions>
141 <execution>
142 <id>attach-javadocs</id>
143 <goals>
144 <goal>jar</goal>
145 </goals>
146 </execution>
147 </executions>
148 </plugin>
149
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-source-plugin</artifactId>
154 <version>2.2.1</version>
155 <executions>
156 <execution>
157 <id>attach-sources</id>
158 <goals>
159 <goal>jar-no-fork</goal>
160 </goals>
161 </execution>
162 </executions>
163 </plugin>
164 <plugin>
165 <groupId>org.sonatype.plugins</groupId>
166 <artifactId>nexus-staging-maven-plugin</artifactId>
167 <version>1.6.7</version>
168 <extensions>true</extensions>
169 <configuration>
170 <nexusUrl>${nexusproxy}</nexusUrl>
171 <stagingProfileId>176c31dfe190a</stagingProfileId>
172 <serverId>ecomp-staging</serverId>
173 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400174 </plugin>
175 <plugin>
176 <groupId>org.jacoco</groupId>
177 <artifactId>jacoco-maven-plugin</artifactId>
178 <version>0.7.7.201606060606</version>
179 <configuration>
180 <dumpOnExit>true</dumpOnExit>
181 <includes>
182 <include>org.onap.aaf.*</include>
183 </includes>
184 </configuration>
185 <executions>
186 <execution>
187 <id>pre-unit-test</id>
188 <goals>
189 <goal>prepare-agent</goal>
190 </goals>
191 <configuration>
192 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
193 <!-- <append>true</append> -->
194 </configuration>
195 </execution>
196 <execution>
197 <id>pre-integration-test</id>
198 <phase>pre-integration-test</phase>
199 <goals>
200 <goal>prepare-agent</goal>
201 </goals>
202 <configuration>
203 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
204 <!-- <append>true</append> -->
205 </configuration>
206 </execution>
207 <execution>
208 <goals>
209 <goal>merge</goal>
210 </goals>
211 <phase>post-integration-test</phase>
212 <configuration>
213 <fileSets>
214 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
215 <directory>${project.build.directory}/coverage-reports</directory>
216 <includes>
217 <include>*.exec</include>
218 </includes>
219 </fileSet>
220 </fileSets>
221 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
222 </configuration>
223 </execution>
224 </executions>
225 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400226
227 </plugins>
228 <pluginManagement>
229 <plugins/>
230 </pluginManagement>
231 </build>
232<distributionManagement>
233 <repository>
234 <id>ecomp-releases</id>
235 <name>AAF Release Repository</name>
236 <url>${nexusproxy}${releaseNexusPath}</url>
237 </repository>
238 <snapshotRepository>
239 <id>ecomp-snapshots</id>
240 <name>AAF Snapshot Repository</name>
241 <url>${nexusproxy}${snapshotNexusPath}</url>
242 </snapshotRepository>
243 <site>
244 <id>ecomp-site</id>
245 <url>dav:${nexusproxy}${sitePath}</url>
246 </site>
247 </distributionManagement>
248<pluginRepositories>
249 <pluginRepository>
250 <id>onap-plugin-snapshots</id>
251 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
252 </pluginRepository>
253 </pluginRepositories>
254
255 <repositories>
256 <repository>
257 <id>central</id>
258 <name>Maven 2 repository 2</name>
259 <url>http://repo2.maven.org/maven2/</url>
260 </repository>
261 <repository>
262 <id>onap-jar-snapshots</id>
263 <url>https://nexus.onap.org/content/repositories/snapshots</url>
264 </repository>
265 <repository>
266 <id>spring-repo</id>
267 <name>Spring repo</name>
268 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
269 </repository>
270 <repository>
271 <id>repository.jboss.org-public</id>
272 <name>JBoss.org Maven repository</name>
273 <url>https://repository.jboss.org/nexus/content/groups/public</url>
274 </repository>
275 </repositories>
276
277</project>