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

Maven runtime dependency is on the compile scope #4273

Merged
merged 7 commits into from
Jun 20, 2024

Conversation

BoykoAlex
Copy link
Contributor

A simple runtime dependency is on the compile scope in the ResolutionResult. A simple unit test is included

If the fix should go in Scope.isInClasspathOf(Scope) we can try that.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@timtebeek
Copy link
Contributor

Looks good to me! Great to see you come back with a swath of fixes across the board that must not have been easy to clue together. Know that it's very much appreciated, and I'll see them through. Hope that helps resolve a number of puzzling transitive dependency issues.

I'll ping @sambsnyd for an async check after the merge, as he recently resurfaced from this change a few lines down, so he'd be interested to see this fix too with the context he's gained over the past week.

@timtebeek timtebeek merged commit 22ac272 into openrewrite:main Jun 20, 2024
2 checks passed
@timtebeek timtebeek added the bug Something isn't working label Jun 20, 2024
crankydillo pushed a commit to crankydillo/rewrite that referenced this pull request Jul 11, 2024
* Runtime dependency becomes compile scope dependency issue fix

* Polish

* Polish

* Polish text block in unit test

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove duplicate closing `</project>` tag from test

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tim te Beek <tim@moderne.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants