blob: 36960942a32c14c8449e0115338acd73a57f819e [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>
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>
sg481nd84864f2017-10-01 20:56:42 +000063 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040064 <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>
sg481na9d21082017-09-23 14:26:06 +000069 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040070 </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>
sg481na9d21082017-09-23 14:26:06 +0000130 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400131 <configuration>
132 <failOnError>false</failOnError>
133 </configuration>
134 <executions>
135 <execution>
136 <id>attach-javadocs</id>
137 <goals>
138 <goal>jar</goal>
139 </goals>
140 </execution>
141 </executions>
sg481na9d21082017-09-23 14:26:06 +0000142 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400143
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-source-plugin</artifactId>
148 <version>2.2.1</version>
149 <executions>
150 <execution>
151 <id>attach-sources</id>
152 <goals>
153 <goal>jar-no-fork</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <groupId>org.sonatype.plugins</groupId>
160 <artifactId>nexus-staging-maven-plugin</artifactId>
161 <version>1.6.7</version>
162 <extensions>true</extensions>
163 <configuration>
164 <nexusUrl>${nexusproxy}</nexusUrl>
165 <stagingProfileId>176c31dfe190a</stagingProfileId>
166 <serverId>ecomp-staging</serverId>
167 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400168 </plugin>
169 <plugin>
sg481n2783a8d2017-10-02 04:11:12 +0000170 <groupId>org.jacoco</groupId>
171 <artifactId>jacoco-maven-plugin</artifactId>
172 <version>0.7.7.201606060606</version>
173 <configuration>
174 <dumpOnExit>true</dumpOnExit>
175 <includes>
176 <include>org.onap.aaf.*</include>
177 </includes>
178 </configuration>
179 <executions>
180 <execution>
181 <id>pre-unit-test</id>
182 <goals>
183 <goal>prepare-agent</goal>
184 </goals>
185 <configuration>
186 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
187 <!-- <append>true</append> -->
188 </configuration>
189 </execution>
190 <execution>
191 <id>pre-integration-test</id>
192 <phase>pre-integration-test</phase>
193 <goals>
194 <goal>prepare-agent</goal>
195 </goals>
196 <configuration>
197 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
198 <!-- <append>true</append> -->
199 </configuration>
200 </execution>
201 <execution>
202 <goals>
203 <goal>merge</goal>
204 </goals>
205 <phase>post-integration-test</phase>
206 <configuration>
207 <fileSets>
208 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
209 <directory>${project.build.directory}/coverage-reports</directory>
210 <includes>
211 <include>*.exec</include>
212 </includes>
213 </fileSet>
214 </fileSets>
215 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
216 </configuration>
217 </execution>
218 </executions>
219 </plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000220
sg481nbd890c52017-08-28 12:11:35 -0400221
222 </plugins>
223 <pluginManagement>
224 <plugins/>
225 </pluginManagement>
226 </build>
227<distributionManagement>
228 <repository>
229 <id>ecomp-releases</id>
230 <name>AAF Release Repository</name>
231 <url>${nexusproxy}${releaseNexusPath}</url>
232 </repository>
233 <snapshotRepository>
234 <id>ecomp-snapshots</id>
235 <name>AAF Snapshot Repository</name>
236 <url>${nexusproxy}${snapshotNexusPath}</url>
237 </snapshotRepository>
238 <site>
239 <id>ecomp-site</id>
240 <url>dav:${nexusproxy}${sitePath}</url>
241 </site>
242 </distributionManagement>
sg481nbd890c52017-08-28 12:11:35 -0400243
244</project>