Updated jar archive name in pom.xml

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-11-07 12:09:23 +01:00
parent dcda959c9e
commit 34e91dcc0d
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM openjdk:latest
COPY . /usr/src/RedditReposterBot/
COPY ./target/RedditReposterBot.jar /usr/src/RedditReposterBot/
WORKDIR /usr/src/RedditReposterBot/
CMD [ "java", "-jar", "RedditReposterBot-full.jar" ]
CMD [ "java", "-jar", "RedditReposterBot.jar" ]

View File

@ -26,6 +26,8 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>RedditReposterBot</finalName>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<addClasspath>true</addClasspath>