From 3a1ddca714fd1df0df902bb7af2ee0fae8dd589d Mon Sep 17 00:00:00 2001 From: gogoleelee88 Date: Thu, 28 Aug 2025 15:42:02 +0900 Subject: [PATCH 1/2] build: remove per-module surefire plugin blocks (use root-managed config) --- Batch/org.egovframe.rte.bat.core/pom.xml | 17 +----- .../org.egovframe.rte.fdl.access/pom.xml | 17 +----- Foundation/org.egovframe.rte.fdl.cmmn/pom.xml | 17 +----- .../org.egovframe.rte.fdl.crypto/pom.xml | 17 +----- .../org.egovframe.rte.fdl.excel/pom.xml | 17 +----- .../pom.xml | 17 +----- .../org.egovframe.rte.fdl.idgnr/pom.xml | 17 +----- .../org.egovframe.rte.fdl.logging/pom.xml | 17 +----- .../org.egovframe.rte.fdl.property/pom.xml | 17 +----- .../org.egovframe.rte.fdl.reactive/pom.xml | 17 +----- .../org.egovframe.rte.fdl.security/pom.xml | 17 +----- .../org.egovframe.rte.fdl.string/pom.xml | 17 +----- Foundation/org.egovframe.rte.fdl.xml/pom.xml | 17 +----- .../org.egovframe.rte.itl.integration/pom.xml | 17 +----- .../org.egovframe.rte.itl.webservice/pom.xml | 17 +----- .../org.egovframe.rte.psl.data.jpa/pom.xml | 17 +----- .../pom.xml | 17 +----- .../org.egovframe.rte.psl.dataaccess/pom.xml | 17 +----- .../pom.xml | 17 +----- .../pom.xml | 17 +----- .../pom.xml | 17 +----- .../pom.xml | 17 +----- .../org.egovframe.rte.ptl.mvc/pom.xml | 17 +----- .../org.egovframe.rte.ptl.reactive/pom.xml | 17 +----- pom.xml | 52 +++++++++++++++++++ 25 files changed, 76 insertions(+), 384 deletions(-) diff --git a/Batch/org.egovframe.rte.bat.core/pom.xml b/Batch/org.egovframe.rte.bat.core/pom.xml index 5ed2ff48..4b4fefdf 100644 --- a/Batch/org.egovframe.rte.bat.core/pom.xml +++ b/Batch/org.egovframe.rte.bat.core/pom.xml @@ -399,22 +399,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.access/pom.xml b/Foundation/org.egovframe.rte.fdl.access/pom.xml index aa29aa34..a1bc93b5 100644 --- a/Foundation/org.egovframe.rte.fdl.access/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.access/pom.xml @@ -176,22 +176,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.cmmn/pom.xml b/Foundation/org.egovframe.rte.fdl.cmmn/pom.xml index f93df406..c7ce70c5 100644 --- a/Foundation/org.egovframe.rte.fdl.cmmn/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.cmmn/pom.xml @@ -215,22 +215,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.crypto/pom.xml b/Foundation/org.egovframe.rte.fdl.crypto/pom.xml index 5f4cc928..d9c41665 100644 --- a/Foundation/org.egovframe.rte.fdl.crypto/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.crypto/pom.xml @@ -176,22 +176,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.excel/pom.xml b/Foundation/org.egovframe.rte.fdl.excel/pom.xml index 85bc02a2..50c4b427 100644 --- a/Foundation/org.egovframe.rte.fdl.excel/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.excel/pom.xml @@ -223,22 +223,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.filehandling/pom.xml b/Foundation/org.egovframe.rte.fdl.filehandling/pom.xml index 06f4f202..8b008f35 100644 --- a/Foundation/org.egovframe.rte.fdl.filehandling/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.filehandling/pom.xml @@ -157,22 +157,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.idgnr/pom.xml b/Foundation/org.egovframe.rte.fdl.idgnr/pom.xml index 043afd6c..c2d153b6 100644 --- a/Foundation/org.egovframe.rte.fdl.idgnr/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.idgnr/pom.xml @@ -174,22 +174,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.logging/pom.xml b/Foundation/org.egovframe.rte.fdl.logging/pom.xml index c4768e1a..d84dddd1 100644 --- a/Foundation/org.egovframe.rte.fdl.logging/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.logging/pom.xml @@ -259,22 +259,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.property/pom.xml b/Foundation/org.egovframe.rte.fdl.property/pom.xml index 0e7756f4..50621705 100644 --- a/Foundation/org.egovframe.rte.fdl.property/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.property/pom.xml @@ -164,22 +164,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.reactive/pom.xml b/Foundation/org.egovframe.rte.fdl.reactive/pom.xml index 9ba2df4c..1770de1b 100644 --- a/Foundation/org.egovframe.rte.fdl.reactive/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.reactive/pom.xml @@ -179,22 +179,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.security/pom.xml b/Foundation/org.egovframe.rte.fdl.security/pom.xml index 0b61e679..7a829e04 100644 --- a/Foundation/org.egovframe.rte.fdl.security/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.security/pom.xml @@ -259,22 +259,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.string/pom.xml b/Foundation/org.egovframe.rte.fdl.string/pom.xml index 0ed03eab..8fda54be 100644 --- a/Foundation/org.egovframe.rte.fdl.string/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.string/pom.xml @@ -160,22 +160,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Foundation/org.egovframe.rte.fdl.xml/pom.xml b/Foundation/org.egovframe.rte.fdl.xml/pom.xml index 4e9b2b37..72e925e7 100644 --- a/Foundation/org.egovframe.rte.fdl.xml/pom.xml +++ b/Foundation/org.egovframe.rte.fdl.xml/pom.xml @@ -167,22 +167,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Integration/org.egovframe.rte.itl.integration/pom.xml b/Integration/org.egovframe.rte.itl.integration/pom.xml index 0d2d654e..544ff130 100644 --- a/Integration/org.egovframe.rte.itl.integration/pom.xml +++ b/Integration/org.egovframe.rte.itl.integration/pom.xml @@ -190,22 +190,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Integration/org.egovframe.rte.itl.webservice/pom.xml b/Integration/org.egovframe.rte.itl.webservice/pom.xml index 67407da0..96b4b2d5 100644 --- a/Integration/org.egovframe.rte.itl.webservice/pom.xml +++ b/Integration/org.egovframe.rte.itl.webservice/pom.xml @@ -225,22 +225,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.data.jpa/pom.xml b/Persistence/org.egovframe.rte.psl.data.jpa/pom.xml index f27d38b6..5a424ca8 100644 --- a/Persistence/org.egovframe.rte.psl.data.jpa/pom.xml +++ b/Persistence/org.egovframe.rte.psl.data.jpa/pom.xml @@ -210,22 +210,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.data.mongodb/pom.xml b/Persistence/org.egovframe.rte.psl.data.mongodb/pom.xml index 8d409d19..98815140 100644 --- a/Persistence/org.egovframe.rte.psl.data.mongodb/pom.xml +++ b/Persistence/org.egovframe.rte.psl.data.mongodb/pom.xml @@ -183,22 +183,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.dataaccess/pom.xml b/Persistence/org.egovframe.rte.psl.dataaccess/pom.xml index 03f92960..70ba9183 100644 --- a/Persistence/org.egovframe.rte.psl.dataaccess/pom.xml +++ b/Persistence/org.egovframe.rte.psl.dataaccess/pom.xml @@ -225,22 +225,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.reactive.cassandra/pom.xml b/Persistence/org.egovframe.rte.psl.reactive.cassandra/pom.xml index bc00882a..3a13fbf7 100644 --- a/Persistence/org.egovframe.rte.psl.reactive.cassandra/pom.xml +++ b/Persistence/org.egovframe.rte.psl.reactive.cassandra/pom.xml @@ -206,22 +206,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.reactive.mongodb/pom.xml b/Persistence/org.egovframe.rte.psl.reactive.mongodb/pom.xml index 6d3328a4..d7cb3d4b 100644 --- a/Persistence/org.egovframe.rte.psl.reactive.mongodb/pom.xml +++ b/Persistence/org.egovframe.rte.psl.reactive.mongodb/pom.xml @@ -216,22 +216,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.reactive.r2dbc/pom.xml b/Persistence/org.egovframe.rte.psl.reactive.r2dbc/pom.xml index 3d533c4b..3cc36b3e 100644 --- a/Persistence/org.egovframe.rte.psl.reactive.r2dbc/pom.xml +++ b/Persistence/org.egovframe.rte.psl.reactive.r2dbc/pom.xml @@ -207,22 +207,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Persistence/org.egovframe.rte.psl.reactive.redis/pom.xml b/Persistence/org.egovframe.rte.psl.reactive.redis/pom.xml index db739a1e..cc100f61 100644 --- a/Persistence/org.egovframe.rte.psl.reactive.redis/pom.xml +++ b/Persistence/org.egovframe.rte.psl.reactive.redis/pom.xml @@ -216,22 +216,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Presentation/org.egovframe.rte.ptl.mvc/pom.xml b/Presentation/org.egovframe.rte.ptl.mvc/pom.xml index 6b554614..06bd5c3e 100644 --- a/Presentation/org.egovframe.rte.ptl.mvc/pom.xml +++ b/Presentation/org.egovframe.rte.ptl.mvc/pom.xml @@ -203,22 +203,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/Presentation/org.egovframe.rte.ptl.reactive/pom.xml b/Presentation/org.egovframe.rte.ptl.reactive/pom.xml index d30e9bb0..b219da80 100644 --- a/Presentation/org.egovframe.rte.ptl.reactive/pom.xml +++ b/Presentation/org.egovframe.rte.ptl.reactive/pom.xml @@ -213,22 +213,7 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.3.0 - - true - xml - - **/Abstract*.java - **/*Suite.java - - - **/*Test.java - - - + org.codehaus.mojo emma-maven-plugin diff --git a/pom.xml b/pom.xml index cd157106..efc0f353 100644 --- a/pom.xml +++ b/pom.xml @@ -8,6 +8,12 @@ pom org.egovframe.rte.root + + UTF-8 + UTF-8 + 1.8 + + @@ -47,4 +53,50 @@ + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.2.5 + + -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Seoul + xml + + **/Abstract*.java + **/*Suite.java + + + **/*Test.java + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.2.5 + + -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Seoul + + **/*IT.java + **/*IntegrationTest.java + + + + + + integration-test + verify + + + + + + + + From b246b5ec3690b1880227e15d43b5dbfb2a00bb34 Mon Sep 17 00:00:00 2001 From: gogoleelee88 Date: Thu, 28 Aug 2025 16:06:16 +0900 Subject: [PATCH 2/2] build(test): ensure reproducible test env (UTF-8, Asia/Seoul, surefire/failsafe) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set -Dfile.encoding=UTF-8 and -Duser.timezone=Asia/Seoul - Unify test plugin argLine at root; propagate to modules where needed - Verified test env runs consistently; known PowerMock failures tracked separately 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index efc0f353..4df2decc 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,8 @@ UTF-8 UTF-8 1.8 + + @@ -60,9 +62,21 @@ org.apache.maven.plugins maven-surefire-plugin - 3.2.5 + 3.3.0 - -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Seoul + + ${surefireArgLine} + -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Seoul + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED + --add-exports=java.base/jdk.internal.reflect=ALL-UNNAMED + --illegal-access=permit + xml **/Abstract*.java @@ -78,25 +92,52 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.2.5 + 3.3.0 - -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Seoul + + ${surefireArgLine} + -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Seoul + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED + --add-exports=java.base/jdk.internal.reflect=ALL-UNNAMED + --illegal-access=permit + **/*IT.java **/*IntegrationTest.java - - - - integration-test - verify - - - + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + verify + + + + + +