sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 1 | <!-- |
Instrumental | 10027f3 | 2018-03-26 14:07:37 -0700 | [diff] [blame] | 2 | * ============LICENSE_START==================================================== |
| 3 | * org.onap.aaf |
| 4 | * =========================================================================== |
| 5 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | * =========================================================================== |
| 7 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | * you may not use this file except in compliance with the License. |
| 9 | * You may obtain a copy of the License at |
| 10 | * |
| 11 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | * |
| 13 | * Unless required by applicable law or agreed to in writing, software |
| 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | * See the License for the specific language governing permissions and |
| 17 | * limitations under the License. |
| 18 | * ============LICENSE_END==================================================== |
| 19 | * |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 20 | --> |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
Sai Gandham | 58a75a0 | 2018-04-06 15:20:29 -0500 | [diff] [blame] | 24 | <groupId>org.onap.aaf.authz</groupId> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame^] | 25 | <artifactId>parent</artifactId> |
Instrumental | 10027f3 | 2018-03-26 14:07:37 -0700 | [diff] [blame] | 26 | <version>2.1.0-SNAPSHOT</version> |
| 27 | <name>AAF Overall Parent</name> |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 28 | <packaging>pom</packaging> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 29 | |
| 30 | <parent> |
| 31 | <groupId>org.onap.oparent</groupId> |
| 32 | <artifactId>oparent</artifactId> |
| 33 | <version>1.1.0</version> |
| 34 | </parent> |
| 35 | |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 36 | <properties> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 37 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 38 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 39 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 40 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 41 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 42 | |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 43 | <maven.test.failure.ignore>false</maven.test.failure.ignore> |
| 44 | <!-- SONAR --> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 45 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 46 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 47 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 48 | <!-- Default Sonar configuration --> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 49 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 50 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 51 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 52 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 53 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 54 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 55 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 56 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 57 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 58 | |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 59 | </properties> |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 60 | <build> |
Instrumental | 10027f3 | 2018-03-26 14:07:37 -0700 | [diff] [blame] | 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.maven.plugins</groupId> |
| 64 | <artifactId>maven-deploy-plugin</artifactId> |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 65 | <configuration> |
Sai Gandham | d97041c | 2018-04-03 01:57:59 -0500 | [diff] [blame] | 66 | <skip>false</skip> |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 67 | </configuration> |
| 68 | </plugin> |
Sai Gandham | 095221f | 2018-03-28 03:41:06 +0000 | [diff] [blame] | 69 | <plugin> |
| 70 | <groupId>org.sonatype.plugins</groupId> |
| 71 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 72 | <version>1.6.7</version> |
| 73 | <extensions>true</extensions> |
| 74 | <configuration> |
| 75 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 76 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 77 | <serverId>ecomp-staging</serverId> |
| 78 | </configuration> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 79 | </plugin> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 80 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 81 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 82 | <artifactId>sonar-maven-plugin</artifactId> |
| 83 | <version>3.2</version> |
| 84 | </plugin> |
| 85 | <plugin> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 86 | <groupId>org.jacoco</groupId> |
| 87 | <artifactId>jacoco-maven-plugin</artifactId> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 88 | <version>${jacoco.version}</version> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 89 | <configuration> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 90 | <excludes> |
| 91 | <exclude>**/gen/**</exclude> |
| 92 | <exclude>**/generated-sources/**</exclude> |
| 93 | <exclude>**/yang-gen/**</exclude> |
| 94 | <exclude>**/pax/**</exclude> |
| 95 | </excludes> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 96 | </configuration> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <id>pre-unit-test</id> |
| 100 | <goals> |
| 101 | <goal>prepare-agent</goal> |
| 102 | </goals> |
| 103 | <configuration> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 104 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 105 | <propertyName>surefireArgLine</propertyName> |
| 106 | </configuration> |
| 107 | </execution> |
| 108 | <execution> |
| 109 | <id>post-unit-test</id> |
| 110 | <phase>test</phase> |
| 111 | <goals> |
| 112 | <goal>report</goal> |
| 113 | </goals> |
| 114 | <configuration> |
| 115 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 116 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 117 | </configuration> |
| 118 | </execution> |
| 119 | <execution> |
| 120 | <id>pre-integration-test</id> |
| 121 | <phase>pre-integration-test</phase> |
| 122 | <goals> |
| 123 | <goal>prepare-agent</goal> |
| 124 | </goals> |
| 125 | <configuration> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 126 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 127 | <propertyName>failsafeArgLine</propertyName> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 128 | </configuration> |
| 129 | </execution> |
| 130 | <execution> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 131 | <id>post-integration-test</id> |
| 132 | <phase>post-integration-test</phase> |
| 133 | <goals> |
| 134 | <goal>report</goal> |
| 135 | </goals> |
| 136 | <configuration> |
| 137 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 138 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 139 | </configuration> |
| 140 | </execution> |
Instrumental | 95d2549 | 2018-04-02 18:48:10 -0500 | [diff] [blame] | 141 | </executions> |
| 142 | </plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 143 | |
Instrumental | 10027f3 | 2018-03-26 14:07:37 -0700 | [diff] [blame] | 144 | </plugins> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 145 | </build> |
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 146 | <modules> |
Instrumental | 10027f3 | 2018-03-26 14:07:37 -0700 | [diff] [blame] | 147 | <module>auth/auth-client</module> |
| 148 | <module>misc</module> |
| 149 | <module>cadi</module> |
| 150 | <module>auth</module> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 151 | </modules> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 152 | |
Sai Gandham | 095221f | 2018-03-28 03:41:06 +0000 | [diff] [blame] | 153 | <distributionManagement> |
| 154 | <repository> |
| 155 | <id>ecomp-releases</id> |
| 156 | <name>AAF Release Repository</name> |
| 157 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 158 | </repository> |
| 159 | <snapshotRepository> |
| 160 | <id>ecomp-snapshots</id> |
| 161 | <name>AAF Snapshot Repository</name> |
| 162 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 163 | </snapshotRepository> |
| 164 | <site> |
| 165 | <id>ecomp-site</id> |
| 166 | <url>dav:${nexusproxy}${sitePath}</url> |
| 167 | </site> |
| 168 | </distributionManagement> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 169 | |
| 170 | </project> |