Skip to content

Test for getDependency variations #520

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

Merged
merged 3 commits into from
Nov 3, 2022
Merged

Conversation

fabapp2
Copy link
Contributor

@fabapp2 fabapp2 commented Nov 3, 2022

PR #492 surfaced some issues with the getDependencies variations in OpenRewriteMavenBuildFile.
This PR adds tests and fixes the surfaced issues with these methods.
Also, the TestProjectContext now offers a method to create the ProjectContext from a given directory to ease testing of setups with multiple potentially larger files (as the ear example project).
Additionally, the PomBuilder helper class was enhanced to allow building more complete pom files.

@tan9 Could you try to see if things still/now work for you with this PR?

@fabapp2 fabapp2 self-assigned this Nov 3, 2022
@fabapp2 fabapp2 added type: enhancement New feature or request type: test labels Nov 3, 2022
@fabapp2 fabapp2 added this to the v0.13.0 milestone Nov 3, 2022
@fabapp2 fabapp2 changed the title Test for get dependency variations Test for getDependency variations Nov 3, 2022
- Missing test for getEffectiveDependencies
- Missing test for getDeclaredDependencies
- Add method to create ProjectContext from files
@fabapp2 fabapp2 force-pushed the test-for-getDependency-variations branch from 31245fc to b35853f Compare November 3, 2022 10:13
@fabapp2 fabapp2 merged commit e717d61 into main Nov 3, 2022
@fabapp2 fabapp2 deleted the test-for-getDependency-variations branch November 3, 2022 11:08
@fabapp2 fabapp2 linked an issue Nov 3, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request type: test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with dependency resolution in a multi-module JEE ear project
1 participant