blob: 6b8b5882b95c2722b320510bc92ec4ff36eead6c [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-test</artifactId>
35 <name>Authz TestCases</name>
36 <description>TestCase Suite for Authz/Authn</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
55 <properties>
sg481n08e11042017-09-29 12:33:53 +000056 <maven.test.failure.ignore>false</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040057 <project.swmVersion>0</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040058 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
59 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040060 <sonar.language>java</sonar.language>
61 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
62 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
63 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
64 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nd84864f2017-10-01 20:56:42 +000065 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040066 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040067 <nexusproxy>https://nexus.onap.org</nexusproxy>
68 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
69 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
70 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000071 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040072
73 </properties>
74
75 <dependencies>
76 <dependency>
77 <groupId>org.onap.aaf.cadi</groupId>
78 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040079 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040080 </dependency>
81
82 <dependency>
83 <groupId>org.onap.aaf.authz</groupId>
84 <artifactId>authz-client</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040085 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040086 </dependency>
87
88 <dependency>
89 <groupId>org.onap.aaf.authz</groupId>
90 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040091 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040092 </dependency>
93
94 <dependency>
95 <groupId>org.onap.aaf.authz</groupId>
96 <artifactId>authz-cmd</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040097 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040098 </dependency>
99
100 <dependency>
101 <groupId>com.att.aft</groupId>
102 <artifactId>dme2</artifactId>
103 </dependency>
104
105
106 <dependency>
107 <groupId>org.apache.jmeter</groupId>
108 <artifactId>ApacheJMeter_java</artifactId>
109 <version>2.11</version>
110 </dependency>
111
112 <dependency>
113 <groupId>junit</groupId>
114 <artifactId>junit</artifactId>
115 <version>4.7</version>
116 <scope>test</scope>
117 </dependency>
118 </dependencies>
119
120 <build>
121 <pluginManagement>
122 <plugins>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-failsafe-plugin</artifactId>
126 <configuration>
127 <includes>
128 <include>**/AAFJUnitTest.java</include>
129 </includes>
130 </configuration>
131 </plugin>
132
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-surefire-plugin</artifactId>
136 <configuration>
sg481n08e11042017-09-29 12:33:53 +0000137 <excludes>
sg481nbd890c52017-08-28 12:11:35 -0400138 <exclude>**/AAFJUnitTest.java</exclude>
139 </excludes>
140 </configuration>
141 </plugin>
142
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000146 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400147 <configuration>
148 <failOnError>false</failOnError>
149 </configuration>
150 <executions>
151 <execution>
152 <id>attach-javadocs</id>
153 <goals>
154 <goal>jar</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159
160
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-source-plugin</artifactId>
164 <version>2.2.1</version>
165 <executions>
166 <execution>
167 <id>attach-sources</id>
168 <goals>
169 <goal>jar-no-fork</goal>
170 </goals>
171 </execution>
172 </executions>
173 </plugin>
sg481n40cd3562017-09-01 13:12:31 -0400174<plugin>
sg481nbd890c52017-08-28 12:11:35 -0400175 <groupId>org.sonatype.plugins</groupId>
176 <artifactId>nexus-staging-maven-plugin</artifactId>
177 <version>1.6.7</version>
178 <extensions>true</extensions>
179 <configuration>
180 <nexusUrl>${nexusproxy}</nexusUrl>
181 <stagingProfileId>176c31dfe190a</stagingProfileId>
182 <serverId>ecomp-staging</serverId>
183 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400184 </plugin>
185 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000186 <groupId>org.jacoco</groupId>
187 <artifactId>jacoco-maven-plugin</artifactId>
188 <version>${jacoco.version}</version>
189 <configuration>
190 <!-- Note: This exclusion list should match <sonar.exclusions>
191 property above -->
192 <excludes>
193 <exclude>**/gen/**</exclude>
194 <exclude>**/generated-sources/**</exclude>
195 <exclude>**/yang-gen/**</exclude>
196 <exclude>**/pax/**</exclude>
197 </excludes>
198 </configuration>
199 <executions>
200 <!--
201 Prepares the property pointing to the JaCoCo runtime agent which
202 is passed as VM argument when Maven the Surefire plugin is executed.
203 -->
204 <execution>
205 <id>pre-unit-test</id>
206 <goals>
207 <goal>prepare-agent</goal>
208 </goals>
209 <configuration>
210 <!-- Sets the path to the file which contains the execution data. -->
211 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
212 <!--
213 Sets the name of the property containing the settings
214 for JaCoCo runtime agent.
215 -->
216 <propertyName>surefireArgLine</propertyName>
217 </configuration>
218 </execution>
219 <!--
220 Ensures that the code coverage report for unit tests is created after
221 unit tests have been run.
222 -->
223 <execution>
224 <id>post-unit-test</id>
225 <phase>test</phase>
226 <goals>
227 <goal>report</goal>
228 </goals>
229 <configuration>
230 <!-- Sets the path to the file which contains the execution data. -->
231 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
232 <!-- Sets the output directory for the code coverage report. -->
233 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
234 </configuration>
235 </execution>
236 <execution>
237 <id>pre-integration-test</id>
238 <phase>pre-integration-test</phase>
239 <goals>
240 <goal>prepare-agent</goal>
241 </goals>
242 <configuration>
243 <!-- Sets the path to the file which contains the execution data. -->
244 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
245 <!--
246 Sets the name of the property containing the settings
247 for JaCoCo runtime agent.
248 -->
249 <propertyName>failsafeArgLine</propertyName>
250 </configuration>
251 </execution>
252 <!--
253 Ensures that the code coverage report for integration tests after
254 integration tests have been run.
255 -->
256 <execution>
257 <id>post-integration-test</id>
258 <phase>post-integration-test</phase>
259 <goals>
260 <goal>report</goal>
261 </goals>
262 <configuration>
263 <!-- Sets the path to the file which contains the execution data. -->
264 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
265 <!-- Sets the output directory for the code coverage report. -->
266 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
267 </configuration>
268 </execution>
269 </executions>
270 </plugin>
271
sg481nbd890c52017-08-28 12:11:35 -0400272
273 </plugins>
274 </pluginManagement>
275 </build>
276 <distributionManagement>
277 <repository>
278 <id>ecomp-releases</id>
279 <name>AAF Release Repository</name>
280 <url>${nexusproxy}${releaseNexusPath}</url>
281 </repository>
282 <snapshotRepository>
283 <id>ecomp-snapshots</id>
284 <name>AAF Snapshot Repository</name>
285 <url>${nexusproxy}${snapshotNexusPath}</url>
286 </snapshotRepository>
287 <site>
288 <id>ecomp-site</id>
289 <url>dav:${nexusproxy}${sitePath}</url>
290 </site>
291 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000292
sg481nbd890c52017-08-28 12:11:35 -0400293</project>