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