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> |
Instrumental | 4d0a045 | 2019-11-14 12:14:16 -0600 | [diff] [blame] | 27 | <version>2.1.17-SNAPSHOT</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-env</artifactId> |
| 33 | <name>AAF Misc Env</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 | <properties> |
| 37 | <!-- SONAR --> |
| 38 | <!-- <sonar.skip>true</sonar.skip> --> |
| 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 |
| 46 | below --> |
| 47 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 48 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 49 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 50 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 51 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 52 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
| 53 | </properties> |
Instrumental | 9f52db1 | 2018-08-31 09:53:21 -0500 | [diff] [blame] | 54 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 55 | <developers> |
| 56 | <developer> |
| 57 | <name>Jonathan Gathman</name> |
| 58 | <email>jonathan.gathman@att.com</email> |
| 59 | <organization>ATT</organization> |
| 60 | <roles> |
| 61 | <role>Architect</role> |
| 62 | <role>Lead Developer</role> |
| 63 | </roles> |
| 64 | </developer> |
| 65 | <developer> |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 66 | <name>Sai Gandham</name> |
| 67 | <email>sai.gandham@att.com</email> |
| 68 | <organization>ATT</organization> |
| 69 | <roles> |
| 70 | <role>Developer</role> |
| 71 | </roles> |
| 72 | </developer> |
| 73 | </developers> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 74 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 75 | <!-- ============================================================== --> |
| 76 | <!-- Define common plugins and make them available for all modules --> |
| 77 | <!-- ============================================================== --> |
| 78 | <build> |
| 79 | <testSourceDirectory>src/test/java</testSourceDirectory> |
| 80 | <plugins> |
| 81 | </plugins> |
| 82 | <pluginManagement> |
| 83 | <plugins> |
| 84 | <plugin> |
| 85 | <inherited>true</inherited> |
| 86 | <groupId>org.apache.maven.plugins</groupId> |
| 87 | <artifactId>maven-compiler-plugin</artifactId> |
| 88 | <version>2.3.2</version> |
| 89 | <configuration> |
| 90 | <source>1.7</source> |
| 91 | <target>1.7</target> |
| 92 | </configuration> |
| 93 | </plugin> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 94 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 95 | <plugin> |
| 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <version>2.4</version> |
| 98 | <artifactId>maven-jar-plugin</artifactId> |
| 99 | <configuration> |
| 100 | <outputDirectory>target</outputDirectory> |
| 101 | <archive> |
| 102 | <manifestEntries> |
| 103 | <Sealed>true</Sealed> |
| 104 | </manifestEntries> |
| 105 | </archive> |
| 106 | </configuration> |
| 107 | </plugin> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 108 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 109 | <!-- Define the javadoc plugin --> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-javadoc-plugin</artifactId> |
| 113 | <version>2.10</version> |
| 114 | <configuration> |
| 115 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
| 116 | </configuration> |
| 117 | </plugin> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 118 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 119 | <plugin> |
| 120 | <artifactId>maven-release-plugin</artifactId> |
| 121 | <version>2.5.2</version> |
| 122 | <configuration> |
| 123 | <goals>-s ${mvn.settings} deploy</goals> |
| 124 | <skipTests>false</skipTests> |
| 125 | <includes> |
| 126 | <include>**/JU*.java</include> |
| 127 | </includes> |
| 128 | <excludes> |
| 129 | </excludes> |
| 130 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 131 | <propertyName>surefireArgLine</propertyName> |
| 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> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 263 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 264 | <dependencies> |
| 265 | <dependency> |
| 266 | <groupId>log4j</groupId> |
| 267 | <artifactId>log4j</artifactId> |
| 268 | <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation --> |
| 269 | </dependency> |
| 270 | |
| 271 | <dependency> |
| 272 | <groupId>org.mockito</groupId> |
| 273 | <artifactId>mockito-all</artifactId> |
| 274 | <scope>test</scope> |
| 275 | </dependency> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 276 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 277 | <dependency> |
| 278 | <groupId>org.powermock</groupId> |
| 279 | <artifactId>powermock-module-junit4</artifactId> |
| 280 | <scope>test</scope> |
| 281 | </dependency> |
| 282 | <dependency> |
| 283 | <groupId>org.powermock</groupId> |
| 284 | <artifactId>powermock-api-mockito</artifactId> |
| 285 | <scope>test</scope> |
| 286 | </dependency> |
Sai Gandham | 3a70e91 | 2018-04-12 22:16:21 +0000 | [diff] [blame] | 287 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 288 | <dependency> |
| 289 | <groupId>junit</groupId> |
| 290 | <artifactId>junit</artifactId> |
| 291 | <scope>test</scope> |
| 292 | </dependency> |
| 293 | </dependencies> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 294 | |
| 295 | |
Instrumental | e9ae048 | 2019-08-02 14:46:27 -0500 | [diff] [blame] | 296 | <distributionManagement> |
| 297 | <repository> |
| 298 | <id>ecomp-releases</id> |
| 299 | <name>AAF Release Repository</name> |
| 300 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 301 | </repository> |
| 302 | <snapshotRepository> |
| 303 | <id>ecomp-snapshots</id> |
| 304 | <name>AAF Snapshot Repository</name> |
| 305 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 306 | </snapshotRepository> |
| 307 | <site> |
| 308 | <id>ecomp-site</id> |
| 309 | <url>dav:${nexusproxy}${sitePath}</url> |
| 310 | </site> |
| 311 | </distributionManagement> |
Instrumental | ac1e1ec | 2018-03-26 13:37:04 -0700 | [diff] [blame] | 312 | </project> |
| 313 | |