Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | * ============LICENSE_START==================================================== |
| 4 | * org.onap.aaf |
| 5 | * =========================================================================== |
| 6 | * Copyright (c) 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 | --> |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 24 | <parent> |
Instrumental | a97d731 | 2018-05-25 15:04:43 -0500 | [diff] [blame] | 25 | <groupId>org.onap.aaf.authz</groupId> |
| 26 | <artifactId>parent</artifactId> |
Instrumental | 12fbeae | 2018-10-01 21:18:42 -0500 | [diff] [blame^] | 27 | <version>2.1.2-SNAPSHOT</version> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 28 | </parent> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 29 | <artifactId>cadiparent</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 30 | <name>AAF CADI Parent (Code, Access, Data, Identity)</name> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 31 | <inceptionYear>2015-07-20</inceptionYear> |
| 32 | <organization> |
| 33 | <name>ONAP</name> |
| 34 | </organization> |
| 35 | <packaging>pom</packaging> |
Sai Gandham | 99f14fb | 2018-04-08 10:13:10 -0500 | [diff] [blame] | 36 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 37 | <properties> |
Instrumental | 9f52db1 | 2018-08-31 09:53:21 -0500 | [diff] [blame] | 38 | <!-- SONAR --> |
Sai Gandham | f44b927 | 2018-04-12 16:42:07 +0000 | [diff] [blame] | 39 | <!-- <sonar.skip>true</sonar.skip> --> |
Instrumental | 9f52db1 | 2018-08-31 09:53:21 -0500 | [diff] [blame] | 40 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 41 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 42 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 43 | <!-- Default Sonar configuration --> |
| 44 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 45 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
| 46 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list |
| 47 | below --> |
| 48 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 49 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 50 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 51 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 52 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
Sai Gandham | 30dca6e | 2018-04-09 21:22:48 +0000 | [diff] [blame] | 53 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 54 | </properties> |
Instrumental | 9f52db1 | 2018-08-31 09:53:21 -0500 | [diff] [blame] | 55 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 56 | |
| 57 | <!-- ============================================================== --> |
| 58 | <!-- Define the major contributors and developers of CADI --> |
| 59 | <!-- ============================================================== --> |
| 60 | <developers> |
| 61 | <developer> |
| 62 | <name>Jonathan Gathman</name> |
| 63 | <email>jonathan.gathman@att.com</email> |
| 64 | <organization>ATT</organization> |
| 65 | <roles> |
| 66 | <role>Architect</role> |
| 67 | <role>Lead Developer</role> |
| 68 | </roles> |
| 69 | </developer> |
| 70 | <developer> |
| 71 | <name>Gabe Maurer</name> |
| 72 | <email>gabe.maurer@att.com</email> |
| 73 | <organization>ATT</organization> |
| 74 | <roles> |
| 75 | <role>Developer</role> |
| 76 | </roles> |
| 77 | </developer> |
| 78 | <developer> |
| 79 | <name>Ian Howell</name> |
| 80 | <email>ian.howell@att.com</email> |
| 81 | <organization>ATT</organization> |
| 82 | <roles> |
| 83 | <role>Developer</role> |
| 84 | </roles> |
| 85 | </developer> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 86 | <developer> |
| 87 | <name>Sai Gandham</name> |
| 88 | <email>sai.gandham@att.com</email> |
| 89 | <organization>ATT</organization> |
| 90 | <roles> |
| 91 | <role>Developer</role> |
| 92 | </roles> |
| 93 | </developer> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 94 | </developers> |
| 95 | |
| 96 | |
| 97 | <dependencies> |
| 98 | <dependency> |
| 99 | <groupId>org.mockito</groupId> |
| 100 | <artifactId>mockito-all</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 101 | <scope>test</scope> |
| 102 | </dependency> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 103 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 104 | <dependency> |
| 105 | <groupId>org.powermock</groupId> |
| 106 | <artifactId>powermock-module-junit4</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.powermock</groupId> |
| 111 | <artifactId>powermock-api-mockito</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 112 | <scope>test</scope> |
| 113 | </dependency> |
| 114 | |
| 115 | <dependency> |
| 116 | <groupId>junit</groupId> |
| 117 | <artifactId>junit</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 118 | <scope>test</scope> |
| 119 | </dependency> |
| 120 | </dependencies> |
| 121 | |
| 122 | <!-- ============================================================== --> |
| 123 | <!-- Define sub-projects (modules) --> |
| 124 | <!-- ============================================================== --> |
| 125 | <modules> |
| 126 | <module>core</module> |
| 127 | <module>client</module> |
| 128 | <module>aaf</module> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 129 | <module>oauth-enduser</module> |
Instrumental | 824dc7b | 2018-09-07 11:41:35 -0500 | [diff] [blame] | 130 | <module>servlet-sample</module> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 131 | </modules> |
| 132 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 133 | |
| 134 | <!-- ============================================================== --> |
| 135 | <!-- Define common plugins and make them available for all modules --> |
| 136 | <!-- ============================================================== --> |
| 137 | <build> |
| 138 | <testSourceDirectory>src/test/java</testSourceDirectory> |
| 139 | <plugins> |
| 140 | </plugins> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 141 | <pluginManagement> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 142 | <plugins> |
| 143 | <plugin> |
| 144 | <inherited>true</inherited> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-compiler-plugin</artifactId> |
| 147 | <version>2.3.2</version> |
| 148 | <configuration> |
| 149 | <source>1.7</source> |
| 150 | <target>1.7</target> |
| 151 | </configuration> |
| 152 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 153 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 154 | <plugin> |
| 155 | <groupId>org.apache.maven.plugins</groupId> |
| 156 | <version>2.4</version> |
| 157 | <artifactId>maven-jar-plugin</artifactId> |
| 158 | <configuration> |
| 159 | <outputDirectory>target</outputDirectory> |
| 160 | <archive> |
| 161 | <manifestEntries> |
| 162 | <Sealed>true</Sealed> |
| 163 | </manifestEntries> |
| 164 | </archive> |
| 165 | </configuration> |
| 166 | </plugin> |
| 167 | |
| 168 | <!-- Define the javadoc plugin --> |
| 169 | <plugin> |
| 170 | <groupId>org.apache.maven.plugins</groupId> |
| 171 | <artifactId>maven-javadoc-plugin</artifactId> |
| 172 | <version>2.10</version> |
| 173 | <configuration> |
| 174 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 175 | </configuration> |
| 176 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 177 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 178 | <plugin> |
| 179 | <artifactId>maven-release-plugin</artifactId> |
| 180 | <version>2.5.2</version> |
| 181 | <configuration> |
| 182 | <goals>-s ${mvn.settings} deploy</goals> |
| 183 | </configuration> |
| 184 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 185 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 186 | <plugin> |
| 187 | <artifactId>maven-assembly-plugin</artifactId> |
| 188 | <version>2.5.5</version> |
| 189 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 190 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 191 | <plugin> |
| 192 | <groupId>org.apache.maven.plugins</groupId> |
| 193 | <artifactId>maven-deploy-plugin</artifactId> |
| 194 | <version>2.8.1</version> |
| 195 | <configuration> |
Sai Gandham | d97041c | 2018-04-03 01:57:59 -0500 | [diff] [blame] | 196 | <skip>false</skip> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 197 | </configuration> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 198 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 199 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 200 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 201 | <plugin> |
| 202 | <groupId>org.apache.maven.plugins</groupId> |
| 203 | <artifactId>maven-dependency-plugin</artifactId> |
| 204 | <version>2.10</version> |
| 205 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 206 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 207 | <!-- Maven surefire plugin for testing --> |
| 208 | <plugin> |
| 209 | <artifactId>maven-surefire-plugin</artifactId> |
| 210 | <version>2.17</version> |
| 211 | <configuration> |
IanHowell | e612377 | 2018-04-03 15:26:47 -0500 | [diff] [blame] | 212 | <skipTests>false</skipTests> |
| 213 | <includes> |
| 214 | <include>**/JU*.java</include> |
| 215 | </includes> |
| 216 | <excludes> |
| 217 | </excludes> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 218 | </configuration> |
| 219 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 220 | |
| 221 | <!--This plugin's configuration is used to store Eclipse m2e settings |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 222 | only. It has no influence on the Maven build itself. --> |
| 223 | <plugin> |
| 224 | <groupId>org.eclipse.m2e</groupId> |
| 225 | <artifactId>lifecycle-mapping</artifactId> |
| 226 | <version>1.0.0</version> |
| 227 | <configuration> |
| 228 | <lifecycleMappingMetadata> |
| 229 | <pluginExecutions> |
| 230 | <pluginExecution> |
| 231 | <pluginExecutionFilter> |
| 232 | <groupId> |
| 233 | org.codehaus.mojo |
| 234 | </groupId> |
| 235 | <artifactId> |
| 236 | jaxb2-maven-plugin |
| 237 | </artifactId> |
| 238 | <versionRange> |
| 239 | [1.3,) |
| 240 | </versionRange> |
| 241 | <goals> |
| 242 | <goal>xjc</goal> |
| 243 | </goals> |
| 244 | </pluginExecutionFilter> |
| 245 | <action> |
| 246 | <ignore /> |
| 247 | </action> |
| 248 | </pluginExecution> |
| 249 | </pluginExecutions> |
| 250 | </lifecycleMappingMetadata> |
| 251 | </configuration> |
| 252 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 253 | <plugin> |
| 254 | <groupId>org.sonatype.plugins</groupId> |
| 255 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 256 | <version>1.6.7</version> |
| 257 | <extensions>true</extensions> |
| 258 | <configuration> |
| 259 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 260 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 261 | <serverId>ecomp-staging</serverId> |
| 262 | </configuration> |
| 263 | </plugin> |
| 264 | <plugin> |
| 265 | <groupId>org.jacoco</groupId> |
| 266 | <artifactId>jacoco-maven-plugin</artifactId> |
| 267 | <version>${jacoco.version}</version> |
| 268 | <configuration> |
| 269 | <excludes> |
| 270 | <exclude>**/gen/**</exclude> |
| 271 | <exclude>**/generated-sources/**</exclude> |
| 272 | <exclude>**/yang-gen/**</exclude> |
| 273 | <exclude>**/pax/**</exclude> |
| 274 | </excludes> |
| 275 | </configuration> |
| 276 | <executions> |
| 277 | <execution> |
| 278 | <id>pre-unit-test</id> |
| 279 | <goals> |
| 280 | <goal>prepare-agent</goal> |
| 281 | </goals> |
| 282 | <configuration> |
| 283 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 284 | <propertyName>surefireArgLine</propertyName> |
| 285 | </configuration> |
| 286 | </execution> |
| 287 | <execution> |
| 288 | <id>post-unit-test</id> |
| 289 | <phase>test</phase> |
| 290 | <goals> |
| 291 | <goal>report</goal> |
| 292 | </goals> |
| 293 | <configuration> |
| 294 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 295 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 296 | </configuration> |
| 297 | </execution> |
| 298 | <execution> |
| 299 | <id>pre-integration-test</id> |
| 300 | <phase>pre-integration-test</phase> |
| 301 | <goals> |
| 302 | <goal>prepare-agent</goal> |
| 303 | </goals> |
| 304 | <configuration> |
| 305 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 306 | <propertyName>failsafeArgLine</propertyName> |
| 307 | </configuration> |
| 308 | </execution> |
| 309 | <execution> |
| 310 | <id>post-integration-test</id> |
| 311 | <phase>post-integration-test</phase> |
| 312 | <goals> |
| 313 | <goal>report</goal> |
| 314 | </goals> |
| 315 | <configuration> |
| 316 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 317 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 318 | </configuration> |
| 319 | </execution> |
| 320 | </executions> |
| 321 | </plugin> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 322 | </plugins> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 323 | </pluginManagement> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 324 | </build> |
| 325 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 326 | <distributionManagement> |
| 327 | <repository> |
| 328 | <id>ecomp-releases</id> |
| 329 | <name>AAF Release Repository</name> |
| 330 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 331 | </repository> |
| 332 | <snapshotRepository> |
| 333 | <id>ecomp-snapshots</id> |
| 334 | <name>AAF Snapshot Repository</name> |
| 335 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 336 | </snapshotRepository> |
| 337 | <site> |
| 338 | <id>ecomp-site</id> |
| 339 | <url>dav:${nexusproxy}${sitePath}</url> |
| 340 | </site> |
| 341 | </distributionManagement> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 342 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 343 | </project> |