You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v4 SPI: Add findModel() to WorkspaceReader SPI #13515
PR #13094 introduces org.apache.maven.api.spi.WorkspaceReader with findArtifact()
and findVersions(). This covers the base WorkspaceReader contract, but the v3 MavenWorkspaceReader interface also provides findModel(Artifact) — which has no
equivalent in the new SPI.
Who needs this
Tycho: TychoWorkspaceReader generates synthetic POMs for P2 artifacts that have
no Maven pom.xml. Without findModel(), the workspace reader can serve artifact files
but not their models, breaking Tycho's ability to present P2/OSGi bundles as Maven
dependencies.
What's needed
Add a findModel() method (or equivalent model-provision mechanism) to the v4 WorkspaceReader SPI for extensions that resolve non-Maven artifacts requiring
synthetic model generation.
"Hi @gnondet, I'd love to help out with this or provide additional test coverage/implementation if it's still open. Is there anything specific needed here?" This prevents duplicated effort.
Activity
test: add findModel() integration test coverage for SpiWorkspaceReade…
codewithsinchana commentedon Oct 27, 2026
"Hi @gnondet, I'd love to help out with this or provide additional test coverage/implementation if it's still open. Is there anything specific needed here?" This prevents duplicated effort.
feat: Add WorkspaceReader SPI to maven-api-spi