-
Notifications
You must be signed in to change notification settings - Fork 354
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
Conversation
rewrite-maven/src/test/java/org/openrewrite/maven/MavenParserTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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. |
* 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>
A simple runtime dependency is on the compile scope in the
ResolutionResult
. A simple unit test is includedIf the fix should go in
Scope.isInClasspathOf(Scope)
we can try that.