Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jan 26, 2023

Conversation

aikebah
Copy link
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
Copy link
Owner

@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
Owner

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
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
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maven changes to the maven plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants