Skip to content

Commit

Permalink
MODFQMMGR-29: Fix Jenkins build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bvsharp committed Oct 5, 2023
1 parent 30ac064 commit 6c0c5d2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM folioci/alpine-jre-openjdk17:latest

# Install latest patch versions of packages
USER root
RUN apk upgrade --no-cache
USER folio

# Copy your fat jar to the container provide the actual name for your fat jar file for example mod-notes-fat.jar
ENV APP_FILE mod-fqm-manager.jar
# - should be a single jar file
Expand Down
20 changes: 17 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
<mapstruct.version>1.5.2.Final</mapstruct.version>
<lib-fqm-query-processor.version>0.0.1-SNAPSHOT</lib-fqm-query-processor.version>
<coffee-boots.version>4.0.0</coffee-boots.version>
<snakeyaml.version>2.0</snakeyaml.version>

<!-- test dependencies -->
<wiremock.version>2.35.0</wiremock.version>
<wiremock.version>3.2.0</wiremock.version>

<!-- plugins -->
<openapi-generator.version>6.2.1</openapi-generator.version>
Expand All @@ -50,6 +51,7 @@
<argLine/>
</properties>


<dependencies>
<dependency>
<groupId>org.folio</groupId>
Expand Down Expand Up @@ -164,8 +166,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<version>${wiremock.version}</version>
<scope>test</scope>
</dependency>
Expand All @@ -176,6 +178,18 @@
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<!-- Transitive dependency from folio-spring-base. Specifying newer version in order to remove vulnerabilities -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>

Expand Down

0 comments on commit 6c0c5d2

Please sign in to comment.