Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Lee, Tian (tl5884) | 9d81a17 | 2018-04-17 15:31:49 +0100 | [diff] [blame] | 2 | <!-- |
| 3 | |
mark.j.leonard | 1bde7e3 | 2018-08-06 16:58:34 +0100 | [diff] [blame^] | 4 | ============LICENSE_START======================================================= |
Lee, Tian (tl5884) | 9d81a17 | 2018-04-17 15:31:49 +0100 | [diff] [blame] | 5 | org.onap.aai |
| 6 | ================================================================================ |
| 7 | Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. |
| 8 | Copyright © 2017-2018 European Software Marketing Ltd. |
| 9 | ================================================================================ |
| 10 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | you may not use this file except in compliance with the License. |
| 12 | You may obtain a copy of the License at |
| 13 | |
| 14 | http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | |
| 16 | Unless required by applicable law or agreed to in writing, software |
| 17 | distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | See the License for the specific language governing permissions and |
| 20 | limitations under the License. |
| 21 | ============LICENSE_END========================================================= |
| 22 | |
| 23 | --> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
| 28 | <parent> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 29 | <groupId>org.onap.oparent</groupId> |
| 30 | <artifactId>oparent</artifactId> |
| 31 | <version>1.1.0</version> |
| 32 | <relativePath /> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 33 | </parent> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 34 | |
| 35 | <groupId>org.onap.aai</groupId> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 36 | <artifactId>babel</artifactId> |
Jimmy Forsyth | 284d5c0 | 2018-05-23 13:56:25 -0400 | [diff] [blame] | 37 | <version>1.3.0-SNAPSHOT</version> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 38 | <packaging>jar</packaging> |
| 39 | |
Gildas Lanilis | 5b2bfbb | 2018-02-02 14:14:41 -0800 | [diff] [blame] | 40 | <name>aai-babel</name> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 41 | <description>ONAP AAI Babel Microservice</description> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 42 | |
| 43 | <properties> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 44 | <!-- Spring boot version --> |
Lee, Tian (tl5884) | 079001a | 2018-07-05 12:39:02 +0100 | [diff] [blame] | 45 | <spring.boot.version>1.5.14.RELEASE</spring.boot.version> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 46 | |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 47 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 48 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 49 | <java.version>1.8</java.version> |
| 50 | <docker.location>${basedir}/target</docker.location> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 51 | |
| 52 | <!-- Dependency Versions --> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 53 | <common.logging.version>1.2.2</common.logging.version> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 54 | <sdc.tosca.version>1.3.0</sdc.tosca.version> |
| 55 | <commons.compress.version>1.16.1</commons.compress.version> |
| 56 | <javax.ws.rs.version>2.1</javax.ws.rs.version> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 57 | <mvn.jaxb2.version>0.13.2</mvn.jaxb2.version> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 58 | <aai-schema.group.id>org.onap.aai.aai-common</aai-schema.group.id> |
Jimmy Forsyth | 284d5c0 | 2018-05-23 13:56:25 -0400 | [diff] [blame] | 59 | <aai-schema.version>1.3.0-SNAPSHOT</aai-schema.version> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 60 | <apache.lang3.version>3.7</apache.lang3.version> |
| 61 | <aai.rest.client.version>1.2.1</aai.rest.client.version> |
| 62 | <sdc.distribution.client.version>1.3.0</sdc.distribution.client.version> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 63 | <xmlunit.version>1.6</xmlunit.version> |
Lee, Tian (tl5884) | fdf0ac0 | 2018-05-01 10:47:29 +0100 | [diff] [blame] | 64 | <logback.version>1.2.3</logback.version> |
Lee, Tian (tl5884) | 079001a | 2018-07-05 12:39:02 +0100 | [diff] [blame] | 65 | <guava.version>25.1-jre</guava.version> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 66 | </properties> |
| 67 | |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 68 | <dependencyManagement> |
| 69 | <dependencies> |
| 70 | <dependency> |
| 71 | <!-- Import dependency management from Spring Boot --> |
| 72 | <groupId>org.springframework.boot</groupId> |
| 73 | <artifactId>spring-boot-dependencies</artifactId> |
| 74 | <version>${spring.boot.version}</version> |
| 75 | <type>pom</type> |
| 76 | <scope>import</scope> |
| 77 | </dependency> |
| 78 | </dependencies> |
| 79 | </dependencyManagement> |
| 80 | |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 81 | <dependencies> |
| 82 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 83 | <groupId>org.springframework.boot</groupId> |
| 84 | <artifactId>spring-boot-starter-jetty</artifactId> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 85 | </dependency> |
| 86 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 87 | <groupId>org.springframework.boot</groupId> |
| 88 | <artifactId>spring-boot-starter-jersey</artifactId> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 89 | </dependency> |
mark.j.leonard | eea1282 | 2018-04-09 13:20:26 +0100 | [diff] [blame] | 90 | <dependency> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 91 | <groupId>org.onap.aai.logging-service</groupId> |
| 92 | <artifactId>common-logging</artifactId> |
| 93 | <version>${common.logging.version}</version> |
| 94 | </dependency> |
| 95 | <dependency> |
Lee, Tian (tl5884) | fdf0ac0 | 2018-05-01 10:47:29 +0100 | [diff] [blame] | 96 | <groupId>ch.qos.logback</groupId> |
| 97 | <artifactId>logback-classic</artifactId> |
| 98 | <version>${logback.version}</version><!--$NO-MVN-MAN-VER$--> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>ch.qos.logback</groupId> |
| 102 | <artifactId>logback-core</artifactId> |
| 103 | <version>${logback.version}</version><!--$NO-MVN-MAN-VER$--> |
| 104 | </dependency> |
| 105 | |
| 106 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 107 | <groupId>commons-codec</groupId> |
| 108 | <artifactId>commons-codec</artifactId> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 109 | </dependency> |
| 110 | <dependency> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 111 | <groupId>org.apache.commons</groupId> |
| 112 | <artifactId>commons-compress</artifactId> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 113 | <version>${commons.compress.version}</version> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.apache.commons</groupId> |
| 117 | <artifactId>commons-lang3</artifactId> |
| 118 | <version>${apache.lang3.version}</version> |
| 119 | </dependency> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 120 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 121 | <groupId>javax.ws.rs</groupId> |
| 122 | <artifactId>javax.ws.rs-api</artifactId> |
| 123 | <version>${javax.ws.rs.version}</version> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.codehaus.groovy</groupId> |
| 127 | <artifactId>groovy-all</artifactId> |
| 128 | </dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 129 | |
| 130 | <dependency> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 131 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 132 | <artifactId>sdc-tosca</artifactId> |
| 133 | <version>${sdc.tosca.version}</version> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 134 | </dependency> |
| 135 | <dependency> |
Lee, Tian (tl5884) | 079001a | 2018-07-05 12:39:02 +0100 | [diff] [blame] | 136 | <groupId>com.google.guava</groupId> |
| 137 | <artifactId>guava</artifactId> |
| 138 | <version>${guava.version}</version> |
| 139 | </dependency> |
| 140 | |
| 141 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 142 | <groupId>org.onap.aai</groupId> |
| 143 | <artifactId>rest-client</artifactId> |
| 144 | <version>${aai.rest.client.version}</version> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 145 | </dependency> |
| 146 | |
| 147 | <!-- Testing --> |
| 148 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 149 | <groupId>org.springframework.boot</groupId> |
| 150 | <artifactId>spring-boot-starter-test</artifactId> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 151 | <scope>test</scope> |
| 152 | </dependency> |
| 153 | <dependency> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 154 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 155 | <artifactId>sdc-distribution-client</artifactId> |
| 156 | <version>${sdc.distribution.client.version}</version> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 157 | <scope>test</scope> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 158 | </dependency> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 159 | <dependency> |
| 160 | <groupId>xmlunit</groupId> |
| 161 | <artifactId>xmlunit</artifactId> |
| 162 | <version>${xmlunit.version}</version> |
| 163 | <scope>test</scope> |
| 164 | </dependency> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 165 | </dependencies> |
| 166 | |
| 167 | <build> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 168 | <finalName>babel</finalName> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 169 | <plugins> |
Venkata Harish K Kajur | e350708 | 2018-01-08 02:44:08 -0500 | [diff] [blame] | 170 | <plugin> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 171 | <groupId>org.springframework.boot</groupId> |
| 172 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 173 | <version>${spring.boot.version}</version> |
| 174 | <configuration> |
| 175 | <jvmArguments> |
| 176 | -DCONFIG_HOME=./appconfig-local |
| 177 | -DAPP_HOME=. |
| 178 | -Dartifactgenerator.config=./appconfig-local/artifact-generator.properties |
| 179 | -DKEY_STORE_PASSWORD=${KEY_STORE_PASSWORD} |
| 180 | </jvmArguments> |
| 181 | </configuration> |
| 182 | <executions> |
| 183 | <execution> |
| 184 | <goals> |
| 185 | <goal>repackage</goal> |
| 186 | </goals> |
| 187 | </execution> |
| 188 | </executions> |
| 189 | </plugin> |
| 190 | <plugin> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 191 | <groupId>org.apache.maven.plugins</groupId> |
| 192 | <artifactId>maven-dependency-plugin</artifactId> |
| 193 | <executions> |
| 194 | <execution> |
| 195 | <id>unpack</id> |
| 196 | <phase>initialize</phase> |
| 197 | <goals> |
| 198 | <goal>unpack</goal> |
| 199 | </goals> |
| 200 | <configuration> |
| 201 | <artifactItems> |
| 202 | <artifactItem> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 203 | <groupId>${aai-schema.group.id}</groupId> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 204 | <artifactId>aai-schema</artifactId> |
| 205 | <version>${aai-schema.version}</version> |
| 206 | <type>jar</type> |
| 207 | <includes>aai_schema/aai_schema_v**.xsd</includes> |
| 208 | <outputDirectory>target/tmp</outputDirectory> |
| 209 | </artifactItem> |
| 210 | </artifactItems> |
| 211 | </configuration> |
| 212 | </execution> |
| 213 | </executions> |
| 214 | </plugin> |
| 215 | <plugin> |
| 216 | <groupId>org.jvnet.jaxb2.maven2</groupId> |
| 217 | <artifactId>maven-jaxb2-plugin</artifactId> |
| 218 | <version>${mvn.jaxb2.version}</version> |
| 219 | <executions> |
| 220 | <execution> |
| 221 | <phase>process-sources</phase> |
| 222 | <goals> |
| 223 | <goal>generate</goal> |
| 224 | </goals> |
| 225 | </execution> |
| 226 | </executions> |
| 227 | <configuration> |
| 228 | <schemaDirectory>target/tmp/aai_schema</schemaDirectory> |
| 229 | <generatePackage>org.onap.aai.babel.xml.generator.xsd</generatePackage> |
| 230 | <generateDirectory>target/generated-sources</generateDirectory> |
| 231 | <schemaIncludes> |
| 232 | <include>aai_schema_latest.xsd</include> |
| 233 | </schemaIncludes> |
| 234 | <extension>true</extension> |
| 235 | <args> |
| 236 | <arg>-Xannotate</arg> |
| 237 | </args> |
| 238 | <plugins> |
| 239 | <plugin> |
| 240 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 241 | <artifactId>jaxb2-basics-annotate</artifactId> |
| 242 | <version>0.6.4</version> |
| 243 | </plugin> |
| 244 | <!-- Add the dependencies with your annotations as 'plugins' below --> |
| 245 | <plugin> |
| 246 | <groupId>org.jvnet.jaxb2_commons</groupId> |
| 247 | <artifactId>jaxb2-annotate-plugin-test-annox-annotations</artifactId> |
| 248 | <version>1.0.0</version> |
| 249 | </plugin> |
| 250 | </plugins> |
| 251 | </configuration> |
| 252 | </plugin> |
| 253 | <plugin> |
| 254 | <artifactId>exec-maven-plugin</artifactId> |
| 255 | <groupId>org.codehaus.mojo</groupId> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 256 | <version>1.5.0</version> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 257 | <executions> |
| 258 | <execution><!-- Run our script to get latest xsd version --> |
| 259 | <id>Get latest xsd version</id> |
| 260 | <phase>generate-sources</phase> |
| 261 | <goals> |
| 262 | <goal>exec</goal> |
| 263 | </goals> |
| 264 | <configuration> |
| 265 | <workingDirectory>${basedir}/scripts</workingDirectory> |
| 266 | <executable>bash</executable> |
| 267 | <commandlineArgs>get-latest-xsd-version.sh ${basedir}</commandlineArgs> |
| 268 | </configuration> |
| 269 | </execution> |
| 270 | </executions> |
| 271 | </plugin> |
| 272 | <plugin> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 273 | <groupId>com.mycila</groupId> |
| 274 | <artifactId>license-maven-plugin</artifactId> |
| 275 | <version>3.0</version> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 276 | <configuration> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 277 | <header>License.txt</header> |
| 278 | <includes> |
| 279 | <include>src/main/java/**</include> |
| 280 | <include>src/test/java/**</include> |
| 281 | <include>pom.xml</include> |
| 282 | </includes> |
| 283 | <skipExistingHeaders>true</skipExistingHeaders> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 284 | </configuration> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 285 | <executions> |
| 286 | <execution> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 287 | <goals> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 288 | <!-- Set goal from "check" to "format" to auto update license headers --> |
| 289 | <goal>check</goal> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 290 | </goals> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 291 | <phase>validate</phase> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 292 | </execution> |
| 293 | </executions> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 294 | </plugin> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 295 | <plugin> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 296 | <groupId>org.apache.maven.plugins</groupId> |
| 297 | <artifactId>maven-surefire-plugin</artifactId> |
| 298 | <configuration> |
| 299 | <reuseForks>false</reuseForks> |
| 300 | <forkCount>1</forkCount> |
| 301 | <environmentVariables> |
| 302 | <APP_HOME>.</APP_HOME> |
| 303 | <CONFIG_HOME>src/test/resources</CONFIG_HOME> |
| 304 | </environmentVariables> |
| 305 | </configuration> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 306 | </plugin> |
| 307 | <plugin> |
| 308 | <groupId>org.apache.maven.plugins</groupId> |
| 309 | <artifactId>maven-resources-plugin</artifactId> |
| 310 | <version>3.0.2</version> |
| 311 | <executions> |
| 312 | <execution> |
| 313 | <id>copy-docker-file</id> |
| 314 | <phase>package</phase> |
| 315 | <goals> |
| 316 | <goal>copy-resources</goal> |
| 317 | </goals> |
| 318 | <configuration> |
| 319 | <outputDirectory>target</outputDirectory> |
| 320 | <overwrite>true</overwrite> |
| 321 | <resources> |
| 322 | <resource> |
| 323 | <directory>${basedir}/src/main/docker</directory> |
| 324 | <filtering>true</filtering> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 325 | </resource> |
| 326 | <resource> |
| 327 | <directory>${basedir}/src/main/bin/</directory> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 328 | <filtering>true</filtering> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 329 | </resource> |
| 330 | </resources> |
| 331 | </configuration> |
| 332 | </execution> |
| 333 | </executions> |
| 334 | </plugin> |
| 335 | <plugin> |
| 336 | <groupId>org.apache.maven.plugins</groupId> |
| 337 | <artifactId>maven-jar-plugin</artifactId> |
| 338 | <version>3.0.2</version> |
| 339 | <executions> |
| 340 | <execution> |
| 341 | <phase>package</phase> |
| 342 | <goals> |
| 343 | <goal>jar</goal> |
| 344 | </goals> |
| 345 | <configuration> |
| 346 | <classifier>client</classifier> |
| 347 | <includes> |
| 348 | <include>**/babel/service/data/*</include> |
| 349 | </includes> |
| 350 | </configuration> |
| 351 | </execution> |
| 352 | </executions> |
| 353 | </plugin> |
Edwin Lawrance | 6337075 | 2017-10-09 11:56:05 +0100 | [diff] [blame] | 354 | <plugin> |
Lee, Tian (tl5884) | e651abe | 2018-04-27 17:50:07 +0100 | [diff] [blame] | 355 | <groupId>org.apache.maven.plugins</groupId> |
| 356 | <artifactId>maven-deploy-plugin</artifactId> |
| 357 | <configuration> |
| 358 | <classifier>client</classifier> |
| 359 | </configuration> |
| 360 | </plugin> |
| 361 | <plugin> |
Edwin Lawrance | 6337075 | 2017-10-09 11:56:05 +0100 | [diff] [blame] | 362 | <groupId>com.spotify</groupId> |
| 363 | <artifactId>docker-maven-plugin</artifactId> |
| 364 | <version>0.4.11</version> |
Lee, Tian (tl5884) | 9482344 | 2018-05-29 10:45:17 +0100 | [diff] [blame] | 365 | <dependencies> |
| 366 | <dependency> |
| 367 | <groupId>com.github.jnr</groupId> |
| 368 | <artifactId>jnr-unixsocket</artifactId> |
| 369 | <version>0.13</version> |
| 370 | </dependency> |
| 371 | </dependencies> |
Edwin Lawrance | 6337075 | 2017-10-09 11:56:05 +0100 | [diff] [blame] | 372 | <configuration> |
| 373 | <verbose>true</verbose> |
| 374 | <serverId>docker-hub</serverId> |
mark.j.leonard | 1b5dfb7 | 2018-07-02 15:27:36 +0100 | [diff] [blame] | 375 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
Edwin Lawrance | 6337075 | 2017-10-09 11:56:05 +0100 | [diff] [blame] | 376 | <dockerDirectory>${docker.location}</dockerDirectory> |
| 377 | <imageTags> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 378 | <imageTag>latest</imageTag> |
Edwin Lawrance | 6337075 | 2017-10-09 11:56:05 +0100 | [diff] [blame] | 379 | </imageTags> |
| 380 | <forceTags>true</forceTags> |
| 381 | </configuration> |
| 382 | </plugin> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 383 | </plugins> |
Leonard, Mark (ml401d) | 66b3afa | 2018-03-21 18:40:41 +0000 | [diff] [blame] | 384 | </build> |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 385 | |
Edwin Lawrance | 1433a67 | 2017-09-22 16:55:07 +0100 | [diff] [blame] | 386 | </project> |