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