From a6092ab26bfc0cd5610b91e88f4d7e09fee6886f Mon Sep 17 00:00:00 2001
From: Mirco Nasuti <mirco.nasuti@chuv.ch>
Date: Mon, 8 May 2017 14:44:52 +0200
Subject: [PATCH] fix building process

---
 Dockerfile | 2 +-
 pom.xml    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 65956c786..859476516 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@ RUN apk add --no-cache --update ca-certificates wget \
 COPY docker/runner/config/application.tmpl /config/application.tmpl
 COPY docker/runner/README.md docker/runner/run.sh /
 
-COPY target/portal-backend-$VERSION.jar backend.jar
+COPY target/portal-backend.jar backend.jar
 
 EXPOSE 8080
 
diff --git a/pom.xml b/pom.xml
index c0b8c2f94..ef74dc850 100644
--- a/pom.xml
+++ b/pom.xml
@@ -242,6 +242,7 @@
     </pluginRepositories>
 
     <build>
+        <finalName>portal-backend</finalName>
         <resources>
             <resource>
                 <directory>src/main/resources</directory>
-- 
GitLab