Skip to content

fix: Support maven extensions like Tycho adding system-scoped dependencies without a systemPath#5366

Merged
jeremylong merged 3 commits intomainfrom
issue-4969
Jan 26, 2023
Merged

fix: Support maven extensions like Tycho adding system-scoped dependencies without a systemPath#5366
jeremylong merged 3 commits intomainfrom
issue-4969

Conversation

@aikebah
Copy link
Copy Markdown
Collaborator

@aikebah aikebah commented Jan 22, 2023

Fixes Issue #4969

Description of Change

When regular system-scoped dependencies don't yield a resolved system-scoped artifact attempt resolving the dependencies to make maven extension hook into the artifact resolution and provide us with the appropriate dependencies.

Have test cases been added to cover the new functionality?

No, adding an integrationtest with Tycho pomless 2.7.5. would require the build to run on JDK 11 or later, the updated Tycho 3 version would require JDK17 or later.
Manually verified that the scan runs to completion with the reproduction sample referred to in issue #4969 (both original Tycho 2.7.5 and the updated Tycho 3.0.0 versions)

@boring-cyborg boring-cyborg Bot added the maven changes to the maven plugin label Jan 22, 2023
@aikebah aikebah marked this pull request as ready for review January 23, 2023 10:58
@aikebah aikebah requested a review from jeremylong January 23, 2023 10:58
Copy link
Copy Markdown
Collaborator

@jeremylong jeremylong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeremylong
Copy link
Copy Markdown
Collaborator

Any chance we can add project using Tycho to the maven/src/it tests? I'm fine if no - the changes look fine.

@aikebah
Copy link
Copy Markdown
Collaborator Author

aikebah commented Jan 26, 2023

Any chance we can add project using Tycho to the maven/src/it tests? I'm fine if no - the changes look fine.

Only if you know a way to trigger running it on Java 11 or 17 instead of Java 8

@jeremylong jeremylong merged commit ef93655 into main Jan 26, 2023
@jeremylong
Copy link
Copy Markdown
Collaborator

good enough - thanks!

@jeremylong jeremylong deleted the issue-4969 branch January 26, 2023 23:33
@jeremylong jeremylong added this to the 8.0.2 milestone Jan 26, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

maven changes to the maven plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants