From f76f6628988378a4d2c221cb505d447700e447b9 Mon Sep 17 00:00:00 2001 From: haider Date: Tue, 30 Apr 2024 15:24:21 +0100 Subject: [PATCH] Hardcode spring jar --- Dockerfile | 2 +- ols-client/pom.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 98760a85..878b3229 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN mvn install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=/opt/z #RUN mvn install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=/opt/zooma_github/ols-client/lib/jackson-annotations-2.7.0.jar -DgroupId=com.fasterxml.jackson.core -DartifactId=jackson-annotations -Dversion=2.7.0 RUN mvn install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=/opt/zooma_github/ols-client/lib/jcl-over-slf4j-1.7.5.jar -DgroupId=org.slf4j -DartifactId=jcl-over-slf4j -Dversion=1.7.5 RUN mvn install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=/opt/zooma_github/ols-client/lib/slf4j-api-1.7.5.jar -DgroupId=org.slf4j -DartifactId=slf4j-api -Dversion=1.7.5 -RUN mvn install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=/opt/zooma_github/ols-client/lib/spring-web-4.1.2.RELEASE.jar -DgroupId=org.springframework -DartifactId=spring-web -Dversion=4.1.2.RELEASE +#RUN mvn install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=/opt/zooma_github/ols-client/lib/spring-web-4.1.2.RELEASE.jar -DgroupId=org.springframework -DartifactId=spring-web -Dversion=4.1.2.RELEASE RUN cd /opt/zooma_github && mvn clean package RUN mkdir /opt/tmp && unzip /opt/zooma_github/zooma-builder-app/target/zooma-builder.zip -d /opt/tmp diff --git a/ols-client/pom.xml b/ols-client/pom.xml index 64800d25..1ae54e09 100644 --- a/ols-client/pom.xml +++ b/ols-client/pom.xml @@ -36,6 +36,8 @@ spring-web ${org.springframework.version} + system + /opt/zooma_github/ols-client/lib/spring-web-4.1.2.RELEASE.jar org.springframework