Skip to content

Add Eclipse release compatibility matrix CI with parameterized Tycho target platform resolution#11

Merged
unknowIfGuestInDream merged 2 commits intomasterfrom
copilot/add-eclipse-version-compatibility-ci-workflow
Apr 22, 2026
Merged

Add Eclipse release compatibility matrix CI with parameterized Tycho target platform resolution#11
unknowIfGuestInDream merged 2 commits intomasterfrom
copilot/add-eclipse-version-compatibility-ci-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

This PR adds a compatibility workflow to compile the plugin against Eclipse releases 2024-06 through 2026-03 without source edits per target. It also parameterizes Tycho target-platform resolution so CI can switch target files and EE-constraint behavior by matrix entry.

  • CI: Eclipse compatibility matrix

    • Added .github/workflows/compatibility.yml with a Windows matrix over:
      • 2024-06, 2024-09, 2024-12, 2025-03, 2025-06, 2025-09, 2025-12, 2026-03
    • Maven invocation is property-driven and quoted (PowerShell-safe):
      • -Dtarget.platform.file=targets/<version>.target
      • -Dtarget.resolve.with.ee.constraints=<true|false>
    • EE constraints are enabled for 2024-* and disabled for 2025-03+ to allow resolution of JavaSE-21 IUs during compatibility checks.
  • Build config: Tycho target parameterization

    • Updated root pom.xml:
      • Added target.platform.file (default: target-platform.target)
      • Added target.resolve.with.ee.constraints (default: true)
      • Wired both into target-platform-configuration:
        • <file>../../${target.platform.file}</file>
        • <resolveWithExecutionEnvironmentConstraints>...</resolveWithExecutionEnvironmentConstraints>
  • Target platform definitions

    • Added targets/ with 8 versioned target files:
      • 2024-06.target, 2024-09.target, 2024-12.target, 2025-03.target, 2025-06.target, 2025-09.target, 2025-12.target, 2026-03.target
    • Each target points to https://mirrors.aliyun.com/eclipse/releases/<version>/ and keeps dependency units aligned with current project target usage.
  • Baseline target indirection

    • Updated target-platform.target to reference targets/2024-06.target via type="Target" so baseline contents live in one canonical target file.
run: mvn -B clean verify -ntp "-Dtarget.platform.file=targets/${{ matrix.target }}.target" "-Dtarget.resolve.with.ee.constraints=${{ startsWith(matrix.target, '2024-') && 'true' || 'false' }}"

Agent-Logs-Url: https://github.com/tlcsdm/eclipse-multicursor/sessions/6a05766a-ce96-45be-a586-eb1546b458fb

Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com>
Copilot AI changed the title [WIP] Add CI workflow for Eclipse version compatibility Add Eclipse release compatibility matrix CI with parameterized Tycho target platform resolution Apr 22, 2026
Comment thread .github/workflows/compatibility.yml Dismissed
@unknowIfGuestInDream unknowIfGuestInDream merged commit 0d3dda7 into master Apr 22, 2026
20 checks passed
@unknowIfGuestInDream unknowIfGuestInDream deleted the copilot/add-eclipse-version-compatibility-ci-workflow branch April 22, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add Eclipse version compatibility CI workflow

3 participants