Skip to content

Commit

Permalink
Modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Apr 16, 2024
1 parent a5db3de commit 9b64f83
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 8 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 8
java-version: 11

- name: Setup Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 8
java-version: 11

- name: Setup Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down
50 changes: 46 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>net.tirasa.connid</groupId>
<artifactId>connid</artifactId>
<version>1.5.1.0</version>
<version>1.5.2.0</version>
</parent>

<groupId>net.tirasa.connid.bundles</groupId>
Expand Down Expand Up @@ -76,7 +76,7 @@
</mailingLists>

<properties>
<connid.version>1.5.1.0</connid.version>
<connid.version>1.5.2.0</connid.version>

<hsqldb.version>2.7.1</hsqldb.version>
<test.source.path>${project.build.directory}/test-source-path</test.source.path>
Expand Down Expand Up @@ -127,7 +127,7 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.13</version>
<version>0.16.1</version>
<configuration>
<excludes>
<exclude>**/nbactions.xml</exclude>
Expand Down Expand Up @@ -167,7 +167,49 @@
</execution>
</executions>
</plugin>


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>${targetJdk}</version>
</requireJavaVersion>
<requireMavenVersion>
<version>3.9.5</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<version>2.8.0</version>
<configuration>
<javaVersion>${targetJdk}</javaVersion>
</configuration>
<executions>
<execution>
<id>modernizer-check</id>
<phase>verify</phase>
<goals>
<goal>modernizer</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 9b64f83

Please sign in to comment.