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> |
Instrumental | 17ca744 | 2018-03-29 16:54:19 -0500 | [diff] [blame] | 25 | <groupId>org.onap.aaf.authz.misc</groupId> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 26 | <artifactId>parent</artifactId> |
| 27 | <name>AAF Misc Parent</name> |
| 28 | <version>1.3.0-SNAPSHOT</version> |
| 29 | <packaging>pom</packaging> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 30 | |
| 31 | <parent> |
Sai Gandham | d97041c | 2018-04-03 01:57:59 -0500 | [diff] [blame] | 32 | <groupId>org.onap.oparent</groupId> |
| 33 | <artifactId>oparent</artifactId> |
| 34 | <version>1.1.0</version> |
| 35 | </parent> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 36 | |
| 37 | <properties> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 38 | <!-- SONAR --> |
Sai Gandham | a88f56f | 2018-04-03 17:09:33 -0500 | [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> |
| 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 | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 123 | <!-- ============================================================== --> |
| 124 | <!-- Define common plugins and make them available for all modules --> |
| 125 | <!-- ============================================================== --> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 126 | <build> |
| 127 | <testSourceDirectory>src/test/java</testSourceDirectory> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 128 | <plugins> |
| 129 | </plugins> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 130 | <pluginManagement> |
| 131 | <plugins> |
| 132 | <plugin> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 133 | <inherited>true</inherited> |
| 134 | <groupId>org.apache.maven.plugins</groupId> |
| 135 | <artifactId>maven-compiler-plugin</artifactId> |
| 136 | <version>2.3.2</version> |
| 137 | <configuration> |
| 138 | <source>1.7</source> |
| 139 | <target>1.7</target> |
| 140 | </configuration> |
| 141 | </plugin> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 142 | |
| 143 | <plugin> |
| 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <version>2.4</version> |
| 146 | <artifactId>maven-jar-plugin</artifactId> |
| 147 | <configuration> |
| 148 | <outputDirectory>target</outputDirectory> |
| 149 | <archive> |
| 150 | <manifestEntries> |
| 151 | <Sealed>true</Sealed> |
| 152 | </manifestEntries> |
| 153 | </archive> |
| 154 | </configuration> |
| 155 | </plugin> |
| 156 | |
| 157 | <!-- Define the javadoc plugin --> |
| 158 | <plugin> |
| 159 | <groupId>org.apache.maven.plugins</groupId> |
| 160 | <artifactId>maven-javadoc-plugin</artifactId> |
| 161 | <version>2.10</version> |
| 162 | <configuration> |
| 163 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 164 | </configuration> |
| 165 | </plugin> |
| 166 | |
| 167 | <plugin> |
| 168 | <artifactId>maven-release-plugin</artifactId> |
| 169 | <version>2.5.2</version> |
| 170 | <configuration> |
| 171 | <goals>-s ${mvn.settings} deploy</goals> |
| 172 | </configuration> |
| 173 | </plugin> |
| 174 | |
| 175 | <plugin> |
| 176 | <artifactId>maven-assembly-plugin</artifactId> |
| 177 | <version>2.5.5</version> |
| 178 | </plugin> |
| 179 | |
| 180 | <plugin> |
| 181 | <groupId>org.apache.maven.plugins</groupId> |
| 182 | <artifactId>maven-deploy-plugin</artifactId> |
| 183 | <version>2.8.1</version> |
| 184 | <configuration> |
| 185 | <skip>false</skip> |
| 186 | </configuration> |
| 187 | |
| 188 | </plugin> |
| 189 | |
| 190 | <plugin> |
| 191 | <groupId>org.apache.maven.plugins</groupId> |
| 192 | <artifactId>maven-dependency-plugin</artifactId> |
| 193 | <version>2.10</version> |
| 194 | </plugin> |
| 195 | |
| 196 | <!-- Maven surefire plugin for testing --> |
| 197 | <plugin> |
| 198 | <artifactId>maven-surefire-plugin</artifactId> |
| 199 | <version>2.17</version> |
| 200 | <configuration> |
| 201 | </configuration> |
| 202 | </plugin> |
| 203 | |
| 204 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 205 | only. It has no influence on the Maven build itself. --> |
| 206 | <plugin> |
| 207 | <groupId>org.eclipse.m2e</groupId> |
| 208 | <artifactId>lifecycle-mapping</artifactId> |
| 209 | <version>1.0.0</version> |
| 210 | <configuration> |
| 211 | <lifecycleMappingMetadata> |
| 212 | <pluginExecutions> |
| 213 | <pluginExecution> |
| 214 | <pluginExecutionFilter> |
| 215 | <groupId> |
| 216 | org.codehaus.mojo |
| 217 | </groupId> |
| 218 | <artifactId> |
| 219 | jaxb2-maven-plugin |
| 220 | </artifactId> |
| 221 | <versionRange> |
| 222 | [1.3,) |
| 223 | </versionRange> |
| 224 | <goals> |
| 225 | <goal>xjc</goal> |
| 226 | </goals> |
| 227 | </pluginExecutionFilter> |
| 228 | <action> |
| 229 | <ignore /> |
| 230 | </action> |
| 231 | </pluginExecution> |
| 232 | </pluginExecutions> |
| 233 | </lifecycleMappingMetadata> |
| 234 | </configuration> |
| 235 | </plugin> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 236 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 237 | <groupId>org.sonatype.plugins</groupId> |
| 238 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 239 | <version>1.6.7</version> |
| 240 | <extensions>true</extensions> |
| 241 | <configuration> |
| 242 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 243 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 244 | <serverId>ecomp-staging</serverId> |
| 245 | </configuration> |
| 246 | </plugin> |
| 247 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 248 | <groupId>org.jacoco</groupId> |
| 249 | <artifactId>jacoco-maven-plugin</artifactId> |
| 250 | <version>${jacoco.version}</version> |
| 251 | <configuration> |
| 252 | <excludes> |
| 253 | <exclude>**/gen/**</exclude> |
| 254 | <exclude>**/generated-sources/**</exclude> |
| 255 | <exclude>**/yang-gen/**</exclude> |
| 256 | <exclude>**/pax/**</exclude> |
| 257 | </excludes> |
| 258 | </configuration> |
| 259 | <executions> |
| 260 | <execution> |
| 261 | <id>pre-unit-test</id> |
| 262 | <goals> |
| 263 | <goal>prepare-agent</goal> |
| 264 | </goals> |
| 265 | <configuration> |
IanHowell | e612377 | 2018-04-03 15:26:47 -0500 | [diff] [blame] | 266 | <skipTests>false</skipTests> |
| 267 | <includes> |
| 268 | <include>**/JU*.java</include> |
| 269 | </includes> |
| 270 | <excludes> |
| 271 | </excludes> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 272 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 273 | <propertyName>surefireArgLine</propertyName> |
| 274 | </configuration> |
| 275 | </execution> |
| 276 | <execution> |
| 277 | <id>post-unit-test</id> |
| 278 | <phase>test</phase> |
| 279 | <goals> |
| 280 | <goal>report</goal> |
| 281 | </goals> |
| 282 | <configuration> |
| 283 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 284 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 285 | </configuration> |
| 286 | </execution> |
| 287 | <execution> |
| 288 | <id>pre-integration-test</id> |
| 289 | <phase>pre-integration-test</phase> |
| 290 | <goals> |
| 291 | <goal>prepare-agent</goal> |
| 292 | </goals> |
| 293 | <configuration> |
| 294 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 295 | <propertyName>failsafeArgLine</propertyName> |
| 296 | </configuration> |
| 297 | </execution> |
| 298 | <execution> |
| 299 | <id>post-integration-test</id> |
| 300 | <phase>post-integration-test</phase> |
| 301 | <goals> |
| 302 | <goal>report</goal> |
| 303 | </goals> |
| 304 | <configuration> |
| 305 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 306 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 307 | </configuration> |
| 308 | </execution> |
| 309 | </executions> |
| 310 | </plugin> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 311 | </plugins> |
| 312 | </pluginManagement> |
| 313 | </build> |
| 314 | |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 315 | <modules> |
| 316 | <module>env</module> |
| 317 | <module>xgen</module> |
| 318 | <module>rosetta</module> |
| 319 | <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict --> |
| 320 | </modules> |
| 321 | |
| 322 | <dependencyManagement> |
| 323 | <dependencies> |
| 324 | <dependency> |
| 325 | <groupId>log4j</groupId> |
| 326 | <artifactId>log4j</artifactId> |
| 327 | <version>1.2.17</version> |
| 328 | </dependency> |
| 329 | <dependency> |
| 330 | <groupId>org.slf4j</groupId> |
| 331 | <artifactId>slf4j-log4j12</artifactId> |
| 332 | <version>1.7.5</version> |
| 333 | </dependency> |
| 334 | </dependencies> |
| 335 | </dependencyManagement> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 336 | |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 337 | <distributionManagement> |
| 338 | <repository> |
| 339 | <id>ecomp-releases</id> |
| 340 | <name>AAF Release Repository</name> |
| 341 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 342 | </repository> |
Sai Gandham | 6d8487a | 2018-03-27 18:05:26 +0000 | [diff] [blame] | 343 | <snapshotRepository> |
| 344 | <id>ecomp-snapshots</id> |
| 345 | <name>AAF Snapshot Repository</name> |
| 346 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 347 | </snapshotRepository> |
Sai Gandham | e01703c | 2018-03-26 22:57:09 +0000 | [diff] [blame] | 348 | <site> |
| 349 | <id>ecomp-site</id> |
| 350 | <url>dav:${nexusproxy}${sitePath}</url> |
| 351 | </site> |
| 352 | </distributionManagement> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 353 | </project> |