diff --git a/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java b/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java index ec1e84b6..690e05ac 100644 --- a/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java +++ b/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java @@ -88,6 +88,7 @@ // ----------------------------------------------------------------------------------------------------------------- public class MavenMojoProjectParser { + private static final String MVN_JVM_CONFIG = ".mvn/jvm.config"; private static final String MVN_MAVEN_CONFIG = ".mvn/maven.config"; @Nullable @@ -200,6 +201,7 @@ public Stream listSourceFiles(MavenProject mavenProject, @Nullable X } else { // Only parse Maven wrapper related files, such that UpdateMavenWrapper can use the version information. parsedResourceFiles = Stream.of( + Paths.get(MVN_JVM_CONFIG), Paths.get(MVN_MAVEN_CONFIG), MavenWrapper.WRAPPER_BATCH_LOCATION, MavenWrapper.WRAPPER_JAR_LOCATION,