-
Notifications
You must be signed in to change notification settings - Fork 9
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
Invoke OpenRewrite Maven Plugin to execute recipes #20
Conversation
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.
Thanks! Looks good overall, some small cosmetic things and extraction to separate class
...ernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/PluginModernizer.java
Outdated
Show resolved
Hide resolved
...ernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/PluginModernizer.java
Outdated
Show resolved
Hide resolved
...ernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/PluginModernizer.java
Outdated
Show resolved
Hide resolved
plugin-modernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/config/Config.java
Outdated
Show resolved
Hide resolved
...ernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/PluginModernizer.java
Outdated
Show resolved
Hide resolved
...ernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/MavenGoalInvoker.java
Outdated
Show resolved
Hide resolved
Hey @jonesbusy I have refactored the classes accordingly. Also, right now the directory (test-plugins) is hard coded which will be modified later. Thanks for the review comments. |
...ernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/PluginModernizer.java
Show resolved
Hide resolved
@jonesbusy Can you create a general GH discussion to clarify quick questions? |
@sridamul Sure I will. Thanks |
Fixes #20 Add transformation step for POMs using JDK versions older than 8. * Add a call to `ensureMinimalBuild` method in `process` method of `PluginModernizer.java` before `plugin.checkoutBranch`. * Update `ensureMinimalBuild` method in `MavenInvoker.java` to invoke `MINIMAL_BUILD_JAVA_8_RECIPE`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/gounthar/plugin-modernizer-tool/issues/20?shareId=XXXX-XXXX-XXXX-XXXX).
Updates...
first.Iteration.mp4
Note: The error show in the video is due to SSLHandshakeException (I haven't added the certificate in my local env) which doesn't affect the execution of recipes
Manual testing done.
Submitter checklist