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> |
| 24 | <groupId>org.onap.aaf.cadi</groupId> |
| 25 | <artifactId>parent</artifactId> |
| 26 | <name>AAF CADI Parent (Code, Access, Data, Identity)</name> |
| 27 | <version>1.5.0-SNAPSHOT</version> |
| 28 | <inceptionYear>2015-07-20</inceptionYear> |
| 29 | <organization> |
| 30 | <name>ONAP</name> |
| 31 | </organization> |
| 32 | <packaging>pom</packaging> |
| 33 | |
Sai Gandham | 6d8487a | 2018-03-27 18:05:26 +0000 | [diff] [blame^] | 34 | |
| 35 | <parent> |
| 36 | <groupId>org.onap.oparent</groupId> |
| 37 | <artifactId>oparent</artifactId> |
| 38 | <version>1.1.0</version> |
| 39 | </parent> |
| 40 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 41 | <properties> |
| 42 | <skipSigning>true</skipSigning> |
| 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 44 | <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion> |
| 45 | <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion> |
| 46 | <project.jettyVersion>9.3.9.v20160517</project.jettyVersion> |
| 47 | <powermock.version>1.5.1</powermock.version> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 48 | <!-- SONAR --> |
| 49 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 50 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 51 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 52 | <!-- Default Sonar configuration --> |
| 53 | <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 54 | <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 55 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 56 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 57 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 58 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 59 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 60 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 61 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 62 | </properties> |
| 63 | |
| 64 | <!-- ============================================================== --> |
| 65 | <!-- Define the major contributors and developers of CADI --> |
| 66 | <!-- ============================================================== --> |
| 67 | <developers> |
| 68 | <developer> |
| 69 | <name>Jonathan Gathman</name> |
| 70 | <email>jonathan.gathman@att.com</email> |
| 71 | <organization>ATT</organization> |
| 72 | <roles> |
| 73 | <role>Architect</role> |
| 74 | <role>Lead Developer</role> |
| 75 | </roles> |
| 76 | </developer> |
| 77 | <developer> |
| 78 | <name>Gabe Maurer</name> |
| 79 | <email>gabe.maurer@att.com</email> |
| 80 | <organization>ATT</organization> |
| 81 | <roles> |
| 82 | <role>Developer</role> |
| 83 | </roles> |
| 84 | </developer> |
| 85 | <developer> |
| 86 | <name>Ian Howell</name> |
| 87 | <email>ian.howell@att.com</email> |
| 88 | <organization>ATT</organization> |
| 89 | <roles> |
| 90 | <role>Developer</role> |
| 91 | </roles> |
| 92 | </developer> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 93 | <developer> |
| 94 | <name>Sai Gandham</name> |
| 95 | <email>sai.gandham@att.com</email> |
| 96 | <organization>ATT</organization> |
| 97 | <roles> |
| 98 | <role>Developer</role> |
| 99 | </roles> |
| 100 | </developer> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 101 | </developers> |
| 102 | |
| 103 | |
| 104 | <dependencies> |
| 105 | <dependency> |
| 106 | <groupId>org.mockito</groupId> |
| 107 | <artifactId>mockito-all</artifactId> |
| 108 | <version>1.9.5</version> |
| 109 | <scope>test</scope> |
| 110 | </dependency> |
| 111 | |
| 112 | <dependency> |
| 113 | <groupId>org.powermock</groupId> |
| 114 | <artifactId>powermock-module-junit4</artifactId> |
| 115 | <version>${powermock.version}</version> |
| 116 | <scope>test</scope> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>org.powermock</groupId> |
| 120 | <artifactId>powermock-api-mockito</artifactId> |
| 121 | <version>${powermock.version}</version> |
| 122 | <scope>test</scope> |
| 123 | </dependency> |
| 124 | |
| 125 | <dependency> |
| 126 | <groupId>junit</groupId> |
| 127 | <artifactId>junit</artifactId> |
| 128 | <version>4.10</version> |
| 129 | <scope>test</scope> |
| 130 | </dependency> |
| 131 | </dependencies> |
| 132 | |
| 133 | <!-- ============================================================== --> |
| 134 | <!-- Define sub-projects (modules) --> |
| 135 | <!-- ============================================================== --> |
| 136 | <modules> |
| 137 | <module>core</module> |
| 138 | <module>client</module> |
| 139 | <module>aaf</module> |
| 140 | <module>cass</module> |
| 141 | |
| 142 | <module>oauth-enduser</module> |
| 143 | <module>shiro</module> |
| 144 | </modules> |
| 145 | |
| 146 | <!-- ============================================================== --> |
| 147 | <!-- Define project-wide dependencies --> |
| 148 | <!-- ============================================================== --> |
| 149 | <dependencyManagement> |
| 150 | <dependencies> |
| 151 | <dependency> |
| 152 | <groupId>org.onap.aaf.auth</groupId> |
| 153 | <artifactId>aaf-auth-client</artifactId> |
| 154 | <version>${project.authClientVersion}</version> |
| 155 | </dependency> |
| 156 | |
| 157 | <dependency> |
| 158 | <groupId>org.onap.aaf.cadi</groupId> |
| 159 | <artifactId>aaf-cadi-core</artifactId> |
| 160 | <version>${project.version}</version> |
| 161 | </dependency> |
| 162 | |
| 163 | <dependency> |
| 164 | <groupId>org.onap.aaf.cadi</groupId> |
| 165 | <artifactId>aaf-cadi-oauth</artifactId> |
| 166 | <version>${project.version}</version> |
| 167 | </dependency> |
| 168 | |
| 169 | |
| 170 | <!-- Prevent Cycles in Testing --> |
| 171 | <dependency> |
| 172 | <groupId>org.onap.aaf.cadi</groupId> |
| 173 | <artifactId>aaf-cadi-core</artifactId> |
| 174 | <version>${project.version}</version> |
| 175 | <classifier>tests</classifier> |
| 176 | </dependency> |
| 177 | |
| 178 | <dependency> |
| 179 | <groupId>org.onap.aaf.cadi</groupId> |
| 180 | <artifactId>aaf-cadi-jetty</artifactId> |
| 181 | <version>${project.version}</version> |
| 182 | </dependency> |
| 183 | |
| 184 | <dependency> |
| 185 | <groupId>org.onap.aaf.cadi</groupId> |
| 186 | <artifactId>aaf-cadi-cass</artifactId> |
| 187 | <version>${project.version}</version> |
| 188 | </dependency> |
| 189 | |
| 190 | <dependency> |
| 191 | <groupId>org.onap.aaf.cadi</groupId> |
| 192 | <artifactId>aaf-cadi-aaf</artifactId> |
| 193 | <version>${project.version}</version> |
| 194 | </dependency> |
| 195 | |
| 196 | <dependency> |
| 197 | <groupId>org.onap.aaf.cadi</groupId> |
| 198 | <artifactId>aaf-cadi-aaf</artifactId> |
| 199 | <version>${project.version}</version> |
| 200 | <classifier>full</classifier> |
| 201 | </dependency> |
| 202 | |
| 203 | <dependency> |
| 204 | <groupId>org.onap.aaf.cadi</groupId> |
| 205 | <artifactId>aaf-cadi-client</artifactId> |
| 206 | <version>${project.version}</version> |
| 207 | </dependency> |
| 208 | |
| 209 | <dependency> |
| 210 | <groupId>org.onap.aaf.misc</groupId> |
| 211 | <artifactId>aaf-misc-env</artifactId> |
| 212 | <version>${project.miscVersion}</version> |
| 213 | </dependency> |
| 214 | |
| 215 | <dependency> |
| 216 | <groupId>org.onap.aaf.misc</groupId> |
| 217 | <artifactId>aaf-misc-rosetta</artifactId> |
| 218 | <version>${project.miscVersion}</version> |
| 219 | </dependency> |
| 220 | |
| 221 | <dependency> |
| 222 | <groupId>org.onap.aaf.misc</groupId> |
| 223 | <artifactId>aaf-misc-log4j</artifactId> |
| 224 | <version>${project.miscVersion}</version> |
| 225 | </dependency> |
| 226 | |
| 227 | <dependency> |
| 228 | <groupId>org.eclipse.jetty</groupId> |
| 229 | <artifactId>jetty-servlet</artifactId> |
| 230 | <version>${project.jettyVersion}</version> |
| 231 | </dependency> |
| 232 | |
| 233 | <dependency> |
| 234 | <groupId>org.eclipse.jetty</groupId> |
| 235 | <artifactId>jetty-io</artifactId> |
| 236 | <version>${project.jettyVersion}</version> |
| 237 | </dependency> |
| 238 | |
| 239 | <dependency> |
| 240 | <groupId>org.eclipse.jetty</groupId> |
| 241 | <artifactId>jetty-security</artifactId> |
| 242 | <version>${project.jettyVersion}</version> |
| 243 | </dependency> |
| 244 | |
| 245 | <dependency> |
| 246 | <groupId>org.eclipse.jetty</groupId> |
| 247 | <artifactId>jetty-http</artifactId> |
| 248 | <version>${project.jettyVersion}</version> |
| 249 | </dependency> |
| 250 | |
| 251 | <dependency> |
| 252 | <groupId>org.eclipse.jetty</groupId> |
| 253 | <artifactId>jetty-util</artifactId> |
| 254 | <version>${project.jettyVersion}</version> |
| 255 | </dependency> |
| 256 | |
| 257 | <dependency> |
| 258 | <groupId>org.eclipse.jetty</groupId> |
| 259 | <artifactId>jetty-server</artifactId> |
| 260 | <version>${project.jettyVersion}</version> |
| 261 | </dependency> |
| 262 | |
| 263 | <dependency> |
| 264 | <groupId>javax.servlet</groupId> |
Instrumental | 10027f3 | 2018-03-26 14:07:37 -0700 | [diff] [blame] | 265 | <artifactId>servlet-api</artifactId> |
| 266 | <version>2.5</version> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 267 | </dependency> |
| 268 | |
| 269 | <dependency> |
| 270 | <groupId>org.slf4j</groupId> |
| 271 | <artifactId>slf4j-api</artifactId> |
| 272 | <version>1.7.5</version> |
| 273 | </dependency> |
| 274 | </dependencies> |
| 275 | </dependencyManagement> |
| 276 | |
| 277 | <!-- ============================================================== --> |
| 278 | <!-- Define common plugins and make them available for all modules --> |
| 279 | <!-- ============================================================== --> |
| 280 | <build> |
| 281 | <testSourceDirectory>src/test/java</testSourceDirectory> |
| 282 | <plugins> |
| 283 | </plugins> |
| 284 | <pluginManagement> |
| 285 | <plugins> |
| 286 | <plugin> |
| 287 | <inherited>true</inherited> |
| 288 | <groupId>org.apache.maven.plugins</groupId> |
| 289 | <artifactId>maven-compiler-plugin</artifactId> |
| 290 | <version>2.3.2</version> |
| 291 | <configuration> |
| 292 | <source>1.7</source> |
| 293 | <target>1.7</target> |
| 294 | </configuration> |
| 295 | </plugin> |
| 296 | |
| 297 | <plugin> |
| 298 | <groupId>org.apache.maven.plugins</groupId> |
| 299 | <version>2.4</version> |
| 300 | <artifactId>maven-jar-plugin</artifactId> |
| 301 | <configuration> |
| 302 | <outputDirectory>target</outputDirectory> |
| 303 | <archive> |
| 304 | <manifestEntries> |
| 305 | <Sealed>true</Sealed> |
| 306 | </manifestEntries> |
| 307 | </archive> |
| 308 | </configuration> |
| 309 | </plugin> |
| 310 | |
| 311 | <!-- Define the javadoc plugin --> |
| 312 | <plugin> |
| 313 | <groupId>org.apache.maven.plugins</groupId> |
| 314 | <artifactId>maven-javadoc-plugin</artifactId> |
| 315 | <version>2.10</version> |
| 316 | <configuration> |
| 317 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 318 | </configuration> |
| 319 | </plugin> |
| 320 | |
| 321 | <plugin> |
| 322 | <artifactId>maven-release-plugin</artifactId> |
| 323 | <version>2.5.2</version> |
| 324 | <configuration> |
| 325 | <goals>-s ${mvn.settings} deploy</goals> |
| 326 | </configuration> |
| 327 | </plugin> |
| 328 | |
| 329 | <plugin> |
| 330 | <artifactId>maven-assembly-plugin</artifactId> |
| 331 | <version>2.5.5</version> |
| 332 | </plugin> |
| 333 | |
| 334 | <plugin> |
| 335 | <groupId>org.apache.maven.plugins</groupId> |
| 336 | <artifactId>maven-deploy-plugin</artifactId> |
| 337 | <version>2.8.1</version> |
| 338 | <configuration> |
| 339 | <skip>false</skip> |
| 340 | </configuration> |
| 341 | |
| 342 | </plugin> |
| 343 | |
| 344 | <plugin> |
| 345 | <groupId>org.apache.maven.plugins</groupId> |
| 346 | <artifactId>maven-dependency-plugin</artifactId> |
| 347 | <version>2.10</version> |
| 348 | </plugin> |
| 349 | |
| 350 | <!-- Maven surefire plugin for testing --> |
| 351 | <plugin> |
| 352 | <artifactId>maven-surefire-plugin</artifactId> |
| 353 | <version>2.17</version> |
| 354 | <configuration> |
| 355 | <skipTests>true</skipTests> |
| 356 | </configuration> |
| 357 | </plugin> |
| 358 | |
| 359 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 360 | only. It has no influence on the Maven build itself. --> |
| 361 | <plugin> |
| 362 | <groupId>org.eclipse.m2e</groupId> |
| 363 | <artifactId>lifecycle-mapping</artifactId> |
| 364 | <version>1.0.0</version> |
| 365 | <configuration> |
| 366 | <lifecycleMappingMetadata> |
| 367 | <pluginExecutions> |
| 368 | <pluginExecution> |
| 369 | <pluginExecutionFilter> |
| 370 | <groupId> |
| 371 | org.codehaus.mojo |
| 372 | </groupId> |
| 373 | <artifactId> |
| 374 | jaxb2-maven-plugin |
| 375 | </artifactId> |
| 376 | <versionRange> |
| 377 | [1.3,) |
| 378 | </versionRange> |
| 379 | <goals> |
| 380 | <goal>xjc</goal> |
| 381 | </goals> |
| 382 | </pluginExecutionFilter> |
| 383 | <action> |
| 384 | <ignore /> |
| 385 | </action> |
| 386 | </pluginExecution> |
| 387 | </pluginExecutions> |
| 388 | </lifecycleMappingMetadata> |
| 389 | </configuration> |
| 390 | </plugin> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 391 | <plugin> |
| 392 | <groupId>org.sonatype.plugins</groupId> |
| 393 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 394 | <version>1.6.7</version> |
| 395 | <extensions>true</extensions> |
| 396 | <configuration> |
| 397 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 398 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 399 | <serverId>ecomp-staging</serverId> |
| 400 | </configuration> |
| 401 | </plugin> |
| 402 | <plugin> |
| 403 | <groupId>org.jacoco</groupId> |
| 404 | <artifactId>jacoco-maven-plugin</artifactId> |
| 405 | <version>0.7.7.201606060606</version> |
| 406 | <configuration> |
| 407 | <dumpOnExit>true</dumpOnExit> |
| 408 | <includes> |
| 409 | <include>org.onap.aaf.*</include> |
| 410 | </includes> |
| 411 | </configuration> |
| 412 | <executions> |
| 413 | <execution> |
| 414 | <id>pre-unit-test</id> |
| 415 | <goals> |
| 416 | <goal>prepare-agent</goal> |
| 417 | </goals> |
| 418 | <configuration> |
| 419 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 420 | <!-- <append>true</append> --> |
| 421 | </configuration> |
| 422 | </execution> |
| 423 | <execution> |
| 424 | <id>pre-integration-test</id> |
| 425 | <phase>pre-integration-test</phase> |
| 426 | <goals> |
| 427 | <goal>prepare-agent</goal> |
| 428 | </goals> |
| 429 | <configuration> |
| 430 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
| 431 | <!-- <append>true</append> --> |
| 432 | </configuration> |
| 433 | </execution> |
| 434 | <execution> |
| 435 | <goals> |
| 436 | <goal>merge</goal> |
| 437 | </goals> |
| 438 | <phase>post-integration-test</phase> |
| 439 | <configuration> |
| 440 | <fileSets> |
| 441 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 442 | <directory>${project.build.directory}/coverage-reports</directory> |
| 443 | <includes> |
| 444 | <include>*.exec</include> |
| 445 | </includes> |
| 446 | </fileSet> |
| 447 | </fileSets> |
| 448 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 449 | </configuration> |
| 450 | </execution> |
| 451 | </executions> |
| 452 | </plugin> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 453 | </plugins> |
| 454 | </pluginManagement> |
| 455 | </build> |
| 456 | |
| 457 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 458 | <distributionManagement> |
| 459 | <repository> |
| 460 | <id>ecomp-releases</id> |
| 461 | <name>AAF Release Repository</name> |
| 462 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 463 | </repository> |
| 464 | <snapshotRepository> |
| 465 | <id>ecomp-snapshots</id> |
| 466 | <name>AAF Snapshot Repository</name> |
| 467 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 468 | </snapshotRepository> |
| 469 | <site> |
| 470 | <id>ecomp-site</id> |
| 471 | <url>dav:${nexusproxy}${sitePath}</url> |
| 472 | </site> |
| 473 | </distributionManagement> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 474 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 475 | </project> |