From 3c4ef92eee7ddc550f816a0906acfb21b61543d1 Mon Sep 17 00:00:00 2001 From: Rishabh Patel Date: Mon, 27 Jul 2026 14:36:07 -0700 Subject: [PATCH] HDDS-16001. Add missing `` sections in module `pom.xml` files to fix invalid testCompile configurations in IntelliJ. --- .run/FreonStandalone.run.xml | 2 +- .run/ScmRoles.run.xml | 2 +- hadoop-hdds/cli-common/pom.xml | 11 +++++++++++ hadoop-hdds/rocks-native/pom.xml | 13 +++++++++++++ hadoop-ozone/cli-admin/pom.xml | 11 +++++++++++ hadoop-ozone/cli-debug/pom.xml | 11 +++++++++++ hadoop-ozone/cli-repair/pom.xml | 11 +++++++++++ hadoop-ozone/cli-shell/pom.xml | 11 +++++++++++ hadoop-ozone/freon/pom.xml | 11 +++++++++++ hadoop-ozone/tools/pom.xml | 11 +++++++++++ hadoop-ozone/vapor/pom.xml | 11 +++++++++++ pom.xml | 11 +++++++++++ 12 files changed, 114 insertions(+), 2 deletions(-) diff --git a/.run/FreonStandalone.run.xml b/.run/FreonStandalone.run.xml index cc17c5f48d5f..d57b48adaf33 100644 --- a/.run/FreonStandalone.run.xml +++ b/.run/FreonStandalone.run.xml @@ -17,7 +17,7 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-hdds/rocks-native/pom.xml b/hadoop-hdds/rocks-native/pom.xml index 9837aae92db1..7f39b6703cb7 100644 --- a/hadoop-hdds/rocks-native/pom.xml +++ b/hadoop-hdds/rocks-native/pom.xml @@ -340,6 +340,19 @@ + + default-testCompile + + testCompile + + test-compile + + + -h + ${project.build.directory}/native/javah + + + diff --git a/hadoop-ozone/cli-admin/pom.xml b/hadoop-ozone/cli-admin/pom.xml index 0fad986a5b89..94d311e61851 100644 --- a/hadoop-ozone/cli-admin/pom.xml +++ b/hadoop-ozone/cli-admin/pom.xml @@ -194,6 +194,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-ozone/cli-debug/pom.xml b/hadoop-ozone/cli-debug/pom.xml index 63b54ec94b65..82b888379179 100644 --- a/hadoop-ozone/cli-debug/pom.xml +++ b/hadoop-ozone/cli-debug/pom.xml @@ -290,6 +290,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-ozone/cli-repair/pom.xml b/hadoop-ozone/cli-repair/pom.xml index 1e79d1ad13ed..b06b5a8fb77e 100644 --- a/hadoop-ozone/cli-repair/pom.xml +++ b/hadoop-ozone/cli-repair/pom.xml @@ -229,6 +229,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-ozone/cli-shell/pom.xml b/hadoop-ozone/cli-shell/pom.xml index 015ad13b59b0..74c28b90c051 100644 --- a/hadoop-ozone/cli-shell/pom.xml +++ b/hadoop-ozone/cli-shell/pom.xml @@ -182,6 +182,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-ozone/freon/pom.xml b/hadoop-ozone/freon/pom.xml index 9bde7cf33956..723204481478 100644 --- a/hadoop-ozone/freon/pom.xml +++ b/hadoop-ozone/freon/pom.xml @@ -194,6 +194,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-ozone/tools/pom.xml b/hadoop-ozone/tools/pom.xml index 3ffab37b2b24..3075dcc06d00 100644 --- a/hadoop-ozone/tools/pom.xml +++ b/hadoop-ozone/tools/pom.xml @@ -201,6 +201,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/hadoop-ozone/vapor/pom.xml b/hadoop-ozone/vapor/pom.xml index 78342bc6b0a3..7c1714033f62 100644 --- a/hadoop-ozone/vapor/pom.xml +++ b/hadoop-ozone/vapor/pom.xml @@ -206,6 +206,17 @@ + + default-testCompile + + testCompile + + + + -Aproject=${project.groupId}/${project.artifactId} + + + diff --git a/pom.xml b/pom.xml index 5024b9843991..eb3c4b86cc51 100644 --- a/pom.xml +++ b/pom.xml @@ -1841,6 +1841,17 @@ + + default-testCompile + + testCompile + + + + -AartifactId=${project.artifactId} + + +