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