Skip to content

Conversation

darylrobbins
Copy link
Contributor

What's changed?

  • jakarta.xml.ws-api contains packages javax.jws and javax.xml.ws, so we need to add the dependency when either is in use.
  • Fixed and re-enabled AddJaxwsDependenciesTest by correcting the after specs to line up with expected results

What's your motivation?

Running the Java 11 migration against my code base resulted in jakarta.xml.ws-api not being added to some projects that only used classes in javax.xml.ws

Anything in particular you'd like reviewers to focus on?

Validate the revised expected results for AddJaxwsDependenciesTest line up with expectations

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

darylrobbins and others added 3 commits April 20, 2024 15:13
- jakarta.xml.ws-api contains packages javax.jws and javax.xml.ws, so we need to add the dependency when either is in use.
- Fixed and re-enabled AddJaxwsDependenciesTest by correcting the after specs to line up with expected results
Copy link
Member

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

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

Great to see you worked out what was troubling this test such that we can add these missing dependencies once more.

@timtebeek timtebeek added bug Something isn't working enhancement New feature or request labels Apr 20, 2024
@timtebeek timtebeek merged commit 7b936c0 into openrewrite:main Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants