Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.20.2
-
None
Description
The Maven resources plugin config in /pom.xml makes use of the undocumented variable maven.multiModuleProjectDirectory to copy /git.properties to target/classes in every sub-module. This variable breaks the project build in Eclipse 2022-03, even when a .mvn directory is present at the project root, and was probably never meant for use by the public. Replacing it with the session.executionRootDirectory Maven variable fixes the build in Eclipse and retains the intended copying of git.properties during builds.