Skip to content

Commit e038045

Browse files
[Build] Fix build plugin version warnings and build with Maven 3.9.9
In the most recent versions of Maven these warnings are now errors
1 parent 541b941 commit e038045

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/buildAndTest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
with:
2828
java-version: 17
2929
distribution: temurin
30+
- name: Set up Maven
31+
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
32+
with:
33+
maven-version: 3.9.9
3034
- name: Cache Maven packages
3135
uses: actions/cache@v4
3236
with:

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@
164164
<plugin>
165165
<groupId>org.apache.maven.plugins</groupId>
166166
<artifactId>maven-gpg-plugin</artifactId>
167-
<version>3.1.0</version>
168167
<executions>
169168
<execution>
170169
<id>sign-artifacts</id>
@@ -412,7 +411,7 @@
412411
<plugin>
413412
<groupId>org.apache.maven.plugins</groupId>
414413
<artifactId>maven-javadoc-plugin</artifactId>
415-
<version>3.5.0</version>
414+
<version>3.8.0</version>
416415
<configuration>
417416
<source>8</source>
418417
<tags>
@@ -470,6 +469,19 @@
470469
<!-- the following definitions just register setups of plug-ins, their execution is enable elsewhere -->
471470
<pluginManagement>
472471
<plugins>
472+
473+
<plugin>
474+
<groupId>org.apache.maven.plugins</groupId>
475+
<artifactId>maven-deploy-plugin</artifactId>
476+
<version>3.1.2</version>
477+
</plugin>
478+
479+
<plugin>
480+
<groupId>org.apache.maven.plugins</groupId>
481+
<artifactId>maven-gpg-plugin</artifactId>
482+
<version>3.2.4</version>
483+
</plugin>
484+
473485
<plugin>
474486
<!-- configuration of the source feature generation, is activated in features/pom -->
475487
<groupId>org.eclipse.tycho.extras</groupId>

0 commit comments

Comments
 (0)