--- /dev/null
+FROM openjdk:11-jre-slim
+COPY target/transfer-1.0.0.jar /opt/transfer.jar
+EXPOSE 8080
+CMD ["java", "-jar", "/opt/transfer.jar"]
<java.version>11</java.version>
<confluent.version>6.2.0</confluent.version>
<kafka.version>2.8.0</kafka.version>
+ <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
</properties>
<dependencies>
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>io.fabric8</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>${docker-maven-plugin.version}</version>
+ <configuration>
+ <images>
+ <image>
+ <name>juplo/payment-service-demo--%a:%v</name>
+ </image>
+ </images>
+ </configuration>
+ <executions>
+ <execution>
+ <id>build</id>
+ <phase>package</phase>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>