From 617bff2eb359dfc2e3746f49e3dfd39f473a1ba2 Mon Sep 17 00:00:00 2001 From: Zouxxyy Date: Thu, 21 Mar 2024 17:53:04 +0800 Subject: [PATCH] [hotfix] Add project root path to files to facilitate compiling modules in child dirs (#3063) --- .mvn/readme.txt | 4 ++++ pom.xml | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .mvn/readme.txt diff --git a/.mvn/readme.txt b/.mvn/readme.txt new file mode 100644 index 000000000000..a1333a41d229 --- /dev/null +++ b/.mvn/readme.txt @@ -0,0 +1,4 @@ +The .mvn directory is needed to be able to use the ${maven.multiModuleProjectDirectory} property, since git cannot +commit an empty directory, add this file. + +Once we do not use ${maven.multiModuleProjectDirectory}, we can remove this file and .mvn directory. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6fdda9566d7b..eb30d0d74bc5 100644 --- a/pom.xml +++ b/pom.xml @@ -831,18 +831,19 @@ under the License. - copyright.txt + + ${maven.multiModuleProjectDirectory}/copyright.txt ${spotless.delimiter} 3.4.3 - .scalafmt.conf + ${maven.multiModuleProjectDirectory}/.scalafmt.conf - copyright.txt + ${maven.multiModuleProjectDirectory}/copyright.txt ${spotless.delimiter}