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