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