Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Add two Jars to Docker (Spring-Boot + Converters) #102
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Feb 22, 2020
1 parent dc546a5 commit 18111b8
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
<artifactId>dukecon-server-springboot</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.dukecon</groupId>
<artifactId>dukecon-server-converters</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<profiles>
Expand Down Expand Up @@ -60,7 +65,7 @@
<cmd>
<shell>java -Djava.security.egd=file:/dev/./urandom \
${JAVA_DEFAULT_OPTS} ${JAVA_OPTS} \
-jar /opt/dukecon/dukecon.jar \
-jar /opt/dukecon/dukecon-server-springboot.jar \
${DUKECON_ARGS}
</shell>
</cmd>
Expand All @@ -85,7 +90,14 @@
<include>org.dukecon:dukecon-server-springboot</include>
</includes>
<outputDirectory>.</outputDirectory>
<outputFileNameMapping>dukecon.jar</outputFileNameMapping>
<outputFileNameMapping>dukecon-server-springboot.jar</outputFileNameMapping>
</dependencySet>
<dependencySet>
<includes>
<include>org.dukecon:dukecon-server-converters</include>
</includes>
<outputDirectory>.</outputDirectory>
<outputFileNameMapping>dukecon-server-converters.jar</outputFileNameMapping>
</dependencySet>
</dependencySets>
</inline>
Expand Down

0 comments on commit 18111b8

Please sign in to comment.