From a18c835b64bb202aa6f926183a7187a237923539 Mon Sep 17 00:00:00 2001 From: dasomel Date: Sat, 6 Jun 2026 13:43:49 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore(ci):=20Actions=20v4=20=EB=B0=8F=20JDK?= =?UTF-8?q?=2021=C2=B7Temurin=EC=9C=BC=EB=A1=9C=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=ED=99=98=EA=B2=BD=20=EC=A0=95=ED=95=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 변경 내용: - actions/checkout v3 → v4 (Node.js 16 EOL 대응) - actions/setup-java v3 → v4 - JDK 배포판 adopt → temurin (AdoptOpenJDK 프로젝트 종료, Eclipse Temurin 후속) - java-version 8 → 21 근거: 프로젝트 내 22개 번들 MANIFEST.MF 중 21개가 Bundle-RequiredExecutionEnvironment: JavaSE-21을 명시하고 있으며, CI의 java-version '8'은 실제 빌드 요구사항과 불일치했음. (나머지 1개 codegen.model은 JavaSE-1.8이나, JDK 21은 하위 호환) --- .github/workflows/maven.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fe2b321d..7f868faf 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -20,12 +20,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 8 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: '8' - distribution: 'adopt' + java-version: '21' + distribution: 'temurin' cache: maven - name: Build with Maven run: mvn -B package --file pom.xml -Dmaven.test.skip=true From 508944ce563b5cd2c7b79418cfd2ae35440bd005 Mon Sep 17 00:00:00 2001 From: dasomel Date: Thu, 11 Jun 2026 20:24:07 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore(ci):=20=EB=B9=8C=EB=93=9C=20=EB=8C=80?= =?UTF-8?q?=EC=83=81=EC=9D=84=20=EC=8B=A4=EC=A0=9C=20Maven=20=EB=AA=A8?= =?UTF-8?q?=EB=93=88=EB=A1=9C=20=EC=A7=80=EC=A0=95=ED=95=B4=20CI=20?= =?UTF-8?q?=EC=A0=95=EC=83=81=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 기존 워크플로는 루트의 pom.xml을 빌드하도록 되어 있으나, 이 저장소는 대부분 Eclipse 플러그인(PDE) 프로젝트로 구성되어 루트에 Maven 빌드가 없어 "POM file pom.xml ... does not exist"로 빌드가 항상 실패했다. 표준 Maven으로 빌드 가능한 유일한 모듈인 egovframework.dev.imp.templates를 빌드하도록 --file 경로와 캐시 의존성 경로를 지정한다. --- .github/workflows/maven.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7f868faf..ba324873 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,8 +27,11 @@ jobs: java-version: '21' distribution: 'temurin' cache: maven + cache-dependency-path: egovframework.dev.imp.templates/pom.xml + # 이 저장소의 대부분은 Eclipse 플러그인(PDE) 프로젝트이며 루트에 Maven 빌드가 없다. + # 표준 Maven으로 빌드 가능한 모듈은 egovframework.dev.imp.templates 뿐이므로 해당 모듈을 빌드한다. - name: Build with Maven - run: mvn -B package --file pom.xml -Dmaven.test.skip=true + run: mvn -B package --file egovframework.dev.imp.templates/pom.xml -Dmaven.test.skip=true # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive # - name: Update dependency graph