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