Fix usage of Java 17
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -314,6 +314,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
app-dir: 'scenario-task-3'
|
app-dir: 'scenario-task-3'
|
||||||
mvn-build-commands: '-B clean install spring-boot:build-image'
|
mvn-build-commands: '-B clean install spring-boot:build-image'
|
||||||
|
java-version: '17'
|
||||||
artifactory-publish: ${{ inputs.maven-build-only != true }}
|
artifactory-publish: ${{ inputs.maven-build-only != true }}
|
||||||
jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }}
|
jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }}
|
||||||
docker-push: ${{ inputs.maven-build-only != true }}
|
docker-push: ${{ inputs.maven-build-only != true }}
|
||||||
|
|||||||
@@ -124,10 +124,6 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.13.0</version>
|
<version>3.13.0</version>
|
||||||
<configuration>
|
|
||||||
<compilerVersion>17</compilerVersion>
|
|
||||||
<target>17</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user