From 2de8956840de7c365758d6f5eed43cb0955b80d2 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 7 Feb 2023 22:45:43 +0100 Subject: [PATCH] Remove usage of deprecated maven expressions This commit replaces the usage of `${parent.version}` with `${project.parent.version}` to fix the following maven warning: ``` [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. ``` --- spring-batch-bom/pom.xml | 8 ++++---- spring-batch-core/pom.xml | 2 +- spring-batch-integration/pom.xml | 4 ++-- spring-batch-samples/pom.xml | 2 +- spring-batch-test/pom.xml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-batch-bom/pom.xml b/spring-batch-bom/pom.xml index 5f4920250..c02a3d7f8 100644 --- a/spring-batch-bom/pom.xml +++ b/spring-batch-bom/pom.xml @@ -46,22 +46,22 @@ org.springframework.batch spring-batch-core - ${parent.version} + ${project.parent.version} org.springframework.batch spring-batch-infrastructure - ${parent.version} + ${project.parent.version} org.springframework.batch spring-batch-integration - ${parent.version} + ${project.parent.version} org.springframework.batch spring-batch-test - ${parent.version} + ${project.parent.version} diff --git a/spring-batch-core/pom.xml b/spring-batch-core/pom.xml index 5d28ad253..53bc24beb 100644 --- a/spring-batch-core/pom.xml +++ b/spring-batch-core/pom.xml @@ -23,7 +23,7 @@ org.springframework.batch spring-batch-infrastructure - ${parent.version} + ${project.parent.version} org.springframework diff --git a/spring-batch-integration/pom.xml b/spring-batch-integration/pom.xml index 289ba3563..f229eb24f 100644 --- a/spring-batch-integration/pom.xml +++ b/spring-batch-integration/pom.xml @@ -22,7 +22,7 @@ org.springframework.batch spring-batch-core - ${parent.version} + ${project.parent.version} org.springframework.integration @@ -65,7 +65,7 @@ org.springframework.batch spring-batch-test - ${parent.version} + ${project.parent.version} test diff --git a/spring-batch-samples/pom.xml b/spring-batch-samples/pom.xml index 12ff81333..c4a982c89 100644 --- a/spring-batch-samples/pom.xml +++ b/spring-batch-samples/pom.xml @@ -20,7 +20,7 @@ org.springframework.batch spring-batch-bom - ${parent.version} + ${project.parent.version} pom import diff --git a/spring-batch-test/pom.xml b/spring-batch-test/pom.xml index 59f157f70..808fca85d 100644 --- a/spring-batch-test/pom.xml +++ b/spring-batch-test/pom.xml @@ -23,7 +23,7 @@ org.springframework.batch spring-batch-core - ${parent.version} + ${project.parent.version} org.springframework