Skip to content

Commit

Permalink
Also add Maven version marker to .mvn/jvm.config
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jul 29, 2024
1 parent a010f13 commit f1711dc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -200,6 +201,7 @@ public Stream<SourceFile> 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,
Expand Down

0 comments on commit f1711dc

Please sign in to comment.