Skip to content

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

Merged
unknowIfGuestInDream merged 4 commits into
masterfrom
copilot/add-eclipse-compatibility-ci-workflow
Apr 22, 2026
Merged

unknowIfGuestInDream merged 4 commits into
masterfrom
copilot/add-eclipse-compatibility-ci-workflow

Conversation

Copilot AI commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR introduces an Eclipse-version compatibility check that builds the plugin against release targets from 2024-06 through 2026-03 without source edits per target. It parameterizes Tycho target selection and EE-constraint behavior so one codebase can be validated across older and newer Eclipse trains.

  • Target platform matrix support

    • Added targets/ with 8 release-specific target files:
      • 2024-06, 2024-09, 2024-12, 2025-03, 2025-06, 2025-09, 2025-12, 2026-03
    • Each target keeps the same IU set as current baseline, only varying the release repository URL.
  • Baseline target indirection

    • Updated target-platform.target to delegate to targets/2024-06.target via nested target reference.
    • Keeps baseline in one place while enabling matrix overrides.
  • Maven/Tycho parameterization

    • Added root pom.xml properties:
      • target.platform.file (default: target-platform.target)
      • target.resolve.with.ee.constraints (default: true)
    • Wired into target-platform-configuration:
      • dynamic target file path
      • configurable resolveWithExecutionEnvironmentConstraints
  • New CI workflow

    • Added .github/workflows/compatibility.yml:
      • Windows matrix build for the 8 Eclipse targets
      • Maven invocation with quoted -D... args (PowerShell-safe)
      • Per-target EE constraints:
        • true for 2024-*
        • false for 2025-03+ (to allow resolving JavaSE-21 IUs during compatibility checks)
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-minimap/sessions/76e530e9-cece-4607-b4a4-d45b1f5df5b6

Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com>
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>
Copilot AI changed the title [WIP] Add CI workflow for Eclipse version compatibility Add Eclipse release-matrix compatibility CI with parameterized Tycho target platform resolution Apr 22, 2026
Signed-off-by: 梦里不知身是客 <liang.tang.cx@gmail.com>
@unknowIfGuestInDream
unknowIfGuestInDream merged commit f6bb3ba into master Apr 22, 2026
17 checks passed
@unknowIfGuestInDream
unknowIfGuestInDream deleted the copilot/add-eclipse-compatibility-ci-workflow branch April 22, 2026 13:32
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

2 participants