Skip to content

Commit 20c34e1

Browse files
committed
Bump tycho from 2.7.4 to 3.0.0
Use java17 for building
1 parent b539933 commit 20c34e1

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.ci/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ SCRIPT_INCLUDES="log.bash utils.bash setup-secrets.bash openjdk.bash maven.bash
88
source "$(dirname "$0")/inc/fetch_ci_scripts.bash" && fetch_ci_scripts
99

1010
function build() {
11-
pmd_ci_log_group_start "Install OpenJDK 8+11"
11+
pmd_ci_log_group_start "Install OpenJDK 8+17"
1212
pmd_ci_openjdk_install_adoptopenjdk 8
13-
pmd_ci_openjdk_install_adoptopenjdk 11
14-
pmd_ci_openjdk_setdefault 11
13+
pmd_ci_openjdk_install_adoptopenjdk 17
14+
pmd_ci_openjdk_setdefault 17
1515
pmd_ci_log_group_end
1616

1717
echo

.ci/files/toolchains.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
<toolchain>
1818
<type>jdk</type>
1919
<provides>
20-
<version>11</version>
20+
<version>17</version>
2121
<vendor>openjdk</vendor>
22-
<id>JavaSE-11</id>
22+
<id>JavaSE-17</id>
2323
</provides>
2424
<configuration>
25-
<jdkHome>${env.HOME}/openjdk11</jdkHome>
25+
<jdkHome>${env.HOME}/openjdk17</jdkHome>
2626
</configuration>
2727
</toolchain>
2828
</toolchains>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the repository on github and create pull requests. Any contributions are welcome
2020

2121
### Testing the latest version
2222

23-
The plugin builds with Java 11 but also requires Java 8. This is achieved through
23+
The plugin builds with Java 17 but also requires Java 8. This is achieved through
2424
[maven toolchains](https://maven.apache.org/guides/mini/guide-using-toolchains.html).
2525
You can use [toolchains.xml](.ci/files/toolchains.xml) from this repo to
2626
configure your own `toolchains.xml` file.

ReleaseNotes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ This is a minor release.
1313

1414
### New and noteworthy
1515

16+
* Java 17 is required for building now. The plugin still works with older eclipse versions with Java 8.
17+
1618
### Fixed Issues
1719

20+
* [#165](https://github.com/pmd/pmd-eclipse-plugin/pull/165): Bump tycho from 2.7.4 to 3.0.0
21+
1822
### API Changes
1923

2024
### External Contributions

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<java.version>1.7</java.version>
2222
<!-- https://github.com/eclipse/tycho/blob/master/RELEASE_NOTES.md -->
23-
<tycho.version>2.7.4</tycho.version>
23+
<tycho.version>3.0.0</tycho.version>
2424
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2525
<pmd.version>6.50.0</pmd.version>
2626
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>

0 commit comments

Comments
 (0)