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