Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 2 | <!-- * ============LICENSE_START==================================================== |
| 3 | * org.onap.aaf * =========================================================================== |
| 4 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =========================================================================== |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); * you may |
| 6 | not use this file except in compliance with the License. * You may obtain |
| 7 | a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * |
| 8 | * Unless required by applicable law or agreed to in writing, software * distributed |
| 9 | under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES |
| 10 | OR CONDITIONS OF ANY KIND, either express or implied. * See the License for |
| 11 | the specific language governing permissions and * limitations under the License. |
| 12 | * ============LICENSE_END==================================================== |
| 13 | * --> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 14 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 15 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 16 | <modelVersion>4.0.0</modelVersion> |
| 17 | <parent> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 18 | <groupId>org.onap.aaf.authz</groupId> |
| 19 | <artifactId>authparent</artifactId> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 20 | <version>2.1.0-SNAPSHOT</version> |
| 21 | <relativePath>../pom.xml</relativePath> |
| 22 | </parent> |
| 23 | |
| 24 | <artifactId>aaf-auth-certman</artifactId> |
| 25 | <name>AAF Auth Certificate Manager</name> |
| 26 | <description>Certificate Manager API</description> |
| 27 | |
| 28 | <properties> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 29 | <!-- SONAR --> |
Sai Gandham | f44b927 | 2018-04-12 16:42:07 +0000 | [diff] [blame] | 30 | <!-- <sonar.skip>true</sonar.skip> --> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 31 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 32 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 33 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 34 | <!-- Default Sonar configuration --> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 35 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 36 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 37 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list |
| 38 | below --> |
| 39 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 40 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 41 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 42 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 43 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
Sai Gandham | 30dca6e | 2018-04-09 21:22:48 +0000 | [diff] [blame] | 44 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
IanHowell | c1e8593 | 2018-05-18 09:29:09 -0500 | [diff] [blame] | 45 | <project.bouncyCastleVersion>1.59</project.bouncyCastleVersion> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 46 | </properties> |
| 47 | |
| 48 | <dependencies> |
| 49 | <dependency> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 50 | <groupId>org.onap.aaf.authz</groupId> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 51 | <artifactId>aaf-auth-core</artifactId> |
| 52 | </dependency> |
| 53 | |
| 54 | <dependency> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 55 | <groupId>org.onap.aaf.authz</groupId> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 56 | <artifactId>aaf-auth-cass</artifactId> |
| 57 | </dependency> |
| 58 | |
| 59 | <dependency> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 60 | <groupId>org.onap.aaf.authz</groupId> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 61 | <artifactId>aaf-cadi-aaf</artifactId> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
| 65 | <groupId>com.google.code.jscep</groupId> |
| 66 | <artifactId>jscep</artifactId> |
| 67 | <version>2.4.0</version> |
Instrumental | d334884 | 2018-04-11 13:13:46 -0500 | [diff] [blame] | 68 | <exclusions> |
| 69 | <exclusion> |
| 70 | <groupId>org.bouncycastle</groupId> |
| 71 | <artifactId>bcprov-jdk15on</artifactId> |
| 72 | </exclusion> |
| 73 | <exclusion> |
| 74 | <groupId>org.bouncycastle</groupId> |
| 75 | <artifactId>bcpkix-jdk15on</artifactId> |
| 76 | </exclusion> |
| 77 | </exclusions> |
| 78 | </dependency> |
| 79 | <!-- JSCEP does not use latest "Bouncy Castle" --> |
| 80 | <dependency> |
| 81 | <groupId>org.bouncycastle</groupId> |
| 82 | <artifactId>bcprov-jdk15on</artifactId> |
IanHowell | c1e8593 | 2018-05-18 09:29:09 -0500 | [diff] [blame] | 83 | <version>${project.bouncyCastleVersion}</version> |
Instrumental | d334884 | 2018-04-11 13:13:46 -0500 | [diff] [blame] | 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.bouncycastle</groupId> |
| 87 | <artifactId>bcpkix-jdk15on</artifactId> |
IanHowell | c1e8593 | 2018-05-18 09:29:09 -0500 | [diff] [blame] | 88 | <version>${project.bouncyCastleVersion}</version> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 89 | </dependency> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 90 | </dependencies> |
| 91 | |
| 92 | <build> |
| 93 | <plugins> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-jar-plugin</artifactId> |
| 97 | <configuration> |
| 98 | <includes> |
| 99 | <include>**/*.class</include> |
| 100 | </includes> |
| 101 | </configuration> |
| 102 | <version>2.3.1</version> |
| 103 | </plugin> |
| 104 | |
| 105 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 106 | only. It has no influence on the Maven build itself. --> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-deploy-plugin</artifactId> |
| 110 | <configuration> |
Sai Gandham | d97041c | 2018-04-03 01:57:59 -0500 | [diff] [blame] | 111 | <skip>false</skip> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 112 | </configuration> |
| 113 | </plugin> |
| 114 | <plugin> |
| 115 | <groupId>org.codehaus.mojo</groupId> |
| 116 | <artifactId>appassembler-maven-plugin</artifactId> |
| 117 | <configuration> |
| 118 | <programs> |
| 119 | <program> |
| 120 | <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass> |
| 121 | <name>cm</name> |
| 122 | <commandLineArguments> |
Instrumental | 924b18d | 2018-04-05 20:17:18 -0500 | [diff] [blame] | 123 | <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.cm.props</commandLineArgument> |
| 124 | <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 125 | </commandLineArguments> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 126 | </program> |
| 127 | </programs> |
| 128 | </configuration> |
| 129 | </plugin> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 130 | <plugin> |
| 131 | <groupId>org.sonatype.plugins</groupId> |
| 132 | <artifactId>nexus-staging-maven-plugin</artifactId> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 133 | <extensions>true</extensions> |
| 134 | <configuration> |
| 135 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 136 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 137 | <serverId>ecomp-staging</serverId> |
| 138 | </configuration> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 139 | </plugin> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 140 | <plugin> |
| 141 | <groupId>org.jacoco</groupId> |
| 142 | <artifactId>jacoco-maven-plugin</artifactId> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 143 | <configuration> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 144 | <excludes> |
| 145 | <exclude>**/gen/**</exclude> |
| 146 | <exclude>**/generated-sources/**</exclude> |
| 147 | <exclude>**/yang-gen/**</exclude> |
| 148 | <exclude>**/pax/**</exclude> |
| 149 | </excludes> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 150 | </configuration> |
| 151 | <executions> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 152 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 153 | <execution> |
| 154 | <id>pre-unit-test</id> |
| 155 | <goals> |
| 156 | <goal>prepare-agent</goal> |
| 157 | </goals> |
| 158 | <configuration> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 159 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 160 | <propertyName>surefireArgLine</propertyName> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | |
| 164 | |
| 165 | <execution> |
| 166 | <id>post-unit-test</id> |
| 167 | <phase>test</phase> |
| 168 | <goals> |
| 169 | <goal>report</goal> |
| 170 | </goals> |
| 171 | <configuration> |
| 172 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 173 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 174 | </configuration> |
| 175 | </execution> |
| 176 | <execution> |
| 177 | <id>pre-integration-test</id> |
| 178 | <phase>pre-integration-test</phase> |
| 179 | <goals> |
| 180 | <goal>prepare-agent</goal> |
| 181 | </goals> |
| 182 | <configuration> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 183 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 184 | <propertyName>failsafeArgLine</propertyName> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 185 | </configuration> |
| 186 | </execution> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 187 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 188 | <execution> |
gabe.maurer | 2e23328 | 2018-04-03 11:18:38 -0500 | [diff] [blame] | 189 | <id>post-integration-test</id> |
| 190 | <phase>post-integration-test</phase> |
| 191 | <goals> |
| 192 | <goal>report</goal> |
| 193 | </goals> |
| 194 | <configuration> |
| 195 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 196 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 197 | </configuration> |
| 198 | </execution> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 199 | </executions> |
| 200 | </plugin> |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 201 | </plugins> |
| 202 | </build> |
| 203 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 204 | <distributionManagement> |
| 205 | <repository> |
| 206 | <id>ecomp-releases</id> |
| 207 | <name>AAF Release Repository</name> |
| 208 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 209 | </repository> |
| 210 | <snapshotRepository> |
| 211 | <id>ecomp-snapshots</id> |
| 212 | <name>AAF Snapshot Repository</name> |
| 213 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 214 | </snapshotRepository> |
| 215 | <site> |
| 216 | <id>ecomp-site</id> |
| 217 | <url>dav:${nexusproxy}${sitePath}</url> |
| 218 | </site> |
| 219 | </distributionManagement> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 220 | |
Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame] | 221 | </project> |