Skip to content

build: add tycho-build extension for OSGi-aware reactor expansion#1348

Merged
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:build/tycho-build-extension
May 19, 2026
Merged

build: add tycho-build extension for OSGi-aware reactor expansion#1348
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:build/tycho-build-extension

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

@joaodinissf joaodinissf commented May 18, 2026

What

Adds tycho-build as a Maven core extension so mvn -pl :<module> -am walks Tycho's Require-Bundle graph when computing the reactor. Without it, -am only sees Maven <dependency> blocks, which are nearly empty in this codebase.

Usage

mvn -pl :ddk-target,:<module> -am -DskipTests clean verify

(:ddk-target always required — target-platform references aren't part of the Maven dep graph.)

mvnd

Incompatible — DependencyGraph ClassCastException across ClassRealms. Tracked in eclipse-tycho/tycho#266. Use plain mvn for -am.

@joaodinissf joaodinissf requested a review from rubenporras May 18, 2026 16:22
@joaodinissf joaodinissf marked this pull request as ready for review May 18, 2026 16:22
@joaodinissf joaodinissf enabled auto-merge (rebase) May 18, 2026 16:22
Register tycho-build as a Maven core extension so `mvn -pl :<module> -am`
walks Require-Bundle / Import-Package when computing the reactor —
without it, only Maven <dependency> blocks are considered.

Version pinned via .mvn/maven.config to track ddk-parent's tycho.version.

Incompatible with mvnd; use plain mvn for -am.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@joaodinissf joaodinissf merged commit 5efde17 into dsldevkit:master May 19, 2026
4 checks passed
@joaodinissf joaodinissf deleted the build/tycho-build-extension branch May 19, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants