Skip to content

Commit

Permalink
Various upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Apr 16, 2024
1 parent 52bbdca commit 9e1f5b2
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 24 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'zulu'
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@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
#


name: Pull request with Maven

on: [pull_request]
Expand All @@ -22,15 +23,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'zulu'
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@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
76 changes: 58 additions & 18 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.soap</groupId>
Expand Down Expand Up @@ -76,17 +76,17 @@
</mailingLists>

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

<cxf.version>3.5.5</cxf.version>
<spring.version>5.3.24</spring.version>
<cxf.version>3.5.8</cxf.version>
<spring.version>5.3.34</spring.version>

<hsqldb.version>2.7.1</hsqldb.version>
<hsqldb.version>2.7.2</hsqldb.version>
<dbunit.version>2.7.3</dbunit.version>

<logback.version>1.2.11</logback.version>
<logback.version>1.2.13</logback.version>

<junit.version>5.9.1</junit.version>
<junit.version>5.10.2</junit.version>

<targetJdk>11</targetJdk>
<rootpom.basedir>${basedir}</rootpom.basedir>
Expand Down Expand Up @@ -222,7 +222,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.13.0</version>
<configuration>
<release>${targetJdk}</release>
<useIncrementalCompilation>false</useIncrementalCompilation>
Expand All @@ -235,26 +235,24 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.0</version>
<version>3.4.0</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<version>3.2.5</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<encoding>utf-8</encoding>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
<version>3.2.5</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<encoding>utf-8</encoding>
<runOrder>alphabetical</runOrder>
</configuration>
<executions>
Expand All @@ -270,7 +268,7 @@
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.4.45.v20220203</version>
<version>9.4.54.v20240208</version>
</plugin>
</plugins>
</pluginManagement>
Expand All @@ -288,7 +286,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 @@ -328,11 +326,53 @@
</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-resources-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-artifact-legal-files</id>
Expand Down Expand Up @@ -405,7 +445,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down

0 comments on commit 9e1f5b2

Please sign in to comment.