Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | MODEL LOADER SERVICE |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 23 | |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 24 | <parent> |
| 25 | <artifactId>ajsc-archetype-parent</artifactId> |
| 26 | <groupId>com.att.ajsc</groupId> |
Blimkie, Steven (sb787e) | dc1bca8 | 2017-11-10 17:27:05 +0200 | [diff] [blame] | 27 | <version>2.0.0</version> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 28 | </parent> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 29 | |
Arul.Nambi | 059f42e | 2017-09-13 15:13:29 -0400 | [diff] [blame] | 30 | <groupId>org.onap.aai.model-loader</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 31 | <artifactId>model-loader</artifactId> |
Jessica Wagantall | a277ee3 | 2017-11-16 15:23:12 -0800 | [diff] [blame] | 32 | <version>1.2.0-SNAPSHOT</version> |
Jessica Wagantall | 7813ad1 | 2017-09-08 13:13:30 -0700 | [diff] [blame] | 33 | <name>aai-model-loader</name> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 34 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 35 | <properties> |
| 36 | <docker.location>${basedir}/target</docker.location> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 37 | <module.ajsc.namespace.name>model-loader</module.ajsc.namespace.name> |
| 38 | <module.ajsc.namespace.version>v1</module.ajsc.namespace.version> |
Blimkie, Steven (sb787e) | dc1bca8 | 2017-11-10 17:27:05 +0200 | [diff] [blame] | 39 | <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 40 | <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot> |
| 41 | <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot> |
| 42 | <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome> |
| 43 | |
| 44 | <!-- Port Selection. A value of 0 will allow for dynamic port selection. |
| 45 | For local testing, you may choose to hardcode this value to something like |
| 46 | 8080 --> |
| 47 | <serverPort>0</serverPort> |
| 48 | <sslport>0</sslport> |
| 49 | |
| 50 | |
| 51 | <!-- For SOA Cloud Installation --> |
| 52 | <installOwnerUser>aaiadmin</installOwnerUser> |
| 53 | <installOwnerGroup>aaiadmin</installOwnerGroup> |
| 54 | <ownerManagementGroup>org.openecomp.aai.dev</ownerManagementGroup> |
| 55 | |
| 56 | <testRouteOffer>workstation</testRouteOffer> |
| 57 | <testEnv>DEV</testEnv> |
| 58 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 59 | <dependency.scope>provided</dependency.scope> |
| 60 | <checkstyle.config.location>google_checks.xml</checkstyle.config.location> |
| 61 | <maven.compiler.source>1.8</maven.compiler.source> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 62 | <maven.compiler.target>1.8</maven.compiler.target> |
| 63 | <sonar.language>java</sonar.language> |
| 64 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 65 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 66 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 67 | <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> |
| 68 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 69 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 70 | </properties> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 71 | |
Venkata Harish K Kajur | 74573bf | 2017-03-08 17:25:12 +0000 | [diff] [blame] | 72 | <distributionManagement> |
| 73 | <repository> |
| 74 | <id>ecomp-releases</id> |
| 75 | <name>ECOMP Release Repository</name> |
| 76 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 77 | </repository> |
| 78 | <snapshotRepository> |
| 79 | <id>ecomp-snapshots</id> |
| 80 | <name>ECOMP Snapshot Repository</name> |
| 81 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 82 | </snapshotRepository> |
| 83 | </distributionManagement> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 84 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 85 | <dependencies> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 86 | <dependency> |
| 87 | <groupId>org.mockito</groupId> |
| 88 | <artifactId>mockito-all</artifactId> |
| 89 | <version>1.10.19</version> |
| 90 | <scope>test</scope> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.powermock</groupId> |
| 94 | <artifactId>powermock-module-junit4</artifactId> |
| 95 | <version>1.6.2</version> |
| 96 | <scope>test</scope> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>org.powermock</groupId> |
| 100 | <artifactId>powermock-api-mockito</artifactId> |
| 101 | <version>1.6.2</version> |
| 102 | <scope>test</scope> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.powermock</groupId> |
| 106 | <artifactId>powermock-module-javaagent</artifactId> |
| 107 | <version>1.6.2</version> |
| 108 | <scope>test</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.powermock</groupId> |
| 112 | <artifactId>powermock-module-junit4-rule-agent</artifactId> |
| 113 | <version>1.6.2</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | <!-- xjc dependencies --> |
| 117 | <dependency> |
| 118 | <groupId>javax.xml.bind</groupId> |
| 119 | <artifactId>jaxb-api</artifactId> |
| 120 | <version>2.2.11</version> |
| 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>com.sun.xml.bind</groupId> |
| 124 | <artifactId>jaxb-impl</artifactId> |
| 125 | <version>2.2.11</version> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>com.sun.xml.bind</groupId> |
| 129 | <artifactId>jaxb-core</artifactId> |
| 130 | <version>2.2.11</version> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>com.sun.xml.bind</groupId> |
| 134 | <artifactId>jaxb-xjc</artifactId> |
| 135 | <version>2.2.11</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>org.eclipse.persistence</groupId> |
| 139 | <artifactId>org.eclipse.persistence.moxy</artifactId> |
| 140 | <version>2.6.2</version> |
| 141 | <scope>compile</scope> |
| 142 | </dependency> |
| 143 | <dependency> |
| 144 | <groupId>com.sun.jersey</groupId> |
| 145 | <artifactId>jersey-client</artifactId> |
| 146 | <version>1.18</version> |
| 147 | </dependency> |
| 148 | <!-- Common logging framework --> |
| 149 | <dependency> |
Arul.Nambi | af1121f | 2017-09-21 10:39:37 -0400 | [diff] [blame] | 150 | <groupId>org.onap.aai.logging-service</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 151 | <artifactId>common-logging</artifactId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 152 | <version>1.1.0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 153 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 154 | <dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 155 | <groupId>ch.qos.logback</groupId> |
| 156 | <artifactId>logback-core</artifactId> |
| 157 | <version>1.1.7</version> |
| 158 | </dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 159 | <dependency> |
Lee, Tian (tl5884) | 3e34fda | 2017-08-15 16:18:20 +0100 | [diff] [blame] | 160 | <groupId>org.openecomp.sdc.sdc-distribution-client</groupId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 161 | <artifactId>sdc-distribution-client</artifactId> |
| 162 | <version>1.1.32</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 163 | </dependency> |
| 164 | <dependency> |
Lee, Tian (tl5884) | 952a19d | 2017-08-18 16:45:23 +0100 | [diff] [blame] | 165 | <groupId>org.apache.httpcomponents</groupId> |
| 166 | <artifactId>httpclient</artifactId> |
| 167 | <version>4.5</version> |
| 168 | </dependency> |
| 169 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 170 | <groupId>org.json</groupId> |
| 171 | <artifactId>json</artifactId> |
| 172 | <version>20131018</version> |
| 173 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 174 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 175 | <groupId>org.eclipse.jetty</groupId> |
| 176 | <artifactId>jetty-security</artifactId> |
| 177 | <version>9.3.8.RC0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 178 | </dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 179 | <dependency> |
| 180 | <groupId>org.springframework</groupId> |
| 181 | <artifactId>spring-webmvc</artifactId> |
| 182 | <version>4.0.0.RELEASE</version> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>jline</groupId> |
| 186 | <artifactId>jline</artifactId> |
| 187 | <version>2.12.1</version> |
| 188 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 189 | </dependencies> |
Steve Smokowski | e690871 | 2017-02-10 16:08:20 -0500 | [diff] [blame] | 190 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 191 | <!-- Plugins and repositories --> |
| 192 | <pluginRepositories> |
| 193 | <pluginRepository> |
| 194 | <id>central</id> |
| 195 | <url>http://repo1.maven.org/maven2</url> |
| 196 | </pluginRepository> |
| 197 | <pluginRepository> |
| 198 | <id>EvoSuite</id> |
| 199 | <name>EvoSuite Repository</name> |
| 200 | <url>http://www.evosuite.org/m2</url> |
| 201 | </pluginRepository> |
| 202 | </pluginRepositories> |
Steve Smokowski | e690871 | 2017-02-10 16:08:20 -0500 | [diff] [blame] | 203 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 204 | <repositories> |
| 205 | <repository> |
| 206 | <id>central</id> |
| 207 | <name>Maven 2 repository 2</name> |
| 208 | <url>http://repo2.maven.org/maven2/</url> |
| 209 | </repository> |
| 210 | <repository> |
| 211 | <id>ecomp-releases</id> |
| 212 | <name>ECOMP Release Repository</name> |
| 213 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 214 | </repository> |
| 215 | <repository> |
| 216 | <id>ecomp-snapshots</id> |
| 217 | <name>ECOMP Snapshot Repository</name> |
| 218 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 219 | </repository> |
| 220 | <repository> |
| 221 | <id>ecomp-staging</id> |
| 222 | <name>ECOMP Staging Repository</name> |
| 223 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 224 | </repository> |
| 225 | </repositories> |
| 226 | |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 227 | <profiles> |
| 228 | <profile> |
| 229 | <id>runAjsc</id> |
| 230 | <build> |
| 231 | <defaultGoal>initialize</defaultGoal> |
| 232 | <plugins> |
| 233 | <plugin> |
| 234 | <groupId>org.codehaus.mojo</groupId> |
| 235 | <artifactId>exec-maven-plugin</artifactId> |
| 236 | <version>1.3.2</version> |
| 237 | <executions> |
| 238 | <execution> |
| 239 | <phase>initialize</phase> |
| 240 | <goals> |
| 241 | <goal>java</goal> |
| 242 | </goals> |
| 243 | <configuration> |
| 244 | <includeProjectDependencies>false</includeProjectDependencies> |
| 245 | <includePluginDependencies>true</includePluginDependencies> |
| 246 | <executable>java</executable> |
| 247 | <mainClass>com.att.ajsc.runner.Runner</mainClass> |
| 248 | <executableDependency> |
| 249 | <groupId>com.att.ajsc</groupId> |
| 250 | <artifactId>ajsc-runner</artifactId> |
| 251 | </executableDependency> |
| 252 | <additionalClasspathElements> |
| 253 | <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement> |
| 254 | </additionalClasspathElements> |
| 255 | |
| 256 | <environmentVariables> |
| 257 | <AJSC_HOME>${runAjscHome}</AJSC_HOME> |
| 258 | </environmentVariables> |
| 259 | |
| 260 | <!-- Main AJSC System Properties below (necessary for proper startup) --> |
| 261 | <systemProperties> |
| 262 | <systemProperty> |
| 263 | <key>AJSC_HOME</key> |
| 264 | <value>${runAjscHome}</value> |
| 265 | </systemProperty> |
| 266 | <systemProperty> |
| 267 | <key>CONFIG_HOME</key> |
| 268 | <value>${basedir}/appconfig-local/</value> |
| 269 | </systemProperty> |
| 270 | <systemProperty> |
| 271 | <key>AJSC_CONF_HOME</key> |
| 272 | <value>${basedir}/bundleconfig-local</value> |
| 273 | </systemProperty> |
| 274 | <systemProperty> |
| 275 | <key>logback.configurationFile</key> |
| 276 | <value>${basedir}/ajsc-shared-config/etc/logback.xml</value> |
| 277 | </systemProperty> |
| 278 | <systemProperty> |
| 279 | <key>AJSC_SHARED_CONFIG</key> |
| 280 | <value>${basedir}/ajsc-shared-config</value> |
| 281 | </systemProperty> |
| 282 | |
| 283 | <sysproperty> |
| 284 | <key>AJSC_EXTERNAL_LIB_FOLDERS</key> |
| 285 | <value>${basedir}/target/commonLibs</value> |
| 286 | </sysproperty> |
| 287 | <sysproperty> |
| 288 | <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key> |
| 289 | <value>${basedir}/ajsc-shared-config/etc</value> |
| 290 | </sysproperty> |
| 291 | <systemProperty> |
| 292 | <key>AJSC_SERVICE_NAMESPACE</key> |
| 293 | <value>${module.ajsc.namespace.name}</value> |
| 294 | </systemProperty> |
| 295 | <systemProperty> |
| 296 | <key>AJSC_SERVICE_VERSION</key> |
| 297 | <value>${module.ajsc.namespace.version}</value> |
| 298 | </systemProperty> |
| 299 | <systemProperty> |
| 300 | <key>SOACLOUD_SERVICE_VERSION</key> |
| 301 | <value>${project.version}</value> |
| 302 | </systemProperty> |
| 303 | <systemProperty> |
| 304 | <key>server.port</key> |
| 305 | <value>${serverPort}</value> |
| 306 | </systemProperty> |
| 307 | </systemProperties> |
| 308 | |
| 309 | <!-- Command Line Arguments to add to the java command. Here, you |
| 310 | can specify the port as well as the Context you want your service to run |
| 311 | in. Use context=/ to run in an unnamed Context (Root Context). The default |
| 312 | configuration of the AJSC is to run under the / Context. Setting the port |
| 313 | here can aid during the development phase of your service. However, you can |
| 314 | leave this argument out entirely, and the AJSC will default to using an Ephemeral |
| 315 | port. --> |
| 316 | <arguments> |
| 317 | <argument>context=//</argument> |
| 318 | <argument>port=${serverPort}</argument> |
| 319 | <argument>sslport=${sslport}</argument> |
| 320 | </arguments> |
| 321 | </configuration> |
| 322 | </execution> |
| 323 | </executions> |
| 324 | <configuration> |
| 325 | <executable>java</executable> |
| 326 | </configuration> |
| 327 | <dependencies> |
| 328 | <dependency> |
| 329 | <groupId>com.att.ajsc</groupId> |
| 330 | <artifactId>ajsc-runner</artifactId> |
| 331 | <version>${ajscRuntimeVersion}</version> |
| 332 | </dependency> |
| 333 | </dependencies> |
| 334 | </plugin> |
| 335 | </plugins> |
| 336 | </build> |
| 337 | </profile> |
| 338 | </profiles> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 339 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 340 | <build> |
| 341 | <plugins> |
| 342 | <plugin> |
| 343 | <groupId>org.apache.maven.plugins</groupId> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 344 | <artifactId>maven-resources-plugin</artifactId> |
| 345 | <version>2.7</version> |
| 346 | <executions> |
| 347 | <execution> |
| 348 | <id>copy-docker-file</id> |
| 349 | <phase>package</phase> |
| 350 | <goals> |
| 351 | <goal>copy-resources</goal> |
| 352 | </goals> |
| 353 | <configuration> |
| 354 | <outputDirectory>target</outputDirectory> |
| 355 | <overwrite>true</overwrite> |
| 356 | <resources> |
| 357 | <resource> |
| 358 | <directory>${basedir}/src/main/docker</directory> |
| 359 | <filtering>true</filtering> |
| 360 | <includes> |
| 361 | <include>**/*</include> |
| 362 | </includes> |
| 363 | </resource> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 364 | <resource> |
| 365 | <directory>${basedir}/src/main/bin/</directory> |
| 366 | </resource> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 367 | </resources> |
| 368 | </configuration> |
| 369 | </execution> |
| 370 | </executions> |
| 371 | </plugin> |
| 372 | <plugin> |
| 373 | <groupId>com.spotify</groupId> |
| 374 | <artifactId>docker-maven-plugin</artifactId> |
| 375 | <version>0.4.11</version> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 376 | <configuration> |
Venkata Harish K Kajur | 61293a3 | 2017-02-20 23:58:13 +0000 | [diff] [blame] | 377 | <verbose>true</verbose> |
| 378 | <serverId>docker-hub</serverId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 379 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 380 | <dockerDirectory>${docker.location}</dockerDirectory> |
| 381 | <imageTags> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 382 | <imageTag>latest</imageTag> |
| 383 | </imageTags> |
| 384 | <forceTags>true</forceTags> |
| 385 | </configuration> |
| 386 | </plugin> |
| 387 | <plugin> |
| 388 | <groupId>org.apache.maven.plugins</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 389 | <artifactId>maven-dependency-plugin</artifactId> |
Jessica Wagantall | faa407b | 2017-06-12 14:38:05 -0700 | [diff] [blame] | 390 | <version>2.8</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 391 | <executions> |
| 392 | <execution> |
| 393 | <id>copy-agent</id> |
| 394 | <phase>process-test-classes</phase> |
| 395 | <goals> |
| 396 | <goal>copy</goal> |
| 397 | </goals> |
| 398 | <configuration> |
| 399 | <artifactItems> |
| 400 | <artifactItem> |
| 401 | <groupId>org.powermock</groupId> |
| 402 | <artifactId>powermock-module-javaagent</artifactId> |
| 403 | <version>1.6.2</version> |
| 404 | <outputDirectory>${project.build.directory}/agents</outputDirectory> |
| 405 | <destFileName>powermock-javaagent.jar</destFileName> |
| 406 | </artifactItem> |
| 407 | </artifactItems> |
| 408 | </configuration> |
| 409 | </execution> |
| 410 | </executions> |
| 411 | </plugin> |
| 412 | <plugin> |
| 413 | <groupId>org.apache.maven.plugins</groupId> |
| 414 | <artifactId>maven-surefire-plugin</artifactId> |
| 415 | <version>2.12.4</version> |
| 416 | <configuration> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 417 | <argLine>-noverify ${argLine}</argLine> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 418 | </configuration> |
| 419 | </plugin> |
| 420 | <plugin> |
| 421 | <groupId>org.codehaus.mojo</groupId> |
| 422 | <artifactId>jaxb2-maven-plugin</artifactId> |
| 423 | <version>2.2</version> |
| 424 | <executions> |
| 425 | <execution> |
| 426 | <id>xjc</id> |
| 427 | <goals> |
| 428 | <goal>xjc</goal> |
| 429 | </goals> |
| 430 | </execution> |
| 431 | </executions> |
| 432 | <configuration> |
| 433 | <clearOutputDir>false</clearOutputDir> |
| 434 | <outputDirectory>${project.build.directory}/generated-sources</outputDirectory> |
| 435 | <sources> |
| 436 | <source>${project.basedir}/src/main/resources/schema</source> |
| 437 | </sources> |
| 438 | <addGeneratedAnnotation>true</addGeneratedAnnotation> |
| 439 | </configuration> |
| 440 | </plugin> |
| 441 | <plugin> |
| 442 | <groupId>org.apache.maven.plugins</groupId> |
| 443 | <artifactId>maven-compiler-plugin</artifactId> |
| 444 | <version>3.1</version> |
| 445 | </plugin> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 446 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 447 | <!-- Checkstyle plugin - used to report on compliance with --> |
| 448 | <!-- the Google style guide. --> |
| 449 | <plugin> |
| 450 | <groupId>org.apache.maven.plugins</groupId> |
| 451 | <artifactId>maven-site-plugin</artifactId> |
| 452 | <version>3.3</version> |
| 453 | <configuration> |
| 454 | <reportPlugins> |
| 455 | <plugin> |
| 456 | <groupId>org.apache.maven.plugins</groupId> |
| 457 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 458 | <version>2.17</version> |
| 459 | <reportSets> |
| 460 | <reportSet> |
| 461 | <reports> |
| 462 | <report>checkstyle</report> |
| 463 | </reports> |
| 464 | </reportSet> |
| 465 | </reportSets> |
| 466 | </plugin> |
| 467 | </reportPlugins> |
| 468 | </configuration> |
| 469 | </plugin> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 470 | |
| 471 | <!-- license plugin --> |
| 472 | <plugin> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 473 | <groupId>com.mycila</groupId> |
| 474 | <artifactId>license-maven-plugin</artifactId> |
| 475 | <version>3.0</version> |
| 476 | <configuration> |
| 477 | <header>License.txt</header> |
| 478 | <includes> |
| 479 | <include>src/main/java/**</include> |
| 480 | <include>src/test/java/**</include> |
| 481 | </includes> |
| 482 | </configuration> |
| 483 | <executions> |
| 484 | <execution> |
| 485 | <goals> |
| 486 | <goal>format</goal> |
| 487 | </goals> |
| 488 | <phase>process-sources</phase> |
| 489 | </execution> |
| 490 | </executions> |
| 491 | </plugin> |
| 492 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 493 | <plugin> |
| 494 | <groupId>org.apache.maven.plugins</groupId> |
| 495 | <artifactId>maven-deploy-plugin</artifactId> |
| 496 | <configuration> |
| 497 | <skip>true</skip> |
| 498 | </configuration> |
| 499 | </plugin> |
| 500 | <plugin> |
| 501 | <groupId>org.codehaus.mojo</groupId> |
| 502 | <artifactId>sonar-maven-plugin</artifactId> |
| 503 | <version>3.2</version> |
| 504 | </plugin> |
| 505 | <plugin> |
| 506 | <groupId>org.jacoco</groupId> |
| 507 | <artifactId>jacoco-maven-plugin</artifactId> |
| 508 | <version>0.7.7.201606060606</version> |
| 509 | <configuration> |
| 510 | <dumpOnExit>true</dumpOnExit> |
| 511 | </configuration> |
| 512 | <executions> |
| 513 | <execution> |
| 514 | <id>jacoco-initialize-unit-tests</id> |
| 515 | <goals> |
| 516 | <goal>prepare-agent</goal> |
| 517 | </goals> |
| 518 | <configuration> |
| 519 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 520 | <!-- <append>true</append> --> |
| 521 | </configuration> |
| 522 | </execution> |
| 523 | </executions> |
| 524 | </plugin> |
| 525 | <plugin> |
| 526 | <groupId>org.sonatype.plugins</groupId> |
| 527 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 528 | <version>1.6.7</version> |
| 529 | <extensions>true</extensions> |
| 530 | <configuration> |
| 531 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 532 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 533 | <serverId>ecomp-staging</serverId> |
| 534 | </configuration> |
| 535 | </plugin> |
Venkata Harish K Kajur | 74573bf | 2017-03-08 17:25:12 +0000 | [diff] [blame] | 536 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 537 | </plugins> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 538 | </build> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 539 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 540 | </project> |