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