Skip to content

Commit

Permalink
java 17 compatible version upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekmittal07 committed Apr 24, 2023
1 parent 58c8e1c commit 1de36b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Image for building and running tests against the source code of
# the FHIR Access Proxy.
FROM maven:3.8.5-openjdk-11 as build
FROM maven:3.8.7-eclipse-temurin-17-focal as build

RUN apt-get update && apt-get install -y nodejs npm
RUN npm cache clean -f && npm install -g n && n stable
Expand All @@ -38,7 +38,7 @@ RUN mvn --batch-mode package -Pstandalone-app -Dlicense.skip=true


# Image for FHIR Access Proxy binary with configuration knobs as environment vars.
FROM eclipse-temurin:11-jdk-focal as main
FROM eclipse-temurin:17-jdk-focal as main

COPY --from=build /app/exec/target/exec-0.1.1.jar /
COPY resources/hapi_page_url_allowed_queries.json resources/hapi_page_url_allowed_queries.json
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spotless.version>2.32.0</spotless.version>
<root.basedir>${project.basedir}</root.basedir>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<!-- Check this for why we are not using a higher version for now:
https://www.slf4j.org/codes.html#StaticLoggerBinder
The root cause is that we are using an older version of Spring. -->
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.11</logback.version>
<slf4j.version>2.0.7</slf4j.version>
<logback.version>1.4.6</logback.version>
<license-maven-plugin.version>4.1</license-maven-plugin.version>
</properties>

Expand Down Expand Up @@ -255,7 +255,7 @@

<!-- apply a specific flavor of google-java-format and reflow long strings -->
<googleJavaFormat>
<version>1.8</version>
<version>1.15.0</version>
<style>GOOGLE</style>
<reflowLongStrings>true</reflowLongStrings>
</googleJavaFormat>
Expand Down

0 comments on commit 1de36b8

Please sign in to comment.