sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!--
|
| 3 | ============LICENSE_START====================================================
|
| 4 | * org.onap.aaf
|
| 5 | * ===========================================================================
|
| 6 | * Copyright © 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 | * ECOMP is a trademark and service mark of AT&T Intellectual Property.
|
| 22 | *
|
| 23 | -->
|
| 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 25 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
| 26 | <modelVersion>4.0.0</modelVersion>
|
| 27 | <parent>
|
| 28 | <groupId>org.onap.aaf.authz</groupId>
|
| 29 | <artifactId>parent</artifactId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 30 | <version>1.0.1-SNAPSHOT</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 31 | <relativePath>../pom.xml</relativePath>
|
| 32 | </parent>
|
| 33 |
|
| 34 | <artifactId>authz-certman</artifactId>
|
| 35 | <name>AAF Certification Managmenent</name>
|
| 36 | <description>Certificate Manager API</description>
|
| 37 | <url>https://github.com/att/AAF</url>
|
| 38 | <licenses>
|
| 39 | <license>
|
| 40 | <name>BSD License</name>
|
| 41 | <url> </url>
|
| 42 | </license>
|
| 43 | </licenses>
|
| 44 | <developers>
|
| 45 | <developer>
|
| 46 | <name>Jonathan Gathman</name>
|
| 47 | <email></email>
|
| 48 | <organization>ATT</organization>
|
| 49 | <organizationUrl></organizationUrl>
|
| 50 | </developer>
|
| 51 | </developers>
|
| 52 |
|
| 53 |
|
| 54 | <properties>
|
| 55 | <project.swmVersion>45</project.swmVersion>
|
| 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 57 | <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 58 | <sonar.language>java</sonar.language>
|
| 59 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
| 60 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
|
| 61 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
|
| 62 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
|
sg481n | f33ea6d | 2017-10-01 17:28:44 +0000 | [diff] [blame^] | 63 | <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 64 | <sonar.projectVersion>${project.version}</sonar.projectVersion>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 65 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 66 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
|
| 67 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
|
| 68 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 69 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 70 | </properties>
|
| 71 |
|
| 72 | <dependencies>
|
| 73 | <dependency>
|
| 74 | <groupId>org.onap.aaf.authz</groupId>
|
| 75 | <artifactId>authz-core</artifactId>
|
sg481n | 5c30b7f | 2017-09-17 11:37:00 -0400 | [diff] [blame] | 76 | <version>${project.version}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 77 | </dependency>
|
| 78 |
|
| 79 | <dependency>
|
| 80 | <groupId>org.onap.aaf.authz</groupId>
|
| 81 | <artifactId>authz-cass</artifactId>
|
sg481n | 5c30b7f | 2017-09-17 11:37:00 -0400 | [diff] [blame] | 82 | <version>${project.version}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 83 | </dependency>
|
| 84 |
|
| 85 |
|
| 86 | <dependency>
|
| 87 | <groupId>org.onap.aaf.cadi</groupId>
|
| 88 | <artifactId>cadi-aaf</artifactId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 89 | <version>${project.cadiVersion}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 90 | </dependency>
|
| 91 |
|
| 92 | <dependency>
|
| 93 | <groupId>com.google.code.jscep</groupId>
|
| 94 | <artifactId>jscep</artifactId>
|
| 95 | <version>2.4.0</version>
|
| 96 | </dependency>
|
| 97 | <!-- TESTING -->
|
| 98 | <dependency>
|
| 99 | <groupId>org.slf4j</groupId>
|
| 100 | <artifactId>slf4j-log4j12</artifactId>
|
| 101 | </dependency>
|
| 102 | </dependencies>
|
| 103 |
|
| 104 | <build>
|
| 105 | <plugins>
|
| 106 | <plugin>
|
| 107 | <groupId>org.apache.maven.plugins</groupId>
|
| 108 | <artifactId>maven-jar-plugin</artifactId>
|
| 109 | <configuration>
|
| 110 | <includes>
|
| 111 | <include>**/*.class</include>
|
| 112 | </includes>
|
| 113 | </configuration>
|
| 114 | <version>2.3.1</version>
|
| 115 | </plugin>
|
| 116 |
|
| 117 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
| 118 |
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 119 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 120 | <plugin>
|
| 121 | <groupId>org.apache.maven.plugins</groupId>
|
| 122 | <artifactId>maven-javadoc-plugin</artifactId>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 123 | <version>2.10.4</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 124 | <configuration>
|
| 125 | <failOnError>false</failOnError>
|
| 126 | </configuration>
|
| 127 | <executions>
|
| 128 | <execution>
|
| 129 | <id>attach-javadocs</id>
|
| 130 | <goals>
|
| 131 | <goal>jar</goal>
|
| 132 | </goals>
|
| 133 | </execution>
|
| 134 | </executions>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 135 | </plugin>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 136 |
|
| 137 |
|
| 138 | <plugin>
|
| 139 | <groupId>org.apache.maven.plugins</groupId>
|
| 140 | <artifactId>maven-source-plugin</artifactId>
|
| 141 | <version>2.2.1</version>
|
| 142 | <executions>
|
| 143 | <execution>
|
| 144 | <id>attach-sources</id>
|
| 145 | <goals>
|
| 146 | <goal>jar-no-fork</goal>
|
| 147 | </goals>
|
| 148 | </execution>
|
| 149 | </executions>
|
| 150 | </plugin>
|
| 151 | <plugin>
|
| 152 | <groupId>org.sonatype.plugins</groupId>
|
| 153 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 154 | <version>1.6.7</version>
|
| 155 | <extensions>true</extensions>
|
| 156 | <configuration>
|
| 157 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 158 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 159 | <serverId>ecomp-staging</serverId>
|
| 160 | </configuration>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 161 | </plugin>
|
| 162 | <plugin>
|
sg481n | f33ea6d | 2017-10-01 17:28:44 +0000 | [diff] [blame^] | 163 | <groupId>org.jacoco</groupId>
|
| 164 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 165 | <version>${jacoco.version}</version>
|
| 166 | <configuration>
|
| 167 | <!-- Note: This exclusion list should match <sonar.exclusions>
|
| 168 | property above -->
|
| 169 | <excludes>
|
| 170 | <exclude>**/gen/**</exclude>
|
| 171 | <exclude>**/generated-sources/**</exclude>
|
| 172 | <exclude>**/yang-gen/**</exclude>
|
| 173 | <exclude>**/pax/**</exclude>
|
| 174 | </excludes>
|
| 175 | </configuration>
|
| 176 | <executions>
|
| 177 | <!--
|
| 178 | Prepares the property pointing to the JaCoCo runtime agent which
|
| 179 | is passed as VM argument when Maven the Surefire plugin is executed.
|
| 180 | -->
|
| 181 | <execution>
|
| 182 | <id>pre-unit-test</id>
|
| 183 | <goals>
|
| 184 | <goal>prepare-agent</goal>
|
| 185 | </goals>
|
| 186 | <configuration>
|
| 187 | <!-- Sets the path to the file which contains the execution data. -->
|
| 188 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
|
| 189 | <!--
|
| 190 | Sets the name of the property containing the settings
|
| 191 | for JaCoCo runtime agent.
|
| 192 | -->
|
| 193 | <propertyName>surefireArgLine</propertyName>
|
| 194 | </configuration>
|
| 195 | </execution>
|
| 196 | <!--
|
| 197 | Ensures that the code coverage report for unit tests is created after
|
| 198 | unit tests have been run.
|
| 199 | -->
|
| 200 | <execution>
|
| 201 | <id>post-unit-test</id>
|
| 202 | <phase>test</phase>
|
| 203 | <goals>
|
| 204 | <goal>report</goal>
|
| 205 | </goals>
|
| 206 | <configuration>
|
| 207 | <!-- Sets the path to the file which contains the execution data. -->
|
| 208 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
|
| 209 | <!-- Sets the output directory for the code coverage report. -->
|
| 210 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
|
| 211 | </configuration>
|
| 212 | </execution>
|
| 213 | <execution>
|
| 214 | <id>pre-integration-test</id>
|
| 215 | <phase>pre-integration-test</phase>
|
| 216 | <goals>
|
| 217 | <goal>prepare-agent</goal>
|
| 218 | </goals>
|
| 219 | <configuration>
|
| 220 | <!-- Sets the path to the file which contains the execution data. -->
|
| 221 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
|
| 222 | <!--
|
| 223 | Sets the name of the property containing the settings
|
| 224 | for JaCoCo runtime agent.
|
| 225 | -->
|
| 226 | <propertyName>failsafeArgLine</propertyName>
|
| 227 | </configuration>
|
| 228 | </execution>
|
| 229 | <!--
|
| 230 | Ensures that the code coverage report for integration tests after
|
| 231 | integration tests have been run.
|
| 232 | -->
|
| 233 | <execution>
|
| 234 | <id>post-integration-test</id>
|
| 235 | <phase>post-integration-test</phase>
|
| 236 | <goals>
|
| 237 | <goal>report</goal>
|
| 238 | </goals>
|
| 239 | <configuration>
|
| 240 | <!-- Sets the path to the file which contains the execution data. -->
|
| 241 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
|
| 242 | <!-- Sets the output directory for the code coverage report. -->
|
| 243 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
|
| 244 | </configuration>
|
| 245 | </execution>
|
| 246 | </executions>
|
| 247 | </plugin>
|
| 248 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 249 |
|
| 250 | </plugins>
|
| 251 | <pluginManagement>
|
| 252 | <plugins/>
|
| 253 | </pluginManagement>
|
| 254 | </build>
|
| 255 | <distributionManagement>
|
| 256 | <repository>
|
| 257 | <id>ecomp-releases</id>
|
| 258 | <name>AAF Release Repository</name>
|
| 259 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 260 | </repository>
|
| 261 | <snapshotRepository>
|
| 262 | <id>ecomp-snapshots</id>
|
| 263 | <name>AAF Snapshot Repository</name>
|
| 264 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 265 | </snapshotRepository>
|
| 266 | <site>
|
| 267 | <id>ecomp-site</id>
|
| 268 | <url>dav:${nexusproxy}${sitePath}</url>
|
| 269 | </site>
|
| 270 | </distributionManagement>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 271 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 272 | </project>
|