Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | * ============LICENSE_START==================================================== |
| 4 | * org.onap.aaf |
| 5 | * =========================================================================== |
| 6 | * Copyright (c) 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 | --> |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.aaf.authz</groupId> |
| 27 | <artifactId>parent</artifactId> |
Instrumental | a97d731 | 2018-05-25 15:04:43 -0500 | [diff] [blame] | 28 | <version>2.1.1-SNAPSHOT</version> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 29 | </parent> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 30 | <groupId>org.onap.aaf.authz</groupId> |
| 31 | <artifactId>miscparent</artifactId> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 32 | <name>AAF Misc Parent</name> |
Instrumental | a97d731 | 2018-05-25 15:04:43 -0500 | [diff] [blame] | 33 | <version>2.1.1-SNAPSHOT</version> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 34 | <packaging>pom</packaging> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 35 | |
Sai Gandham | a3ee229 | 2018-04-07 22:38:08 -0500 | [diff] [blame] | 36 | |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 37 | <properties> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 38 | <!-- SONAR --> |
Sai Gandham | f44b927 | 2018-04-12 16:42:07 +0000 | [diff] [blame] | 39 | <!-- <sonar.skip>true</sonar.skip> --> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 40 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 41 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 42 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 43 | <!-- Default Sonar configuration --> |
| 44 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 45 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
| 46 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 47 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 48 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 49 | <powermock.version>1.5.1</powermock.version> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 50 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 51 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 52 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 53 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
Sai Gandham | 30dca6e | 2018-04-09 21:22:48 +0000 | [diff] [blame] | 54 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 55 | </properties> |
| 56 | |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 57 | |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 58 | |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 59 | <developers> |
| 60 | <developer> |
| 61 | <name>Jonathan Gathman</name> |
| 62 | <email>jonathan.gathman@att.com</email> |
| 63 | <organization>ATT</organization> |
| 64 | <roles> |
| 65 | <role>Architect</role> |
| 66 | <role>Lead Developer</role> |
| 67 | </roles> |
| 68 | </developer> |
| 69 | <developer> |
| 70 | <name>Gabe Maurer</name> |
| 71 | <email>gabe.maurer@att.com</email> |
| 72 | <organization>ATT</organization> |
| 73 | <roles> |
| 74 | <role>Developer</role> |
| 75 | </roles> |
| 76 | </developer> |
| 77 | <developer> |
| 78 | <name>Ian Howell</name> |
| 79 | <email>ian.howell@att.com</email> |
| 80 | <organization>ATT</organization> |
| 81 | <roles> |
| 82 | <role>Developer</role> |
| 83 | </roles> |
| 84 | </developer> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 85 | <developer> |
| 86 | <name>Sai Gandham</name> |
| 87 | <email>sai.gandham@att.com</email> |
| 88 | <organization>ATT</organization> |
| 89 | <roles> |
| 90 | <role>Developer</role> |
| 91 | </roles> |
| 92 | </developer> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 93 | </developers> |
| 94 | |
| 95 | <dependencies> |
| 96 | <dependency> |
| 97 | <groupId>org.mockito</groupId> |
| 98 | <artifactId>mockito-all</artifactId> |
| 99 | <version>1.9.5</version> |
| 100 | <scope>test</scope> |
| 101 | </dependency> |
| 102 | |
| 103 | <dependency> |
| 104 | <groupId>org.powermock</groupId> |
| 105 | <artifactId>powermock-module-junit4</artifactId> |
| 106 | <version>${powermock.version}</version> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.powermock</groupId> |
| 111 | <artifactId>powermock-api-mockito</artifactId> |
| 112 | <version>${powermock.version}</version> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>junit</groupId> |
| 117 | <artifactId>junit</artifactId> |
| 118 | <version>4.10</version> |
| 119 | <scope>test</scope> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 120 | </dependency> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 121 | </dependencies> |
| 122 | |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 123 | <modules> |
| 124 | <module>env</module> |
| 125 | <module>xgen</module> |
| 126 | <module>rosetta</module> |
| 127 | <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict --> |
| 128 | </modules> |
| 129 | |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 130 | <!-- ============================================================== --> |
| 131 | <!-- Define common plugins and make them available for all modules --> |
| 132 | <!-- ============================================================== --> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 133 | <build> |
| 134 | <testSourceDirectory>src/test/java</testSourceDirectory> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 135 | <plugins> |
| 136 | </plugins> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 137 | <pluginManagement> |
| 138 | <plugins> |
| 139 | <plugin> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 140 | <inherited>true</inherited> |
| 141 | <groupId>org.apache.maven.plugins</groupId> |
| 142 | <artifactId>maven-compiler-plugin</artifactId> |
| 143 | <version>2.3.2</version> |
| 144 | <configuration> |
| 145 | <source>1.7</source> |
| 146 | <target>1.7</target> |
| 147 | </configuration> |
| 148 | </plugin> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 149 | |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <version>2.4</version> |
| 153 | <artifactId>maven-jar-plugin</artifactId> |
| 154 | <configuration> |
| 155 | <outputDirectory>target</outputDirectory> |
| 156 | <archive> |
| 157 | <manifestEntries> |
| 158 | <Sealed>true</Sealed> |
| 159 | </manifestEntries> |
| 160 | </archive> |
| 161 | </configuration> |
| 162 | </plugin> |
| 163 | |
| 164 | <!-- Define the javadoc plugin --> |
| 165 | <plugin> |
| 166 | <groupId>org.apache.maven.plugins</groupId> |
| 167 | <artifactId>maven-javadoc-plugin</artifactId> |
| 168 | <version>2.10</version> |
| 169 | <configuration> |
| 170 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 171 | </configuration> |
| 172 | </plugin> |
| 173 | |
| 174 | <plugin> |
| 175 | <artifactId>maven-release-plugin</artifactId> |
| 176 | <version>2.5.2</version> |
| 177 | <configuration> |
| 178 | <goals>-s ${mvn.settings} deploy</goals> |
| 179 | </configuration> |
| 180 | </plugin> |
| 181 | |
| 182 | <plugin> |
| 183 | <artifactId>maven-assembly-plugin</artifactId> |
| 184 | <version>2.5.5</version> |
| 185 | </plugin> |
| 186 | |
| 187 | <plugin> |
| 188 | <groupId>org.apache.maven.plugins</groupId> |
| 189 | <artifactId>maven-deploy-plugin</artifactId> |
| 190 | <version>2.8.1</version> |
| 191 | <configuration> |
| 192 | <skip>false</skip> |
| 193 | </configuration> |
| 194 | |
| 195 | </plugin> |
| 196 | |
| 197 | <plugin> |
| 198 | <groupId>org.apache.maven.plugins</groupId> |
| 199 | <artifactId>maven-dependency-plugin</artifactId> |
| 200 | <version>2.10</version> |
| 201 | </plugin> |
| 202 | |
| 203 | <!-- Maven surefire plugin for testing --> |
| 204 | <plugin> |
| 205 | <artifactId>maven-surefire-plugin</artifactId> |
| 206 | <version>2.17</version> |
| 207 | <configuration> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 208 | <skipTests>false</skipTests> |
| 209 | <includes> |
| 210 | <include>**/JU*.java</include> |
| 211 | </includes> |
| 212 | <excludes> |
| 213 | </excludes> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 214 | </configuration> |
| 215 | </plugin> |
| 216 | |
| 217 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 218 | only. It has no influence on the Maven build itself. --> |
| 219 | <plugin> |
| 220 | <groupId>org.eclipse.m2e</groupId> |
| 221 | <artifactId>lifecycle-mapping</artifactId> |
| 222 | <version>1.0.0</version> |
| 223 | <configuration> |
| 224 | <lifecycleMappingMetadata> |
| 225 | <pluginExecutions> |
| 226 | <pluginExecution> |
| 227 | <pluginExecutionFilter> |
| 228 | <groupId> |
| 229 | org.codehaus.mojo |
| 230 | </groupId> |
| 231 | <artifactId> |
| 232 | jaxb2-maven-plugin |
| 233 | </artifactId> |
| 234 | <versionRange> |
| 235 | [1.3,) |
| 236 | </versionRange> |
| 237 | <goals> |
| 238 | <goal>xjc</goal> |
| 239 | </goals> |
| 240 | </pluginExecutionFilter> |
| 241 | <action> |
| 242 | <ignore /> |
| 243 | </action> |
| 244 | </pluginExecution> |
| 245 | </pluginExecutions> |
| 246 | </lifecycleMappingMetadata> |
| 247 | </configuration> |
| 248 | </plugin> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 249 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 250 | <groupId>org.sonatype.plugins</groupId> |
| 251 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 252 | <version>1.6.7</version> |
| 253 | <extensions>true</extensions> |
| 254 | <configuration> |
| 255 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 256 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 257 | <serverId>ecomp-staging</serverId> |
| 258 | </configuration> |
| 259 | </plugin> |
| 260 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 261 | <groupId>org.jacoco</groupId> |
| 262 | <artifactId>jacoco-maven-plugin</artifactId> |
| 263 | <version>${jacoco.version}</version> |
| 264 | <configuration> |
| 265 | <excludes> |
| 266 | <exclude>**/gen/**</exclude> |
| 267 | <exclude>**/generated-sources/**</exclude> |
| 268 | <exclude>**/yang-gen/**</exclude> |
| 269 | <exclude>**/pax/**</exclude> |
| 270 | </excludes> |
| 271 | </configuration> |
| 272 | <executions> |
| 273 | <execution> |
| 274 | <id>pre-unit-test</id> |
| 275 | <goals> |
| 276 | <goal>prepare-agent</goal> |
| 277 | </goals> |
| 278 | <configuration> |
| 279 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 280 | <propertyName>surefireArgLine</propertyName> |
| 281 | </configuration> |
| 282 | </execution> |
| 283 | <execution> |
| 284 | <id>post-unit-test</id> |
| 285 | <phase>test</phase> |
| 286 | <goals> |
| 287 | <goal>report</goal> |
| 288 | </goals> |
| 289 | <configuration> |
| 290 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 291 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 292 | </configuration> |
| 293 | </execution> |
| 294 | <execution> |
| 295 | <id>pre-integration-test</id> |
| 296 | <phase>pre-integration-test</phase> |
| 297 | <goals> |
| 298 | <goal>prepare-agent</goal> |
| 299 | </goals> |
| 300 | <configuration> |
| 301 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 302 | <propertyName>failsafeArgLine</propertyName> |
| 303 | </configuration> |
| 304 | </execution> |
| 305 | <execution> |
| 306 | <id>post-integration-test</id> |
| 307 | <phase>post-integration-test</phase> |
| 308 | <goals> |
| 309 | <goal>report</goal> |
| 310 | </goals> |
| 311 | <configuration> |
| 312 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 313 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 314 | </configuration> |
| 315 | </execution> |
| 316 | </executions> |
| 317 | </plugin> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 318 | </plugins> |
| 319 | </pluginManagement> |
| 320 | </build> |
| 321 | |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 322 | |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 323 | |
| 324 | <dependencyManagement> |
| 325 | <dependencies> |
| 326 | <dependency> |
| 327 | <groupId>log4j</groupId> |
| 328 | <artifactId>log4j</artifactId> |
| 329 | <version>1.2.17</version> |
| 330 | </dependency> |
| 331 | <dependency> |
| 332 | <groupId>org.slf4j</groupId> |
| 333 | <artifactId>slf4j-log4j12</artifactId> |
| 334 | <version>1.7.5</version> |
| 335 | </dependency> |
| 336 | </dependencies> |
| 337 | </dependencyManagement> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 338 | |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 339 | <distributionManagement> |
| 340 | <repository> |
| 341 | <id>ecomp-releases</id> |
| 342 | <name>AAF Release Repository</name> |
| 343 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 344 | </repository> |
Sai Gandham | 6d8487a | 2018-03-27 18:05:26 +0000 | [diff] [blame] | 345 | <snapshotRepository> |
| 346 | <id>ecomp-snapshots</id> |
| 347 | <name>AAF Snapshot Repository</name> |
| 348 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 349 | </snapshotRepository> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 350 | <site> |
| 351 | <id>ecomp-site</id> |
| 352 | <url>dav:${nexusproxy}${sitePath}</url> |
| 353 | </site> |
| 354 | </distributionManagement> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 355 | </project> |