This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>de.foo</groupId> | |
<artifactId>kotlin-foo-log4j-examle</artifactId> | |
<version>1.0.0-SNAPSHOT</version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM azul/zulu-openjdk-alpine:11 | |
COPY target/dependency-jars /run/dependency-jars | |
ADD target/application.jar /run/application.jar | |
ENTRYPOINT java -jar run/application.jar -D exec.mainClass="apodrating.MainKt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manifest-Version: 1.0 | |
Created-By: Apache Maven 3.5.3 | |
Built-By: janweinschenker | |
Build-Jdk: 11.0.2 | |
Class-Path: dependency-jars/vertx-lang-kotlin-3.6.3.jar dependency-jars/ | |
vertx-core-3.6.3.jar dependency-jars/netty-common-4.1.30.Final.jar depe | |
ndency-jars/netty-buffer-4.1.30.Final.jar dependency-jars/netty-transpo | |
rt-4.1.30.Final.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<configuration> | |
<finalName>application</finalName> | |
<archive> | |
<manifest> | |
<addClasspath>true</addClasspath> | |
<mainClass>apodrating.MainKt</mainClass> | |
<classpathPrefix>dependency-jars/</classpathPrefix> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> |