Skip to content

Commit

Permalink
Hardcode spring jar
Browse files Browse the repository at this point in the history
  • Loading branch information
haideriqbal committed Apr 30, 2024
1 parent 20a1ac3 commit f76f662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions ols-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<artifactId>spring-web</artifactId>
<!-- <version>4.2.5.RELEASE</version>-->
<version>${org.springframework.version}</version>
<scope>system</scope>
<systemPath>/opt/zooma_github/ols-client/lib/spring-web-4.1.2.RELEASE.jar</systemPath>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand Down

0 comments on commit f76f662

Please sign in to comment.