Skip to content

Commit

Permalink
Update pom.xml with new plugin, setting (#15590)
Browse files Browse the repository at this point in the history
* update pom.xml with new plugin, setting

* update workflow
  • Loading branch information
wing328 committed May 21, 2023
1 parent 5018d3c commit 5e800d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/check-supported-versions.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: Check Supported Java Versions
name: Linux tests

on:
push:
branches:
- master
- '[5-9]+.[0-9]+.x'
pull_request:
branches:
- master
- '[5-9]+.[0-9]+.x'

jobs:
build:
Expand All @@ -12,13 +18,6 @@ jobs:
matrix:
java: [11, 17]
os: [ubuntu-latest]
include:
- java: 11
os: windows-latest
- java: 17
os: ubuntu-latest
# Need to update to Gradle version with v17 support in modules/openapi-generator-gradle-plugin/pom.xml
flags: -am -pl modules/openapi-generator-cli -Dmaven.javadoc.skip=true -Dmaven.test.skip=true
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down Expand Up @@ -47,7 +46,7 @@ jobs:
- name: Build with Maven
shell: bash
run: mvn -nsu -B --quiet -Djacoco.skip=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress clean install --file pom.xml ${{ matrix.flags }}
run: mvn -nsu -B --quiet -Djacoco.skip=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress clean install --file pom.xml
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}

Expand Down Expand Up @@ -78,9 +77,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
# include:
# - os: windows-latest
# flags: --skip-docs
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<version>3.0.0</version>
<executions>
<execution>
<id>enforce-versions</id>
Expand All @@ -294,7 +294,7 @@
<configuration>
<rules>
<requireJavaVersion>
<version>1.8.0</version>
<version>1.11.0</version>
</requireJavaVersion>
<requireMavenVersion>
<version>3.2.5</version>
Expand All @@ -314,7 +314,7 @@
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<version>2.6</version>
<version>3.5.1</version>
<configuration>
<bundledSignatures>
<!--
Expand Down

0 comments on commit 5e800d9

Please sign in to comment.