sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!--
|
| 3 | ============LICENSE_START====================================================
|
| 4 | * org.onap.aai
|
| 5 | * ===========================================================================
|
| 6 | * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
|
| 7 | * Copyright © 2017 Amdocs
|
| 8 | * ===========================================================================
|
| 9 | * Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 | * you may not use this file except in compliance with the License.
|
| 11 | * You may obtain a copy of the License at
|
| 12 | *
|
| 13 | * http://www.apache.org/licenses/LICENSE-2.0
|
| 14 | *
|
| 15 | * Unless required by applicable law or agreed to in writing, software
|
| 16 | * distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 | * See the License for the specific language governing permissions and
|
| 19 | * limitations under the License.
|
| 20 | * ============LICENSE_END====================================================
|
| 21 | *
|
| 22 | * ECOMP is a trademark and service mark of AT&T Intellectual Property.
|
| 23 | *
|
| 24 | -->
|
| 25 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
| 27 | <modelVersion>4.0.0</modelVersion>
|
| 28 |
|
sg481n | 4e6a217 | 2017-09-19 12:22:25 -0400 | [diff] [blame] | 29 |
|
| 30 | <parent>
|
| 31 | <groupId>org.onap.aaf.authz</groupId>
|
| 32 | <artifactId>parent</artifactId>
|
| 33 | <version>1.0.1-SNAPSHOT</version>
|
| 34 | <relativePath>../pom.xml</relativePath>
|
| 35 | </parent>
|
| 36 |
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 37 | <!-- No Parent on Purpose!!! -->
|
| 38 | <artifactId>authz-client</artifactId>
|
| 39 | <name>Authz Client</name>
|
| 40 | <description>Client and XSD Generated code for Authz</description>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 41 | <groupId>org.onap.aaf.authz</groupId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 42 | <version>1.0.1-SNAPSHOT</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 43 | <packaging>jar</packaging>
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 44 | <url>https://github.com/att/AAF</url>
|
| 45 | <licenses>
|
| 46 | <license>
|
| 47 | <name>BSD License</name>
|
| 48 | <url> </url>
|
| 49 | </license>
|
| 50 | </licenses>
|
| 51 | <developers>
|
| 52 | <developer>
|
| 53 | <name>Jonathan Gathman</name>
|
| 54 | <email></email>
|
| 55 | <organization>ATT</organization>
|
| 56 | <organizationUrl></organizationUrl>
|
| 57 | </developer>
|
| 58 | </developers>
|
| 59 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 60 | <properties>
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 61 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 62 | <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>
|
sg481n | 08e1104 | 2017-09-29 12:33:53 +0000 | [diff] [blame] | 63 | <maven.test.failure.ignore>true</maven.test.failure.ignore>
|
sg481n | aa2c01c | 2017-08-25 01:29:57 -0400 | [diff] [blame] | 64 | <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 65 | <sonar.language>java</sonar.language>
|
| 66 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
| 67 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
|
| 68 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
|
| 69 | <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^] | 70 | <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 71 | <sonar.projectVersion>${project.version}</sonar.projectVersion>
|
sg481n | aa2c01c | 2017-08-25 01:29:57 -0400 | [diff] [blame] | 72 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 73 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
|
| 74 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
|
| 75 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 76 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 77 | </properties>
|
| 78 |
|
| 79 | <dependencies>
|
| 80 | <dependency>
|
| 81 | <groupId>junit</groupId>
|
| 82 | <artifactId>junit</artifactId>
|
| 83 | <version>4.10</version>
|
| 84 | <scope>test</scope>
|
| 85 | </dependency>
|
| 86 |
|
| 87 | </dependencies>
|
| 88 |
|
| 89 | <build>
|
| 90 | <plugins>
|
| 91 | <plugin>
|
| 92 | <groupId>org.codehaus.mojo</groupId>
|
| 93 | <artifactId>jaxb2-maven-plugin</artifactId>
|
| 94 | <version>1.3</version>
|
| 95 | <executions>
|
| 96 | <execution>
|
| 97 | <phase>generate-sources</phase>
|
| 98 | <goals>
|
| 99 | <goal>xjc</goal>
|
| 100 | </goals>
|
| 101 | </execution>
|
| 102 | </executions>
|
| 103 | <configuration>
|
| 104 | <schemaDirectory>src/main/xsd</schemaDirectory>
|
| 105 | </configuration>
|
| 106 | </plugin>
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 107 |
|
| 108 | <!--This plugin's configuration is used to store Eclipse m2e settings
|
| 109 | only. It has no influence on the Maven build itself. -->
|
| 110 | <plugin>
|
| 111 | <groupId>org.eclipse.m2e</groupId>
|
| 112 | <artifactId>lifecycle-mapping</artifactId>
|
| 113 | <version>1.0.0</version>
|
| 114 | <configuration>
|
| 115 | <lifecycleMappingMetadata>
|
| 116 | <pluginExecutions>
|
| 117 | <pluginExecution>
|
| 118 | <pluginExecutionFilter>
|
| 119 | <groupId>
|
| 120 | org.codehaus.mojo
|
| 121 | </groupId>
|
| 122 | <artifactId>
|
| 123 | jaxb2-maven-plugin
|
| 124 | </artifactId>
|
| 125 | <versionRange>
|
| 126 | [1.3,)
|
| 127 | </versionRange>
|
| 128 | <goals>
|
| 129 | <goal>xjc</goal>
|
| 130 | </goals>
|
| 131 | </pluginExecutionFilter>
|
| 132 | <action>
|
| 133 | <ignore></ignore>
|
| 134 | </action>
|
| 135 | </pluginExecution>
|
| 136 | </pluginExecutions>
|
| 137 | </lifecycleMappingMetadata>
|
| 138 | </configuration>
|
| 139 | </plugin>
|
| 140 | <plugin>
|
| 141 | <groupId>org.apache.maven.plugins</groupId>
|
| 142 | <artifactId>maven-compiler-plugin</artifactId>
|
| 143 | <version>2.3.2</version>
|
| 144 | <configuration>
|
| 145 | <source>1.6</source>
|
| 146 | <target>1.6</target>
|
| 147 | </configuration>
|
| 148 | </plugin>
|
| 149 |
|
| 150 | <plugin>
|
| 151 | <groupId>org.apache.maven.plugins</groupId>
|
| 152 | <artifactId>maven-javadoc-plugin</artifactId>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 153 | <version>2.10.4</version>
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 154 | <configuration>
|
| 155 | <failOnError>false</failOnError>
|
| 156 | </configuration>
|
| 157 | <executions>
|
| 158 | <execution>
|
| 159 | <id>attach-javadocs</id>
|
| 160 | <goals>
|
| 161 | <goal>jar</goal>
|
| 162 | </goals>
|
| 163 | </execution>
|
| 164 | </executions>
|
| 165 | </plugin>
|
| 166 |
|
| 167 |
|
| 168 | <plugin>
|
| 169 | <groupId>org.apache.maven.plugins</groupId>
|
| 170 | <artifactId>maven-source-plugin</artifactId>
|
| 171 | <version>2.2.1</version>
|
| 172 | <executions>
|
| 173 | <execution>
|
| 174 | <id>attach-sources</id>
|
| 175 | <goals>
|
| 176 | <goal>jar-no-fork</goal>
|
| 177 | </goals>
|
| 178 | </execution>
|
| 179 | </executions>
|
| 180 | </plugin>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 181 |
|
| 182 | <plugin>
|
sg481n | aa2c01c | 2017-08-25 01:29:57 -0400 | [diff] [blame] | 183 | <groupId>org.sonatype.plugins</groupId>
|
| 184 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 185 | <version>1.6.7</version>
|
| 186 | <extensions>true</extensions>
|
| 187 | <configuration>
|
| 188 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 189 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 190 | <serverId>ecomp-staging</serverId>
|
| 191 | </configuration>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 192 | </plugin>
|
| 193 | <plugin>
|
sg481n | f33ea6d | 2017-10-01 17:28:44 +0000 | [diff] [blame^] | 194 | <groupId>org.jacoco</groupId>
|
| 195 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 196 | <version>${jacoco.version}</version>
|
| 197 | <configuration>
|
| 198 | <!-- Note: This exclusion list should match <sonar.exclusions>
|
| 199 | property above -->
|
| 200 | <excludes>
|
| 201 | <exclude>**/gen/**</exclude>
|
| 202 | <exclude>**/generated-sources/**</exclude>
|
| 203 | <exclude>**/yang-gen/**</exclude>
|
| 204 | <exclude>**/pax/**</exclude>
|
| 205 | </excludes>
|
| 206 | </configuration>
|
| 207 | <executions>
|
| 208 | <!--
|
| 209 | Prepares the property pointing to the JaCoCo runtime agent which
|
| 210 | is passed as VM argument when Maven the Surefire plugin is executed.
|
| 211 | -->
|
| 212 | <execution>
|
| 213 | <id>pre-unit-test</id>
|
| 214 | <goals>
|
| 215 | <goal>prepare-agent</goal>
|
| 216 | </goals>
|
| 217 | <configuration>
|
| 218 | <!-- Sets the path to the file which contains the execution data. -->
|
| 219 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
|
| 220 | <!--
|
| 221 | Sets the name of the property containing the settings
|
| 222 | for JaCoCo runtime agent.
|
| 223 | -->
|
| 224 | <propertyName>surefireArgLine</propertyName>
|
| 225 | </configuration>
|
| 226 | </execution>
|
| 227 | <!--
|
| 228 | Ensures that the code coverage report for unit tests is created after
|
| 229 | unit tests have been run.
|
| 230 | -->
|
| 231 | <execution>
|
| 232 | <id>post-unit-test</id>
|
| 233 | <phase>test</phase>
|
| 234 | <goals>
|
| 235 | <goal>report</goal>
|
| 236 | </goals>
|
| 237 | <configuration>
|
| 238 | <!-- Sets the path to the file which contains the execution data. -->
|
| 239 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
|
| 240 | <!-- Sets the output directory for the code coverage report. -->
|
| 241 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
|
| 242 | </configuration>
|
| 243 | </execution>
|
| 244 | <execution>
|
| 245 | <id>pre-integration-test</id>
|
| 246 | <phase>pre-integration-test</phase>
|
| 247 | <goals>
|
| 248 | <goal>prepare-agent</goal>
|
| 249 | </goals>
|
| 250 | <configuration>
|
| 251 | <!-- Sets the path to the file which contains the execution data. -->
|
| 252 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
|
| 253 | <!--
|
| 254 | Sets the name of the property containing the settings
|
| 255 | for JaCoCo runtime agent.
|
| 256 | -->
|
| 257 | <propertyName>failsafeArgLine</propertyName>
|
| 258 | </configuration>
|
| 259 | </execution>
|
| 260 | <!--
|
| 261 | Ensures that the code coverage report for integration tests after
|
| 262 | integration tests have been run.
|
| 263 | -->
|
| 264 | <execution>
|
| 265 | <id>post-integration-test</id>
|
| 266 | <phase>post-integration-test</phase>
|
| 267 | <goals>
|
| 268 | <goal>report</goal>
|
| 269 | </goals>
|
| 270 | <configuration>
|
| 271 | <!-- Sets the path to the file which contains the execution data. -->
|
| 272 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
|
| 273 | <!-- Sets the output directory for the code coverage report. -->
|
| 274 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
|
| 275 | </configuration>
|
| 276 | </execution>
|
| 277 | </executions>
|
| 278 | </plugin>
|
| 279 |
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 280 | </plugins>
|
| 281 | </build>
|
| 282 |
|
sg481n | aa2c01c | 2017-08-25 01:29:57 -0400 | [diff] [blame] | 283 | <distributionManagement>
|
| 284 | <repository>
|
| 285 | <id>ecomp-releases</id>
|
| 286 | <name>AAF Release Repository</name>
|
| 287 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 288 | </repository>
|
| 289 | <snapshotRepository>
|
| 290 | <id>ecomp-snapshots</id>
|
| 291 | <name>AAF Snapshot Repository</name>
|
| 292 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 293 | </snapshotRepository>
|
| 294 | <site>
|
| 295 | <id>ecomp-site</id>
|
| 296 | <url>dav:${nexusproxy}${sitePath}</url>
|
| 297 | </site>
|
| 298 | </distributionManagement>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame] | 299 |
|
sg481n | 43854a9 | 2017-08-03 17:27:34 -0400 | [diff] [blame] | 300 | </project>
|
| 301 |
|