Frequently asked questions
No. The rewrite-maven-plugin and rewrite-gradle-plugin run locally on your machine, without any connections to Moderne or OpenRewrite. The plugins calls out to Maven Central (or a locally configured mirror) to check for new dependencies. Other than that, you should not see any other outbound traffic.
You can increase the size of the Java heap to see if that helps:
Gradle
Maven
gradle -Dorg.gradle.jvmargs=-Xmx8G rewrite:run
export MAVEN_OPTS="-Xmx8G"
mvn rewrite:run
OpenRewrite is likely building up a model of your code and resolving types – this can take a while. Right now, there is not a progress report for recipe runs. However, there is a suggestion to add progress indicators that you can +1 here.
Yes. Take a look at the getting started with data tables guide. Right now, data tables can only be accessed through the Moderne platform. Access to these will be made available through the Maven and Gradle plugin soon.
This is not possible right now and doing so would be quite complicated. For a detailed explanation as to why, check out this post.
Not right now. This is a particularly difficult problem to address for a couple of reasons:
- Some recipes can be composed of other recipes which could then include other recipes composed of other recipes and so on.
- Some recipes can be used multiple times in one recipe with different parameters such as in this example.
Last modified 1mo ago