Skip to content

Commit

Permalink
Bump compiler plugin (#3313)
Browse files Browse the repository at this point in the history
* Bump compiler plugin

* Bump jpaserver fhir test server version

* Bump container for maven
  • Loading branch information
tadgh committed Jan 19, 2022
1 parent cc2ca9e commit 0f0bf85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
10 changes: 2 additions & 8 deletions hapi-fhir-jpaserver-uhnfhirtest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!--
This project is built to 1.8 since our public
server runs on a 1.8 JDK. If you are using this
project as a basis for your own work, you could
probably safely reduce this if needed
-->
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2031,8 +2031,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<encoding>UTF-8</encoding>
<fork>true</fork>
Expand Down
3 changes: 3 additions & 0 deletions snapshot-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variables:
- group: GPG_VARIABLE_GROUP
- group: SONATYPE_VARIABLE_GROUP

container: maven:3.8-openjdk-17
steps:

# We need a valid signing key to sign our builds for deployment to sonatype. We have uploaded
Expand Down Expand Up @@ -81,6 +82,8 @@ steps:

# 5. Deploy SNAPSHOT build to sonatype
- task: Maven@3
env:
JAVA_HOME_11_X64: /usr/java/openjdk-17
displayName: 'Deploy to Sonatype staging'
inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
Expand Down

0 comments on commit 0f0bf85

Please sign in to comment.