maven wrapper - reload project on change distributionUrl

GitOrigin-RevId: 167df3b492d1cb8d436133a7942a464f44af6602
This commit is contained in:
Alexander Bubenchikov
2020-06-16 15:06:16 +03:00
committed by intellij-monorepo-bot
parent 424d64fe9d
commit 17e623a298
2 changed files with 2 additions and 0 deletions
@@ -58,4 +58,5 @@ public class MavenConstants {
public static final String JVM_CONFIG_RELATIVE_PATH = "/.mvn/jvm.config";
public static final String MAVEN_CONFIG_RELATIVE_PATH = "/.mvn/maven.config";
public static final String MAVEN_WRAPPER_RELATIVE_PATH = "/.mvn/wrapper/maven-wrapper.properties";
}
@@ -55,6 +55,7 @@ class MavenProjectsAware(
yieldAll(mavenProject.modulePaths)
yield(join(rootDirectory, MavenConstants.JVM_CONFIG_RELATIVE_PATH))
yield(join(rootDirectory, MavenConstants.MAVEN_CONFIG_RELATIVE_PATH))
yield(join(rootDirectory, MavenConstants.MAVEN_WRAPPER_RELATIVE_PATH))
if (hasPomFile(rootDirectory)) {
yield(join(rootDirectory, MavenConstants.PROFILES_XML))
}