From b7e1b9c07612be915663b653cd6ef0d315dfb58a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:04:02 +0000 Subject: [PATCH 1/4] Initial plan From 27f110877611a666d77c8d435f433852248e74ed Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:37:22 +0000 Subject: [PATCH 2/4] Add Eclipse version compatibility target matrix workflow Agent-Logs-Url: https://github.com/tlcsdm/eclipse-minimap/sessions/76e530e9-cece-4607-b4a4-d45b1f5df5b6 Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com> --- .github/workflows/compatibility.yml | 49 +++++++++++++++++++++++++++++ pom.xml | 5 ++- target-platform.target | 8 ++--- targets/2024-06.target | 11 +++++++ targets/2024-09.target | 11 +++++++ targets/2024-12.target | 11 +++++++ targets/2025-03.target | 11 +++++++ targets/2025-06.target | 11 +++++++ targets/2025-09.target | 11 +++++++ targets/2025-12.target | 11 +++++++ targets/2026-03.target | 11 +++++++ 11 files changed, 143 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/compatibility.yml create mode 100644 targets/2024-06.target create mode 100644 targets/2024-09.target create mode 100644 targets/2024-12.target create mode 100644 targets/2025-03.target create mode 100644 targets/2025-06.target create mode 100644 targets/2025-09.target create mode 100644 targets/2025-12.target create mode 100644 targets/2026-03.target diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml new file mode 100644 index 0000000..efeedff --- /dev/null +++ b/.github/workflows/compatibility.yml @@ -0,0 +1,49 @@ +name: Eclipse Version Compatibility + +on: + pull_request: + branches: [ master ] + paths-ignore: + - '**/*.md' + - 'LICENSE' + - '.gitignore' + - '.gitattributes' + - '.github/**' + workflow_dispatch: + +permissions: + contents: read + +jobs: + compatibility: + strategy: + fail-fast: false + matrix: + target: + - 2024-06 + - 2024-09 + - 2024-12 + - 2025-03 + - 2025-06 + - 2025-09 + - 2025-12 + - 2026-03 + runs-on: windows-latest + name: Eclipse ${{ matrix.target }} + + steps: + - uses: actions/checkout@v6 + - name: Set up JDK 21 + uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '21' + cache: 'maven' + - name: Set up Maven + uses: stCarolas/setup-maven@v5 + with: + maven-version: '3.9.9' + - name: Build with Maven against Eclipse ${{ matrix.target }} + # Plugin is currently JavaSE-17, so 2025-03+ targets (with JavaSE-21 IUs) disable EE constraints here. + # If the plugin baseline is upgraded to JavaSE-21, this split can be removed and EE constraints can stay enabled. + run: mvn -B clean verify -ntp "-Dtarget.platform.file=targets/${{ matrix.target }}.target" "-Dtarget.resolve.with.ee.constraints=${{ startsWith(matrix.target, '2024-') && 'true' || 'false' }}" diff --git a/pom.xml b/pom.xml index b07f62a..ca90fda 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,8 @@ UTF-8 + target-platform.target + true @@ -41,8 +43,9 @@ ${tycho.version} - ../../target-platform.target + ../../${target.platform.file} + ${target.resolve.with.ee.constraints} diff --git a/target-platform.target b/target-platform.target index 0c008c0..1eb0653 100644 --- a/target-platform.target +++ b/target-platform.target @@ -2,10 +2,6 @@ - - - - - + - \ No newline at end of file + diff --git a/targets/2024-06.target b/targets/2024-06.target new file mode 100644 index 0000000..7cb6980 --- /dev/null +++ b/targets/2024-06.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2024-09.target b/targets/2024-09.target new file mode 100644 index 0000000..ab1a856 --- /dev/null +++ b/targets/2024-09.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2024-12.target b/targets/2024-12.target new file mode 100644 index 0000000..334d670 --- /dev/null +++ b/targets/2024-12.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-03.target b/targets/2025-03.target new file mode 100644 index 0000000..4add45f --- /dev/null +++ b/targets/2025-03.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-06.target b/targets/2025-06.target new file mode 100644 index 0000000..e4cc537 --- /dev/null +++ b/targets/2025-06.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-09.target b/targets/2025-09.target new file mode 100644 index 0000000..d5c2ccb --- /dev/null +++ b/targets/2025-09.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2025-12.target b/targets/2025-12.target new file mode 100644 index 0000000..600dfc2 --- /dev/null +++ b/targets/2025-12.target @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/targets/2026-03.target b/targets/2026-03.target new file mode 100644 index 0000000..dab281c --- /dev/null +++ b/targets/2026-03.target @@ -0,0 +1,11 @@ + + + + + + + + + + + From 69143974ab4b74b80c4c43c57c1ca5d929cd2ae2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:38:16 +0000 Subject: [PATCH 3/4] Allow compatibility workflow changes to trigger PR checks Agent-Logs-Url: https://github.com/tlcsdm/eclipse-minimap/sessions/76e530e9-cece-4607-b4a4-d45b1f5df5b6 Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com> --- .github/workflows/compatibility.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index efeedff..4b8afa0 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -8,7 +8,6 @@ on: - 'LICENSE' - '.gitignore' - '.gitattributes' - - '.github/**' workflow_dispatch: permissions: From c4f29f2cdc09e8a765c8db391f4592c0a1879ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E9=87=8C=E4=B8=8D=E7=9F=A5=E8=BA=AB=E6=98=AF?= =?UTF-8?q?=E5=AE=A2?= Date: Wed, 22 Apr 2026 19:42:09 +0800 Subject: [PATCH 4/4] ci: Add .github directory to workflow file patterns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 梦里不知身是客 --- .github/workflows/compatibility.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 4b8afa0..efeedff 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -8,6 +8,7 @@ on: - 'LICENSE' - '.gitignore' - '.gitattributes' + - '.github/**' workflow_dispatch: permissions: