paimon
paimon copied to clipboard
[pom] Replaces the maven property with project property.
trafficstars
Purpose
In my production environment I get compilation errors :
[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.13.0:check (spotless-check) on project paimon-parent: Execution spotless-check of goal com.diffplug.spotless:spotless-maven-plugin:2.13.0:check failed: Unable to locate file with path: ${maven.multiModuleProjectDirectory}/.scalafmt.conf: Could not find resource '${maven.multiModuleProjectDirectory}/.scalafmt.conf'. -> [Help 1]
Parameter ${maven.multiModuleProjectDirectory} is not a recommended parameter. Use ${project.basedir} instead of it.
References : https://stackoverflow.com/questions/29778262/what-is-maven-multimoduleprojectdirectory-used-for
https://github.com/apache/iotdb/pull/12982
Linked issue: close #xxx