-
Notifications
You must be signed in to change notification settings - Fork 392
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
WICKET-7029 Add wicket-migration module #556
WICKET-7029 Add wicket-migration module #556
Conversation
java(""" | ||
package org.apache.wicket.http2.markup.head; | ||
|
||
public class PushHeaderItem { }"""), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a quick stub to ensure the replacement below can access the type without dependency on wicket-http2-core:9.x
wicket-migration/src/test/java/org/apache/wicket/migration/MigrateToWicket10Test.java
Outdated
Show resolved
Hide resolved
Couple comments:
|
There's still some dependency convergence errors; hoping the next OpenRewrite release clears at least a few of those up. Any others can then be fixed through exclusions or dependency management, unless you have other ideas there. Apart from that I don't think there's much holding up this PR from getting merged and maintained with new breaking changes going forward. |
So the bump of the rewrite-recipe-bom helped; now there's only one enforcer rule violation left:
Which version do you suggest we pick & how should we enforce this; dependencyManagement for |
Please rebase to latest master. There was a commit earlier today that updated the dependencies. |
Makes it easier for users to adopt Apache Wicket 10. https://issues.apache.org/jira/browse/WICKET-7029 Migration then comes down to executing a single command: ```shell mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \ -Drewrite.recipeArtifactCoordinates=org.apache.wicket:wicket-migration:LATEST \ -DactiveRecipes=org.apache.wicket.BestPractices ```
c603f19
to
e5c5408
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Big thank you, @timtebeek ! |
Awesome, great to see this made it in! Happy to discuss whenever you need help for further migration steps. :) |
Added an item to the Migration Page |
Makes it easier for users to adopt Apache Wicket 10. https://issues.apache.org/jira/browse/WICKET-7029
Migration then comes down to executing a single command: