1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright (C) 2019 Bell Canada. All rights reserved.
5 ~ NOTICE: All the intellectual and technical concepts contained herein are
6 ~ proprietary to Bell Canada and are protected by trade secret or copyright law.
7 ~ Unauthorized copying of this file, via any medium is strictly prohibited.
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13 <groupId>org.onap.ccsdk.parent</groupId>
14 <artifactId>spring-boot-starter-parent</artifactId>
15 <version>1.2.2-SNAPSHOT</version>
18 <groupId>org.onap.ccsdk.cds</groupId>
19 <modelVersion>4.0.0</modelVersion>
20 <artifactId>cds-sdc-listener-application</artifactId>
21 <version>0.4.2-SNAPSHOT</version>
22 <name>CDS-SDC Listener Application</name>
25 <grpc.version>1.17.1</grpc.version>
26 <protobuf.version>3.6.1</protobuf.version>
27 <image.name>onap/ccsdk-cds-sdc-listener</image.name>
28 <docker.push.phase>deploy</docker.push.phase>
29 <project.version>${parent.version}</project.version>
30 <!-- Start of Docker Related Properties -->
31 <docker.fabric.version>0.26.1</docker.fabric.version>
32 <ccsdk.project.version>${project.version}</ccsdk.project.version>
38 <groupId>org.springframework.boot</groupId>
39 <artifactId>spring-boot-starter-web</artifactId>
42 <groupId>org.springframework.boot</groupId>
43 <artifactId>spring-boot-starter-test</artifactId>
47 <!-- SDC Distribution client dependency -->
49 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
50 <artifactId>sdc-distribution-client</artifactId>
51 <version>1.3.0</version>
55 <groupId>org.jmockit</groupId>
56 <artifactId>jmockit</artifactId>
57 <version>1.19</version>
61 <!-- GRPC Dependencies -->
63 <groupId>io.grpc</groupId>
64 <artifactId>grpc-netty</artifactId>
65 <version>${grpc.version}</version>
68 <groupId>io.grpc</groupId>
69 <artifactId>grpc-protobuf</artifactId>
70 <version>${grpc.version}</version>
73 <groupId>io.grpc</groupId>
74 <artifactId>grpc-stub</artifactId>
75 <version>${grpc.version}</version>
78 <groupId>com.google.protobuf</groupId>
79 <artifactId>protobuf-java</artifactId>
80 <version>${protobuf.version}</version>
83 <groupId>io.grpc</groupId>
84 <artifactId>grpc-testing</artifactId>
85 <version>${grpc.version}</version>
89 <groupId>org.onap.ccsdk.cds.components</groupId>
90 <artifactId>proto-definition</artifactId>
91 <version>${project.version}</version>
95 <groupId>io.projectreactor</groupId>
96 <artifactId>reactor-core</artifactId>
97 <version>3.2.6.RELEASE</version>
98 <scope>compile</scope>
105 <groupId>org.springframework.boot</groupId>
106 <artifactId>spring-boot-maven-plugin</artifactId>
111 <goal>repackage</goal>
117 <artifactId>maven-antrun-plugin</artifactId>
118 <version>1.8</version>
122 <phase>package</phase>
125 <echo>ANT TASK - copying Docker files</echo>
126 <copy todir="${basedir}/target/docker-stage" overwrite="true" flatten="true">
127 <fileset dir="${basedir}/src/main/docker">
128 <include name="Dockerfile"/>
129 <include name="start.sh"/>
131 <fileset dir="${basedir}/target">
132 <include name="*.jar"/>
134 <fileset dir="${basedir}/src/main/resources/">
135 <include name="application.yml"/>
147 <groupId>org.codehaus.groovy.maven</groupId>
148 <artifactId>gmaven-plugin</artifactId>
149 <version>1.0</version>
152 <phase>validate</phase>
157 <source>${basedir}/../../../TagVersion.groovy</source>
171 <groupId>io.fabric8</groupId>
172 <artifactId>docker-maven-plugin</artifactId>
173 <version>${docker.fabric.version}</version>
174 <inherited>false</inherited>
178 <name>${image.name}</name>
180 <cleanup>try</cleanup>
181 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
183 <tag>${project.docker.latestminortag.version}</tag>
184 <tag>${project.docker.latestfulltag.version}</tag>
185 <tag>${project.docker.latesttagtimestamp.version}</tag>
190 <verbose>true</verbose>
194 <id>generate-images</id>
195 <phase>package</phase>
202 <phase>${docker.push.phase}</phase>