Bump compiler plugin (#3313)

* Bump compiler plugin

* Bump jpaserver fhir test server version

* Bump container for maven
This commit is contained in:
Tadgh 2022-01-19 07:09:21 -08:00 committed by GitHub
parent cc2ca9e491
commit 0f0bf85f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 10 deletions

View File

@ -192,14 +192,8 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<!-- <source>11</source>
This project is built to 1.8 since our public <target>11</target>
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>
</configuration> </configuration>
</plugin> </plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings <!--This plugin's configuration is used to store Eclipse m2e settings

View File

@ -2031,8 +2031,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<source>1.8</source> <source>11</source>
<target>1.8</target> <target>11</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
<fork>true</fork> <fork>true</fork>

View File

@ -15,6 +15,7 @@ variables:
- group: GPG_VARIABLE_GROUP - group: GPG_VARIABLE_GROUP
- group: SONATYPE_VARIABLE_GROUP - group: SONATYPE_VARIABLE_GROUP
container: maven:3.8-openjdk-17
steps: steps:
# We need a valid signing key to sign our builds for deployment to sonatype. We have uploaded # We need a valid signing key to sign our builds for deployment to sonatype. We have uploaded
@ -81,6 +82,8 @@ steps:
# 5. Deploy SNAPSHOT build to sonatype # 5. Deploy SNAPSHOT build to sonatype
- task: Maven@3 - task: Maven@3
env:
JAVA_HOME_11_X64: /usr/java/openjdk-17
displayName: 'Deploy to Sonatype staging' displayName: 'Deploy to Sonatype staging'
inputs: inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml' mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'