IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 1 | <!-- * ============LICENSE_START==================================================== |
| 2 | * org.onap.aaf * =========================================================================== |
| 3 | * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. * =========================================================================== |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); * you may |
| 5 | not use this file except in compliance with the License. * You may obtain |
| 6 | a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * |
| 7 | * Unless required by applicable law or agreed to in writing, software * distributed |
| 8 | under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES |
| 9 | OR CONDITIONS OF ANY KIND, either express or implied. * See the License for |
| 10 | the specific language governing permissions and * limitations under the License. |
| 11 | * ============LICENSE_END==================================================== |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 12 | * --> |
| 13 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 14 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 15 | <parent> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 16 | <groupId>org.onap.aaf.authz</groupId> |
| 17 | <artifactId>cadiparent</artifactId> |
Sai Gandham | 1681592 | 2018-04-08 19:52:24 +0000 | [diff] [blame] | 18 | <relativePath>..</relativePath> |
Instrumental | 50c23cc | 2018-10-31 02:40:03 -0500 | [diff] [blame^] | 19 | <version>2.1.7-SNAPSHOT</version> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 20 | </parent> |
| 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <name>AAF CADI Core Framework</name> |
| 24 | <artifactId>aaf-cadi-core</artifactId> |
| 25 | <packaging>jar</packaging> |
| 26 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 27 | <properties> |
| 28 | <!-- SONAR --> |
Instrumental | 17ca744 | 2018-03-29 16:54:19 -0500 | [diff] [blame] | 29 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 30 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 31 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 32 | <!-- Default Sonar configuration --> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 33 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 34 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 35 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 36 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 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> |
Sai Gandham | 30dca6e | 2018-04-09 21:22:48 +0000 | [diff] [blame] | 41 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 42 | </properties> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 43 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 44 | <developers> |
| 45 | <developer> |
| 46 | <name>Jonathan Gathman</name> |
| 47 | <email>jonathan.gathman@att.com</email> |
| 48 | <organization>ATT</organization> |
| 49 | <roles> |
| 50 | <role>Architect</role> |
| 51 | <role>Lead Developer</role> |
| 52 | </roles> |
| 53 | </developer> |
| 54 | <developer> |
| 55 | <name>Gabe Maurer</name> |
| 56 | <email>gabe.maurer@att.com</email> |
| 57 | <organization>ATT</organization> |
| 58 | <roles> |
| 59 | <role>Developer</role> |
| 60 | </roles> |
| 61 | </developer> |
| 62 | <developer> |
| 63 | <name>Ian Howell</name> |
| 64 | <email>ian.howell@att.com</email> |
| 65 | <organization>ATT</organization> |
| 66 | <roles> |
| 67 | <role>Developer</role> |
| 68 | </roles> |
| 69 | </developer> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 70 | <developer> |
| 71 | <name>Sai Gandham</name> |
| 72 | <email>sai.gandham@att.com</email> |
| 73 | <organization>ATT</organization> |
| 74 | <roles> |
| 75 | <role>Developer</role> |
| 76 | </roles> |
| 77 | </developer> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 78 | </developers> |
| 79 | <dependencies> |
| 80 | <dependency> |
| 81 | <groupId>javax.servlet</groupId> |
Instrumental | 924b18d | 2018-04-05 20:17:18 -0500 | [diff] [blame] | 82 | <artifactId>javax.servlet-api</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 83 | <scope>provided</scope> |
| 84 | </dependency> |
| 85 | </dependencies> |
| 86 | <build> |
| 87 | <plugins> |
| 88 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 89 | <!-- Must put this in to turn on Signing, but Configuration itself is |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 90 | in Parent --> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
| 92 | <artifactId>maven-jarsigner-plugin</artifactId> |
Sai Gandham | 6034c49 | 2018-03-27 17:29:56 +0000 | [diff] [blame] | 93 | <version>1.4</version> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 94 | </plugin> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <artifactId>maven-jar-plugin</artifactId> |
| 98 | <configuration> |
| 99 | <archive> |
| 100 | <manifest> |
| 101 | <mainClass>org.onap.aaf.cadi.CmdLine</mainClass> |
| 102 | </manifest> |
| 103 | <manifestEntries> |
| 104 | <Sealed>true</Sealed> |
| 105 | </manifestEntries> |
| 106 | </archive> |
| 107 | </configuration> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>test-jar</id> |
| 111 | <phase>package</phase> |
| 112 | <goals> |
| 113 | <goal>test-jar</goal> |
| 114 | </goals> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
Instrumental | 17ca744 | 2018-03-29 16:54:19 -0500 | [diff] [blame] | 118 | <plugin> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 119 | <groupId>org.sonatype.plugins</groupId> |
| 120 | <artifactId>nexus-staging-maven-plugin</artifactId> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 121 | <extensions>true</extensions> |
| 122 | <configuration> |
| 123 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 124 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 125 | <serverId>ecomp-staging</serverId> |
| 126 | </configuration> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 127 | </plugin> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 128 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 129 | <groupId>org.jacoco</groupId> |
| 130 | <artifactId>jacoco-maven-plugin</artifactId> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 131 | <configuration> |
| 132 | <excludes> |
| 133 | <exclude>**/gen/**</exclude> |
| 134 | <exclude>**/generated-sources/**</exclude> |
| 135 | <exclude>**/yang-gen/**</exclude> |
| 136 | <exclude>**/pax/**</exclude> |
| 137 | </excludes> |
| 138 | </configuration> |
| 139 | <executions> |
| 140 | <execution> |
| 141 | <id>pre-unit-test</id> |
| 142 | <goals> |
| 143 | <goal>prepare-agent</goal> |
| 144 | </goals> |
| 145 | <configuration> |
| 146 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 147 | <propertyName>surefireArgLine</propertyName> |
| 148 | </configuration> |
| 149 | </execution> |
| 150 | <execution> |
| 151 | <id>post-unit-test</id> |
| 152 | <phase>test</phase> |
| 153 | <goals> |
| 154 | <goal>report</goal> |
| 155 | </goals> |
| 156 | <configuration> |
| 157 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 158 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 159 | </configuration> |
| 160 | </execution> |
| 161 | <execution> |
| 162 | <id>pre-integration-test</id> |
| 163 | <phase>pre-integration-test</phase> |
| 164 | <goals> |
| 165 | <goal>prepare-agent</goal> |
| 166 | </goals> |
| 167 | <configuration> |
| 168 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 169 | <propertyName>failsafeArgLine</propertyName> |
| 170 | </configuration> |
| 171 | </execution> |
| 172 | <execution> |
| 173 | <id>post-integration-test</id> |
| 174 | <phase>post-integration-test</phase> |
| 175 | <goals> |
| 176 | <goal>report</goal> |
| 177 | </goals> |
| 178 | <configuration> |
| 179 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 180 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 181 | </configuration> |
| 182 | </execution> |
| 183 | </executions> |
| 184 | </plugin> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 185 | </plugins> |
| 186 | </build> |
| 187 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 188 | <distributionManagement> |
| 189 | <repository> |
| 190 | <id>ecomp-releases</id> |
| 191 | <name>AAF Release Repository</name> |
| 192 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 193 | </repository> |
| 194 | <snapshotRepository> |
| 195 | <id>ecomp-snapshots</id> |
| 196 | <name>AAF Snapshot Repository</name> |
| 197 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 198 | </snapshotRepository> |
| 199 | <site> |
| 200 | <id>ecomp-site</id> |
| 201 | <url>dav:${nexusproxy}${sitePath}</url> |
| 202 | </site> |
| 203 | </distributionManagement> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 204 | </project> |