BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 2 | <!-- |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 3 | * ============LICENSE_START======================================================= |
| 4 | * ONAP : CCSDK.apps |
| 5 | * ================================================================================ |
| 6 | * Copyright (C) 2018 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 |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 11 | * |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 12 | * http://www.apache.org/licenses/LICENSE-2.0 |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 13 | * |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 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 | --> |
Timoney, Dan (dt5972) | b78d581 | 2019-01-08 14:40:54 -0500 | [diff] [blame] | 21 | <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"> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 24 | <groupId>org.onap.ccsdk.apps</groupId> |
| 25 | <artifactId>ccsdk-apps-ms-neng</artifactId> |
Timoney, Dan (dt5972) | 6c30486 | 2019-08-28 13:18:59 -0400 | [diff] [blame^] | 26 | <version>0.6.1-SNAPSHOT</version> |
Alexis de Talhouët | 5decf25 | 2019-01-03 16:53:40 -0500 | [diff] [blame] | 27 | <name>Naming Generation</name> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 28 | |
| 29 | <properties> |
| 30 | <swagger.directory>${basedir}/target/classes/META-INF/resources/swagger</swagger.directory> |
| 31 | <icd.file>service.json</icd.file> |
| 32 | <icd.package>org.onap.ccsdk.apps.ms.neng.service.rs</icd.package> |
| 33 | <java.version>1.8</java.version> |
Timoney, Dan (dt5972) | 55b09d5 | 2018-10-09 13:45:55 -0400 | [diff] [blame] | 34 | <spring.version>4.3.17.RELEASE</spring.version> |
| 35 | <springboot.version>1.5.16.RELEASE</springboot.version> |
BT2983 | 9783a8b | 2018-09-16 21:30:20 -0600 | [diff] [blame] | 36 | <docker.registry>nexus3.onap.org:10001</docker.registry> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 37 | <build.number>local</build.number> |
| 38 | <kube.namespace>TBD</kube.namespace> |
| 39 | <service.account>TBD</service.account> |
| 40 | <namespace>org.onap.ccsdk.apps.ms.neng</namespace> |
| 41 | <maven.compiler.source>1.8</maven.compiler.source> |
| 42 | <maven.compiler.target>1.8</maven.compiler.target> |
| 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 44 | <sdk.java.rest>6.2.0.11</sdk.java.rest> |
| 45 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 46 | <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> |
| 47 | <sonar.surefire.reportsPath>${basedir}/target/surefire-reports</sonar.surefire.reportsPath> |
| 48 | <sonar.failsafe.reportsPath>${basedir}/target/failsafe-reports</sonar.failsafe.reportsPath> |
| 49 | <jacoco.path>${basedir}/target/jacoco_report</jacoco.path> |
| 50 | <jacoco.itPath>${basedir}/target/jacoco_itReport</jacoco.itPath> |
| 51 | <sonar.jacoco.reportPath>${basedir}/target/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 52 | <sonar.jacoco.itReportPath>${basedir}/target/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 53 | <sonar.language>java</sonar.language> |
| 54 | <serviceArtifactName>ms-networkelementnamegen</serviceArtifactName> |
BT2983 | 9cbcdac | 2018-08-16 21:48:07 -0600 | [diff] [blame] | 55 | <ccsdk.distribution.version>0.2.4</ccsdk.distribution.version> |
Timoney, Dan (dt5972) | 7489607 | 2018-09-12 15:31:10 -0400 | [diff] [blame] | 56 | <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 57 | <docker.push.phase>deploy</docker.push.phase> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 58 | <docker.verbose>true</docker.verbose> |
| 59 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
| 60 | <image.name>onap/ccsdk-apps-ms-neng</image.name> |
bt2983 | ad92a27 | 2018-09-23 16:39:54 -0600 | [diff] [blame] | 61 | <timestamp>${maven.build.timestamp}</timestamp> |
Timoney, Dan (dt5972) | 00c3848 | 2019-02-14 13:52:48 -0500 | [diff] [blame] | 62 | <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format> |
| 63 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
| 64 | <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 65 | </properties> |
| 66 | |
| 67 | <profiles> |
| 68 | <profile> |
| 69 | <id>all-tests</id> |
| 70 | <properties> |
| 71 | <build.profile.id>all-tests</build.profile.id> |
| 72 | <skip.integration.tests>false</skip.integration.tests> |
| 73 | <skip.unit.tests>false</skip.unit.tests> |
| 74 | </properties> |
| 75 | </profile> |
| 76 | <profile> |
| 77 | <id>dev</id> |
| 78 | </profile> |
| 79 | <profile> |
| 80 | <id>integration-test</id> |
| 81 | <properties> |
| 82 | <build.profile.id>integration-test</build.profile.id> |
| 83 | <skip.integration.tests>false</skip.integration.tests> |
| 84 | <skip.unit.tests>true</skip.unit.tests> |
| 85 | </properties> |
| 86 | </profile> |
BT2983 | 9cbcdac | 2018-08-16 21:48:07 -0600 | [diff] [blame] | 87 | |
| 88 | <profile> |
| 89 | <id>blackduck</id> |
| 90 | <activation> |
| 91 | <property> |
| 92 | <name>blackduck-scan</name> |
| 93 | </property> |
| 94 | </activation> |
| 95 | <build> |
| 96 | <plugins> |
| 97 | <plugin> |
| 98 | <groupId>com.blackducksoftware.integration</groupId> |
| 99 | <artifactId>hub-maven-plugin</artifactId> |
| 100 | <version>1.4.0</version> |
| 101 | <inherited>false</inherited> |
| 102 | <configuration> |
| 103 | <hubProjectName>${project.name}</hubProjectName> |
| 104 | <outputDirectory>${project.basedir}</outputDirectory> |
| 105 | </configuration> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <id>create-bdio-file</id> |
| 109 | <phase>package</phase> |
| 110 | <goals> |
| 111 | <goal>createHubOutput</goal> |
| 112 | </goals> |
| 113 | </execution> |
| 114 | </executions> |
| 115 | </plugin> |
| 116 | </plugins> |
| 117 | </build> |
| 118 | </profile> |
| 119 | |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 120 | <profile> |
| 121 | <id>docker</id> |
| 122 | <build> |
| 123 | <plugins> |
| 124 | <plugin> |
| 125 | <artifactId>maven-resources-plugin</artifactId> |
| 126 | <version>2.6</version> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>copy-dockerfile</id> |
| 130 | <goals> |
| 131 | <goal>copy-resources</goal> |
| 132 | </goals> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 133 | <phase>validate</phase> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 134 | <configuration> |
| 135 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 136 | <resources> |
| 137 | <resource> |
| 138 | <directory>src/main/docker</directory> |
| 139 | <includes> |
| 140 | <include>startService.sh</include> |
| 141 | <include>Dockerfile</include> |
| 142 | </includes> |
| 143 | <filtering>true</filtering> |
| 144 | </resource> |
| 145 | </resources> |
| 146 | </configuration> |
| 147 | </execution> |
| 148 | <execution> |
| 149 | <id>copy-app-jar</id> |
| 150 | <goals> |
| 151 | <goal>copy-resources</goal> |
| 152 | </goals> |
bt2983 | ad92a27 | 2018-09-23 16:39:54 -0600 | [diff] [blame] | 153 | <phase>package</phase> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 154 | <configuration> |
| 155 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 156 | <resources> |
| 157 | <resource> |
| 158 | <directory>${basedir}/target/</directory> |
| 159 | <includes> |
| 160 | <include>NetworkElementNameGen.jar</include> |
| 161 | </includes> |
| 162 | <filtering>false</filtering> |
| 163 | </resource> |
| 164 | </resources> |
| 165 | </configuration> |
| 166 | </execution> |
| 167 | <execution> |
| 168 | <id>copy-config</id> |
| 169 | <goals> |
| 170 | <goal>copy-resources</goal> |
| 171 | </goals> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 172 | <phase>validate</phase> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 173 | <configuration> |
| 174 | <outputDirectory>${basedir}/target/docker-stage/opt/etc/config</outputDirectory> |
| 175 | <resources> |
| 176 | <resource> |
| 177 | <directory>${basedir}/opt/etc/config</directory> |
| 178 | <includes> |
| 179 | <include>*</include> |
| 180 | </includes> |
| 181 | <filtering>true</filtering> |
| 182 | </resource> |
| 183 | </resources> |
| 184 | </configuration> |
| 185 | </execution> |
| 186 | </executions> |
| 187 | </plugin> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 188 | |
| 189 | |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 190 | <plugin> |
| 191 | <groupId>io.fabric8</groupId> |
| 192 | <artifactId>docker-maven-plugin</artifactId> |
Timoney, Dan (dt5972) | 6d8d9d0 | 2018-09-26 16:19:36 -0400 | [diff] [blame] | 193 | <version>0.16.5</version> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 194 | <inherited>false</inherited> |
| 195 | <configuration> |
| 196 | <images> |
| 197 | <image> |
| 198 | <name>${image.name}</name> |
| 199 | <build> |
| 200 | <cleanup>try</cleanup> |
| 201 | <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> |
| 202 | <tags> |
Timoney, Dan (dt5972) | 00c3848 | 2019-02-14 13:52:48 -0500 | [diff] [blame] | 203 | <tag>${project.docker.latestminortag.version}</tag> |
| 204 | <tag>${project.docker.latestfulltag.version}</tag> |
| 205 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 206 | </tags> |
| 207 | </build> |
| 208 | </image> |
| 209 | </images> |
| 210 | <verbose>true</verbose> |
| 211 | </configuration> |
| 212 | <executions> |
| 213 | <execution> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 214 | <id>generate-images</id> |
| 215 | <phase>package</phase> |
| 216 | <goals> |
| 217 | <goal>build</goal> |
| 218 | </goals> |
| 219 | </execution> |
| 220 | <execution> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 221 | <id>push-images</id> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 222 | <phase>${docker.push.phase}</phase> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 223 | <goals> |
| 224 | <goal>build</goal> |
| 225 | <goal>push</goal> |
| 226 | </goals> |
| 227 | </execution> |
| 228 | </executions> |
| 229 | </plugin> |
| 230 | </plugins> |
| 231 | </build> |
| 232 | </profile> |
Timoney, Dan (dt5972) | 7489607 | 2018-09-12 15:31:10 -0400 | [diff] [blame] | 233 | |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 234 | </profiles> |
| 235 | |
| 236 | <developers> |
| 237 | <developer> |
| 238 | <id>${userId}</id> |
| 239 | </developer> |
| 240 | </developers> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 241 | |
| 242 | |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 243 | <parent> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 244 | <groupId>org.onap.ccsdk.parent</groupId> |
Timoney, Dan (dt5972) | a8588a4 | 2019-01-04 10:43:33 -0500 | [diff] [blame] | 245 | <artifactId>spring-boot-1-starter-parent</artifactId> |
Timoney, Dan (dt5972) | 6c30486 | 2019-08-28 13:18:59 -0400 | [diff] [blame^] | 246 | <version>1.4.1-SNAPSHOT</version> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 247 | <relativePath/> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 248 | </parent> |
| 249 | |
Timoney, Dan (dt5972) | a8588a4 | 2019-01-04 10:43:33 -0500 | [diff] [blame] | 250 | |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 251 | |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 252 | <dependencies> |
| 253 | <dependency> |
| 254 | <groupId>io.swagger</groupId> |
| 255 | <artifactId>swagger-core</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 256 | </dependency> |
| 257 | <dependency> |
| 258 | <groupId>org.springframework.boot</groupId> |
| 259 | <artifactId>spring-boot-starter-web</artifactId> |
| 260 | </dependency> |
| 261 | <dependency> |
| 262 | <groupId>org.springframework.boot</groupId> |
| 263 | <artifactId>spring-boot-starter-jersey</artifactId> |
| 264 | </dependency> |
| 265 | <dependency> |
| 266 | <groupId>org.springframework.boot</groupId> |
| 267 | <artifactId>spring-boot-starter-actuator</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>org.springframework.boot</groupId> |
| 271 | <artifactId>spring-boot-loader-tools</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 272 | </dependency> |
| 273 | <dependency> |
| 274 | <groupId>org.springframework.boot</groupId> |
| 275 | <artifactId>spring-boot-starter-test</artifactId> |
| 276 | <scope>test</scope> |
| 277 | </dependency> |
| 278 | <dependency> |
| 279 | <groupId>org.springframework.boot</groupId> |
| 280 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 281 | <scope>compile</scope> |
| 282 | </dependency> |
| 283 | <dependency> |
| 284 | <groupId>org.springframework.boot</groupId> |
| 285 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 286 | <scope>compile</scope> |
| 287 | </dependency> |
| 288 | <dependency> |
| 289 | <groupId>org.apache.httpcomponents</groupId> |
| 290 | <artifactId>httpclient</artifactId> |
| 291 | </dependency> |
| 292 | <dependency> |
| 293 | <groupId>javax.ws.rs</groupId> |
| 294 | <artifactId>javax.ws.rs-api</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 295 | </dependency> |
| 296 | <dependency> |
| 297 | <groupId>commons-lang</groupId> |
| 298 | <artifactId>commons-lang</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 299 | </dependency> |
| 300 | <dependency> |
| 301 | <groupId>org.liquibase</groupId> |
| 302 | <artifactId>liquibase-core</artifactId> |
| 303 | </dependency> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 304 | <dependency> |
| 305 | <groupId>org.mariadb.jdbc</groupId> |
| 306 | <artifactId>mariadb-java-client</artifactId> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 307 | </dependency> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 308 | <dependency> |
| 309 | <groupId>com.h2database</groupId> |
| 310 | <artifactId>h2</artifactId> |
| 311 | </dependency> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 312 | <dependency> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 313 | <groupId>org.springframework.boot</groupId> |
| 314 | <artifactId>spring-boot-configuration-processor</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 315 | <optional>true</optional> |
| 316 | </dependency> |
| 317 | <dependency> |
| 318 | <groupId>org.springframework</groupId> |
| 319 | <artifactId>spring-test</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 320 | <scope>test</scope> |
| 321 | </dependency> |
| 322 | <dependency> |
| 323 | <groupId>org.springframework</groupId> |
| 324 | <artifactId>spring-aop</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 325 | </dependency> |
| 326 | <dependency> |
| 327 | <groupId>org.springframework</groupId> |
| 328 | <artifactId>spring-beans</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 329 | </dependency> |
| 330 | <dependency> |
| 331 | <groupId>org.springframework</groupId> |
| 332 | <artifactId>spring-beans</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 333 | </dependency> |
| 334 | <dependency> |
| 335 | <groupId>org.springframework</groupId> |
| 336 | <artifactId>spring-context</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 337 | </dependency> |
| 338 | <dependency> |
| 339 | <groupId>org.springframework</groupId> |
| 340 | <artifactId>spring-core</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 341 | </dependency> |
| 342 | <dependency> |
| 343 | <groupId>org.springframework</groupId> |
| 344 | <artifactId>spring-expression</artifactId> |
BT2983 | 3db41ee | 2018-08-01 20:09:20 -0600 | [diff] [blame] | 345 | </dependency> |
| 346 | <dependency> |
| 347 | <groupId>org.springframework</groupId> |
| 348 | <artifactId>spring-web</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 349 | </dependency> |
| 350 | </dependencies> |
| 351 | |
| 352 | <build> |
| 353 | <finalName>NetworkElementNameGen</finalName> |
| 354 | <plugins> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 355 | |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 356 | <plugin> |
Timoney, Dan (dt5972) | 7489607 | 2018-09-12 15:31:10 -0400 | [diff] [blame] | 357 | <groupId>org.codehaus.groovy.maven</groupId> |
| 358 | <artifactId>gmaven-plugin</artifactId> |
| 359 | <version>1.0</version> |
| 360 | <executions> |
| 361 | <execution> |
| 362 | <phase>validate</phase> |
| 363 | <goals> |
| 364 | <goal>execute</goal> |
| 365 | </goals> |
| 366 | <configuration> |
Timoney, Dan (dt5972) | 00c3848 | 2019-02-14 13:52:48 -0500 | [diff] [blame] | 367 | <source>${basedir}/../../TagVersion.groovy</source> |
Timoney, Dan (dt5972) | 7489607 | 2018-09-12 15:31:10 -0400 | [diff] [blame] | 368 | </configuration> |
| 369 | </execution> |
| 370 | </executions> |
| 371 | </plugin> |
| 372 | <plugin> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 373 | <groupId>org.jacoco</groupId> |
| 374 | <artifactId>jacoco-maven-plugin</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 375 | <executions> |
| 376 | <execution> |
| 377 | <id>pre-unit-test</id> |
| 378 | <goals> |
| 379 | <goal>prepare-agent</goal> |
| 380 | </goals> |
| 381 | <configuration> |
| 382 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 383 | <propertyName>surefireArgLine</propertyName> |
| 384 | </configuration> |
| 385 | </execution> |
| 386 | <execution> |
| 387 | <id>post-unit-test</id> |
| 388 | <phase>test</phase> |
| 389 | <goals> |
| 390 | <goal>report</goal> |
| 391 | </goals> |
| 392 | <configuration> |
| 393 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 394 | <outputDirectory>${jacoco.path}</outputDirectory> |
| 395 | </configuration> |
| 396 | </execution> |
| 397 | <execution> |
| 398 | <id>pre-integration-test</id> |
| 399 | <phase>pre-integration-test</phase> |
| 400 | <goals> |
| 401 | <goal>prepare-agent</goal> |
| 402 | </goals> |
| 403 | <configuration> |
| 404 | <destFile>${sonar.jacoco.itReportPath}</destFile> |
| 405 | <propertyName>failsafeArgLine</propertyName> |
| 406 | </configuration> |
| 407 | </execution> |
| 408 | <execution> |
| 409 | <id>post-integration-test</id> |
| 410 | <phase>post-integration-test</phase> |
| 411 | <goals> |
| 412 | <goal>report</goal> |
| 413 | </goals> |
| 414 | <configuration> |
| 415 | <dataFile>${sonar.jacoco.itReportPath}/</dataFile> |
| 416 | <outputDirectory>${jacoco.itPath}</outputDirectory> |
| 417 | </configuration> |
| 418 | </execution> |
| 419 | </executions> |
| 420 | </plugin> |
| 421 | <plugin> |
| 422 | <groupId>org.apache.maven.plugins</groupId> |
| 423 | <artifactId>maven-surefire-plugin</artifactId> |
| 424 | <configuration> |
| 425 | <argLine>${surefireArgLine}</argLine> |
| 426 | <skipTests>${skip.unit.tests}</skipTests> |
| 427 | <excludes> |
| 428 | <exclude>**/IT*.java</exclude> |
| 429 | </excludes> |
| 430 | </configuration> |
| 431 | </plugin> |
| 432 | <plugin> |
| 433 | <groupId>org.apache.maven.plugins</groupId> |
| 434 | <artifactId>maven-failsafe-plugin</artifactId> |
| 435 | <executions> |
| 436 | <execution> |
| 437 | <id>integration-tests</id> |
| 438 | <goals> |
| 439 | <goal>integration-test</goal> |
| 440 | <goal>verify</goal> |
| 441 | </goals> |
| 442 | <configuration> |
| 443 | <argLine>${failsafeArgLine}</argLine> |
| 444 | <skipTests>${skip.integration.tests}</skipTests> |
| 445 | </configuration> |
| 446 | </execution> |
| 447 | </executions> |
| 448 | </plugin> |
| 449 | <plugin> |
| 450 | <artifactId>maven-dependency-plugin</artifactId> |
| 451 | </plugin> |
| 452 | <plugin> |
| 453 | <groupId>com.github.kongchen</groupId> |
| 454 | <artifactId>swagger-maven-plugin</artifactId> |
| 455 | <version>3.1.3</version> |
| 456 | <configuration> |
| 457 | <apiSources> |
| 458 | <apiSource> |
| 459 | <locations>org.onap.ccsdk.apps.ms.neng.service.rs</locations> |
| 460 | <basePath>/web</basePath> |
| 461 | <info> |
| 462 | <title>${project.artifactId} Service</title> |
| 463 | <version>${project.version}</version> |
| 464 | </info> |
| 465 | <swaggerDirectory>${swagger.directory}</swaggerDirectory> |
| 466 | </apiSource> |
| 467 | </apiSources> |
| 468 | </configuration> |
| 469 | <executions> |
| 470 | <execution> |
| 471 | <phase>package</phase> |
| 472 | <goals> |
| 473 | <goal>generate</goal> |
| 474 | </goals> |
| 475 | </execution> |
| 476 | </executions> |
| 477 | </plugin> |
| 478 | |
| 479 | <plugin> |
| 480 | <artifactId>exec-maven-plugin</artifactId> |
| 481 | <groupId>org.codehaus.mojo</groupId> |
| 482 | </plugin> |
Alexis de Talhouët | 84cd8c4 | 2018-09-21 11:08:46 -0400 | [diff] [blame] | 483 | |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 484 | <plugin> |
| 485 | <groupId>org.springframework.boot</groupId> |
| 486 | <artifactId>spring-boot-maven-plugin</artifactId> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 487 | <executions> |
| 488 | <execution> |
| 489 | <goals> |
| 490 | <goal>repackage</goal> |
| 491 | </goals> |
| 492 | </execution> |
| 493 | </executions> |
| 494 | </plugin> |
| 495 | </plugins> |
BT2983 | 933fa9b | 2018-09-20 14:26:33 -0600 | [diff] [blame] | 496 | |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 497 | <resources> |
| 498 | <resource> |
| 499 | <directory>src/main/resources</directory> |
| 500 | <filtering>true</filtering> |
| 501 | <includes> |
| 502 | <include>**/*</include> |
| 503 | </includes> |
| 504 | </resource> |
| 505 | <resource> |
| 506 | <directory>opt/aai/keystore</directory> |
| 507 | <targetPath>../opt/aai/keystore</targetPath> |
| 508 | <filtering>false</filtering> |
| 509 | <includes> |
| 510 | <include>**/*</include> |
| 511 | </includes> |
| 512 | </resource> |
| 513 | |
| 514 | <resource> |
| 515 | <directory>opt/etc/config</directory> |
| 516 | <targetPath>../opt/etc/config</targetPath> |
| 517 | <filtering>true</filtering> |
| 518 | <includes> |
| 519 | <include>**/*</include> |
| 520 | </includes> |
| 521 | </resource> |
| 522 | <resource> |
| 523 | <directory>opt/etc/keystore</directory> |
| 524 | <targetPath>../opt/etc/keystore</targetPath> |
| 525 | <filtering>false</filtering> |
| 526 | <includes> |
| 527 | <include>**/*</include> |
| 528 | </includes> |
| 529 | </resource> |
| 530 | <resource> |
| 531 | <directory>opt/etc/truststore</directory> |
| 532 | <targetPath>../opt/etc/truststore</targetPath> |
| 533 | <filtering>false</filtering> |
| 534 | <includes> |
| 535 | <include>**/*</include> |
| 536 | </includes> |
| 537 | </resource> |
| 538 | </resources> |
BT2983 | 9cbcdac | 2018-08-16 21:48:07 -0600 | [diff] [blame] | 539 | <pluginManagement> |
| 540 | <plugins> |
| 541 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 542 | <plugin> |
| 543 | <groupId>org.eclipse.m2e</groupId> |
| 544 | <artifactId>lifecycle-mapping</artifactId> |
| 545 | <version>1.0.0</version> |
| 546 | <configuration> |
| 547 | <lifecycleMappingMetadata> |
| 548 | <pluginExecutions> |
| 549 | <pluginExecution> |
| 550 | <pluginExecutionFilter> |
| 551 | <groupId> |
| 552 | org.apache.maven.plugins |
| 553 | </groupId> |
| 554 | <artifactId> |
| 555 | maven-checkstyle-plugin |
| 556 | </artifactId> |
| 557 | <versionRange> |
| 558 | [2.17,) |
| 559 | </versionRange> |
| 560 | <goals> |
| 561 | <goal>check</goal> |
| 562 | </goals> |
| 563 | </pluginExecutionFilter> |
| 564 | <action> |
Timoney, Dan (dt5972) | b78d581 | 2019-01-08 14:40:54 -0500 | [diff] [blame] | 565 | <ignore/> |
BT2983 | 9cbcdac | 2018-08-16 21:48:07 -0600 | [diff] [blame] | 566 | </action> |
| 567 | </pluginExecution> |
| 568 | <pluginExecution> |
| 569 | <pluginExecutionFilter> |
| 570 | <groupId> |
| 571 | org.codehaus.mojo |
| 572 | </groupId> |
| 573 | <artifactId> |
| 574 | properties-maven-plugin |
| 575 | </artifactId> |
| 576 | <versionRange> |
| 577 | [1.0.0,) |
| 578 | </versionRange> |
| 579 | <goals> |
| 580 | <goal> |
| 581 | set-system-properties |
| 582 | </goal> |
| 583 | </goals> |
| 584 | </pluginExecutionFilter> |
| 585 | <action> |
Timoney, Dan (dt5972) | b78d581 | 2019-01-08 14:40:54 -0500 | [diff] [blame] | 586 | <ignore/> |
BT2983 | 9cbcdac | 2018-08-16 21:48:07 -0600 | [diff] [blame] | 587 | </action> |
| 588 | </pluginExecution> |
| 589 | </pluginExecutions> |
| 590 | </lifecycleMappingMetadata> |
| 591 | </configuration> |
| 592 | </plugin> |
| 593 | </plugins> |
| 594 | </pluginManagement> |
BT2983 | 2ea106c | 2018-07-22 14:08:34 -0600 | [diff] [blame] | 595 | </build> |
bt2983 | ad92a27 | 2018-09-23 16:39:54 -0600 | [diff] [blame] | 596 | </project> |