Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 2 | <!-- |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 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 | * |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 21 | --> |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
sg481n | 62c4eb4 | 2017-08-25 01:57:24 -0400 | [diff] [blame] | 24 | <groupId>org.onap.aaf.cadi</groupId> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 25 | <artifactId>cadimiscparent</artifactId> |
| 26 | <version>2.1.2-SNAPSHOT</version> |
Gildas Lanilis | a353268 | 2018-09-05 17:34:34 -0700 | [diff] [blame] | 27 | <name>aaf-cadi</name> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 28 | <packaging>pom</packaging> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 29 | |
| 30 | <parent> |
| 31 | <groupId>org.onap.oparent</groupId> |
| 32 | <artifactId>oparent</artifactId> |
Gary Wu | 3dabe93 | 2018-08-24 15:13:38 -0700 | [diff] [blame] | 33 | <version>1.2.0</version> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 34 | </parent> |
Gary Wu | 3dabe93 | 2018-08-24 15:13:38 -0700 | [diff] [blame] | 35 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 36 | <properties> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 37 | <!-- This version needs to be RELEASED version. Fails on SNAPSHOT --> |
| 38 | <cadi.version>${project.version}</cadi.version> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 39 | <!-- <sonar.skip>true</sonar.skip> --> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 40 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 41 | <project.jettyVersion>9.3.9.v20160517</project.jettyVersion> |
| 42 | <powermock.version>1.5.1</powermock.version> |
sg481n | 3d80a8d | 2017-10-02 04:27:49 +0000 | [diff] [blame] | 43 | <!-- SONAR --> |
| 44 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 45 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 46 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 47 | <!-- Default Sonar configuration --> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 48 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 49 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
sg481n | 3d80a8d | 2017-10-02 04:27:49 +0000 | [diff] [blame] | 50 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 51 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
sg481n | 62c4eb4 | 2017-08-25 01:57:24 -0400 | [diff] [blame] | 52 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 53 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 54 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 55 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 56 | <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 57 | </properties> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 58 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 59 | <!-- ============================================================== --> |
| 60 | <!-- Define the major contributors and developers of CADI --> |
| 61 | <!-- ============================================================== --> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 62 | <developers> |
| 63 | <developer> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 64 | <name>Jonathan Gathman</name> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 65 | <email>jonathan.gathman@att.com</email> |
| 66 | <organization>ATT</organization> |
| 67 | <roles> |
| 68 | <role>Architect</role> |
| 69 | <role>Lead Developer</role> |
| 70 | </roles> |
| 71 | </developer> |
| 72 | <developer> |
| 73 | <name>Gabe Maurer</name> |
| 74 | <email>gabe.maurer@att.com</email> |
| 75 | <organization>ATT</organization> |
| 76 | <roles> |
| 77 | <role>Developer</role> |
| 78 | </roles> |
| 79 | </developer> |
| 80 | <developer> |
| 81 | <name>Ian Howell</name> |
| 82 | <email>ian.howell@att.com</email> |
| 83 | <organization>ATT</organization> |
| 84 | <roles> |
| 85 | <role>Developer</role> |
| 86 | </roles> |
| 87 | </developer> |
| 88 | <developer> |
| 89 | <name>Sai Gandham</name> |
| 90 | <email>sai.gandham@att.com</email> |
| 91 | <organization>ATT</organization> |
| 92 | <roles> |
| 93 | <role>Developer</role> |
| 94 | </roles> |
| 95 | </developer> |
| 96 | </developers> |
| 97 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 98 | |
| 99 | <dependencies> |
| 100 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 101 | <groupId>org.mockito</groupId> |
| 102 | <artifactId>mockito-all</artifactId> |
| 103 | <version>1.9.5</version> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
| 106 | |
| 107 | <dependency> |
| 108 | <groupId>org.powermock</groupId> |
| 109 | <artifactId>powermock-module-junit4</artifactId> |
| 110 | <version>${powermock.version}</version> |
| 111 | <scope>test</scope> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.powermock</groupId> |
| 115 | <artifactId>powermock-api-mockito</artifactId> |
| 116 | <version>${powermock.version}</version> |
| 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | |
| 120 | <dependency> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 121 | <groupId>junit</groupId> |
| 122 | <artifactId>junit</artifactId> |
| 123 | <version>4.10</version> |
| 124 | <scope>test</scope> |
| 125 | </dependency> |
| 126 | </dependencies> |
| 127 | |
| 128 | <!-- ============================================================== --> |
| 129 | <!-- Define sub-projects (modules) --> |
| 130 | <!-- ============================================================== --> |
| 131 | <modules> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 132 | <module>shiro</module> |
| 133 | <module>shiro-osgi-bundle</module> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 134 | </modules> |
| 135 | |
| 136 | <!-- ============================================================== --> |
| 137 | <!-- Define project-wide dependencies --> |
| 138 | <!-- ============================================================== --> |
| 139 | <dependencyManagement> |
| 140 | <dependencies> |
sg481n | 7bc6ef2 | 2017-10-01 19:47:49 +0000 | [diff] [blame] | 141 | <dependency> |
sg481n | 62c4eb4 | 2017-08-25 01:57:24 -0400 | [diff] [blame] | 142 | <groupId>org.onap.aaf.authz</groupId> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 143 | <artifactId>aaf-auth-client</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 144 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 145 | </dependency> |
| 146 | |
| 147 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 148 | <groupId>org.onap.aaf.authz</groupId> |
| 149 | <artifactId>aaf-cadi-core</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 150 | <version>${cadi.version}</version> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 151 | </dependency> |
| 152 | |
| 153 | <dependency> |
| 154 | <groupId>org.onap.aaf.authz</groupId> |
| 155 | <artifactId>aaf-cadi-oauth</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 156 | <version>${cadi.version}</version> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 157 | </dependency> |
| 158 | |
| 159 | |
| 160 | <!-- Prevent Cycles in Testing --> |
| 161 | <dependency> |
| 162 | <groupId>org.onap.aaf.authz</groupId> |
| 163 | <artifactId>aaf-cadi-core</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 164 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 165 | <classifier>tests</classifier> |
| 166 | </dependency> |
| 167 | |
| 168 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 169 | <groupId>org.onap.aaf.authz</groupId> |
| 170 | <artifactId>aaf-cadi-jetty</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 171 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 172 | </dependency> |
| 173 | |
| 174 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 175 | <groupId>org.onap.aaf.authz</groupId> |
| 176 | <artifactId>aaf-cadi-cass</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 177 | <version>${cadi.version}</version> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 178 | </dependency> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 179 | |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 180 | <dependency> |
| 181 | <groupId>org.onap.aaf.authz</groupId> |
| 182 | <artifactId>aaf-cadi-aaf</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 183 | <version>${cadi.version}</version> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 184 | </dependency> |
| 185 | |
| 186 | <dependency> |
| 187 | <groupId>org.onap.aaf.authz</groupId> |
| 188 | <artifactId>aaf-cadi-aaf</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 189 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 190 | <classifier>full</classifier> |
| 191 | </dependency> |
| 192 | |
| 193 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 194 | <groupId>org.onap.aaf.authz</groupId> |
| 195 | <artifactId>aaf-cadi-client</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 196 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 197 | </dependency> |
| 198 | |
| 199 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 200 | <groupId>org.onap.aaf.authz</groupId> |
| 201 | <artifactId>aaf-misc-env</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 202 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 203 | </dependency> |
| 204 | |
| 205 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 206 | <groupId>org.onap.aaf.authz</groupId> |
| 207 | <artifactId>aaf-misc-rosetta</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 208 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 209 | </dependency> |
| 210 | |
| 211 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 212 | <groupId>org.onap.aaf.authz</groupId> |
| 213 | <artifactId>aaf-misc-log4j</artifactId> |
Instrumental | bb24898 | 2018-09-07 07:57:03 -0500 | [diff] [blame^] | 214 | <version>${cadi.version}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
| 218 | <groupId>org.eclipse.jetty</groupId> |
| 219 | <artifactId>jetty-servlet</artifactId> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 220 | <version>${project.jettyVersion}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 221 | </dependency> |
| 222 | |
| 223 | <dependency> |
| 224 | <groupId>org.eclipse.jetty</groupId> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 225 | <artifactId>jetty-io</artifactId> |
| 226 | <version>${project.jettyVersion}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 227 | </dependency> |
| 228 | |
| 229 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 230 | <groupId>org.eclipse.jetty</groupId> |
| 231 | <artifactId>jetty-security</artifactId> |
| 232 | <version>${project.jettyVersion}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 233 | </dependency> |
| 234 | |
| 235 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 236 | <groupId>org.eclipse.jetty</groupId> |
| 237 | <artifactId>jetty-http</artifactId> |
| 238 | <version>${project.jettyVersion}</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 239 | </dependency> |
| 240 | |
| 241 | <dependency> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 242 | <groupId>org.eclipse.jetty</groupId> |
| 243 | <artifactId>jetty-util</artifactId> |
| 244 | <version>${project.jettyVersion}</version> |
| 245 | </dependency> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 246 | |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 247 | <dependency> |
| 248 | <groupId>org.eclipse.jetty</groupId> |
| 249 | <artifactId>jetty-server</artifactId> |
| 250 | <version>${project.jettyVersion}</version> |
| 251 | </dependency> |
| 252 | |
| 253 | <dependency> |
| 254 | <groupId>javax.servlet</groupId> |
| 255 | <artifactId>javax.servlet-api</artifactId> |
| 256 | <version>3.0.1</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 257 | </dependency> |
| 258 | |
| 259 | <dependency> |
| 260 | <groupId>org.slf4j</groupId> |
| 261 | <artifactId>slf4j-api</artifactId> |
| 262 | <version>1.7.5</version> |
| 263 | </dependency> |
| 264 | </dependencies> |
| 265 | </dependencyManagement> |
| 266 | |
| 267 | <!-- ============================================================== --> |
| 268 | <!-- Define common plugins and make them available for all modules --> |
| 269 | <!-- ============================================================== --> |
| 270 | <build> |
| 271 | <testSourceDirectory>src/test/java</testSourceDirectory> |
| 272 | <plugins> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 273 | </plugins> |
| 274 | <pluginManagement> |
| 275 | <plugins> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 276 | <plugin> |
| 277 | <inherited>true</inherited> |
| 278 | <groupId>org.apache.maven.plugins</groupId> |
| 279 | <artifactId>maven-compiler-plugin</artifactId> |
| 280 | <version>2.3.2</version> |
| 281 | <configuration> |
| 282 | <source>1.7</source> |
| 283 | <target>1.7</target> |
| 284 | </configuration> |
| 285 | </plugin> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 286 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 287 | <plugin> |
| 288 | <groupId>org.apache.maven.plugins</groupId> |
| 289 | <version>2.4</version> |
| 290 | <artifactId>maven-jar-plugin</artifactId> |
| 291 | <configuration> |
| 292 | <outputDirectory>target</outputDirectory> |
| 293 | <archive> |
| 294 | <manifestEntries> |
| 295 | <Sealed>true</Sealed> |
| 296 | </manifestEntries> |
| 297 | </archive> |
| 298 | </configuration> |
| 299 | </plugin> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 300 | |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 301 | <!-- Define the javadoc plugin --> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 302 | <plugin> |
| 303 | <groupId>org.apache.maven.plugins</groupId> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 304 | <artifactId>maven-javadoc-plugin</artifactId> |
| 305 | <version>2.10</version> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 306 | <configuration> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 307 | <excludePackageNames>org.opendaylight.*</excludePackageNames> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 308 | </configuration> |
| 309 | </plugin> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 310 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 311 | <plugin> |
| 312 | <artifactId>maven-release-plugin</artifactId> |
| 313 | <version>2.5.2</version> |
| 314 | <configuration> |
| 315 | <goals>-s ${mvn.settings} deploy</goals> |
| 316 | </configuration> |
| 317 | </plugin> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 318 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 319 | <plugin> |
| 320 | <artifactId>maven-assembly-plugin</artifactId> |
| 321 | <version>2.5.5</version> |
| 322 | </plugin> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 323 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 324 | <plugin> |
| 325 | <groupId>org.apache.maven.plugins</groupId> |
| 326 | <artifactId>maven-deploy-plugin</artifactId> |
| 327 | <version>2.8.1</version> |
| 328 | <configuration> |
| 329 | <skip>false</skip> |
| 330 | </configuration> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 331 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 332 | </plugin> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 333 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 334 | <plugin> |
| 335 | <groupId>org.apache.maven.plugins</groupId> |
| 336 | <artifactId>maven-dependency-plugin</artifactId> |
| 337 | <version>2.10</version> |
| 338 | </plugin> |
sg481n | 62c4eb4 | 2017-08-25 01:57:24 -0400 | [diff] [blame] | 339 | |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 340 | <!-- Maven surefire plugin for testing --> |
| 341 | <plugin> |
| 342 | <artifactId>maven-surefire-plugin</artifactId> |
| 343 | <version>2.17</version> |
| 344 | <configuration> |
| 345 | <skipTests>false</skipTests> |
| 346 | <includes> |
| 347 | <include>**/JU*.java</include> |
| 348 | </includes> |
| 349 | <excludes> |
| 350 | </excludes> |
| 351 | </configuration> |
| 352 | </plugin> |
| 353 | |
| 354 | <!--This plugin's configuration is used to store Eclipse m2e settings |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 355 | only. It has no influence on the Maven build itself. --> |
| 356 | <plugin> |
| 357 | <groupId>org.eclipse.m2e</groupId> |
| 358 | <artifactId>lifecycle-mapping</artifactId> |
| 359 | <version>1.0.0</version> |
| 360 | <configuration> |
| 361 | <lifecycleMappingMetadata> |
| 362 | <pluginExecutions> |
| 363 | <pluginExecution> |
| 364 | <pluginExecutionFilter> |
| 365 | <groupId> |
| 366 | org.codehaus.mojo |
| 367 | </groupId> |
| 368 | <artifactId> |
| 369 | jaxb2-maven-plugin |
| 370 | </artifactId> |
| 371 | <versionRange> |
| 372 | [1.3,) |
| 373 | </versionRange> |
| 374 | <goals> |
| 375 | <goal>xjc</goal> |
| 376 | </goals> |
| 377 | </pluginExecutionFilter> |
| 378 | <action> |
Gary Wu | 3dabe93 | 2018-08-24 15:13:38 -0700 | [diff] [blame] | 379 | <ignore/> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 380 | </action> |
| 381 | </pluginExecution> |
| 382 | </pluginExecutions> |
| 383 | </lifecycleMappingMetadata> |
| 384 | </configuration> |
| 385 | </plugin> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 386 | <plugin> |
| 387 | <groupId>org.sonatype.plugins</groupId> |
| 388 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 389 | <version>1.6.7</version> |
| 390 | <extensions>true</extensions> |
| 391 | <configuration> |
| 392 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 393 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 394 | <serverId>ecomp-staging</serverId> |
| 395 | </configuration> |
| 396 | </plugin> |
| 397 | <plugin> |
| 398 | <groupId>org.jacoco</groupId> |
| 399 | <artifactId>jacoco-maven-plugin</artifactId> |
| 400 | <version>${jacoco.version}</version> |
| 401 | <configuration> |
| 402 | <excludes> |
| 403 | <exclude>**/gen/**</exclude> |
| 404 | <exclude>**/generated-sources/**</exclude> |
| 405 | <exclude>**/yang-gen/**</exclude> |
| 406 | <exclude>**/pax/**</exclude> |
| 407 | </excludes> |
| 408 | </configuration> |
| 409 | <executions> |
| 410 | <execution> |
| 411 | <id>pre-unit-test</id> |
| 412 | <goals> |
| 413 | <goal>prepare-agent</goal> |
| 414 | </goals> |
| 415 | <configuration> |
| 416 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 417 | <propertyName>surefireArgLine</propertyName> |
| 418 | </configuration> |
| 419 | </execution> |
| 420 | <execution> |
| 421 | <id>post-unit-test</id> |
| 422 | <phase>test</phase> |
| 423 | <goals> |
| 424 | <goal>report</goal> |
| 425 | </goals> |
| 426 | <configuration> |
| 427 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 428 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 429 | </configuration> |
| 430 | </execution> |
| 431 | <execution> |
| 432 | <id>pre-integration-test</id> |
| 433 | <phase>pre-integration-test</phase> |
| 434 | <goals> |
| 435 | <goal>prepare-agent</goal> |
| 436 | </goals> |
| 437 | <configuration> |
| 438 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 439 | <propertyName>failsafeArgLine</propertyName> |
| 440 | </configuration> |
| 441 | </execution> |
| 442 | <execution> |
| 443 | <id>post-integration-test</id> |
| 444 | <phase>post-integration-test</phase> |
| 445 | <goals> |
| 446 | <goal>report</goal> |
| 447 | </goals> |
| 448 | <configuration> |
| 449 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 450 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 451 | </configuration> |
| 452 | </execution> |
| 453 | </executions> |
| 454 | </plugin> |
| 455 | </plugins> |
| 456 | </pluginManagement> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 457 | </build> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 458 | |
sg481n | 62c4eb4 | 2017-08-25 01:57:24 -0400 | [diff] [blame] | 459 | <distributionManagement> |
| 460 | <repository> |
| 461 | <id>ecomp-releases</id> |
| 462 | <name>AAF Release Repository</name> |
| 463 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 464 | </repository> |
| 465 | <snapshotRepository> |
| 466 | <id>ecomp-snapshots</id> |
| 467 | <name>AAF Snapshot Repository</name> |
| 468 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 469 | </snapshotRepository> |
| 470 | <site> |
| 471 | <id>ecomp-site</id> |
| 472 | <url>dav:${nexusproxy}${sitePath}</url> |
| 473 | </site> |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 474 | </distributionManagement> |
Sai Gandham | a7f4def | 2018-07-02 22:37:37 -0500 | [diff] [blame] | 475 | |
sg481n | 4a51a8f | 2017-08-03 17:39:12 -0400 | [diff] [blame] | 476 | </project> |