diff --git a/pom.xml b/pom.xml
index 02477a70..2d902dcc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -329,7 +329,7 @@ limitations under the License.
${maven.multiModuleProjectDirectory}/build/eclipse-formatter-config.xml
${format.skip}
KEEP
- ${build.directory}/cache
+ ${project.build.directory}/cache
@@ -341,7 +341,7 @@ limitations under the License.
true
KEEP
${format.skip}
- ${build.directory}/cache
+ ${project.build.directory}/cache