annotation web pom fixes

This commit is contained in:
Alexandros Mandilaras 2024-02-20 16:54:16 +02:00
parent 26eb185ce9
commit 6e1f1d110a
2 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,6 @@ FROM eclipse-temurin:21-jre-ubi9-minimal
ARG PROFILE ARG PROFILE
ARG REVISION ARG REVISION
COPY --from=build-stage /build/annotation-web/target/annotation-web.jar /app/annotation-web.jar COPY --from=build-stage /build/annotation-web/target/annotation-web-${REVISION}.jar /app/annotation-web.jar
ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/annotation-web.jar"] ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/annotation-web.jar"]

View File

@ -7,17 +7,19 @@
<parent> <parent>
<groupId>gr.cite</groupId> <groupId>gr.cite</groupId>
<artifactId>annotation-service-parent</artifactId> <artifactId>annotation-service-parent</artifactId>
<version>1.0.0</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>annotation-web</artifactId> <artifactId>annotation-web</artifactId>
<version>${revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<maven.compiler.release>21</maven.compiler.release> <maven.compiler.release>21</maven.compiler.release>
<maven.compiler.source>21</maven.compiler.source> <maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target> <maven.compiler.target>21</maven.compiler.target>
<revision>1.0.0-SNAPSHOT</revision>
</properties> </properties>
<dependencies> <dependencies>