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