From 3e08bc728772b7168d6bb90e88c46987bfedcf01 Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Fri, 26 Sep 2025 16:50:29 -0500 Subject: [PATCH] Fix publishing workflow version extraction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace hanging mvn help:evaluate command with fast Maven exec approach. The -q -DforceStdout combination was causing workflows to hang for minutes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3313304..93b90e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: - name: Extract version from pom.xml id: extract_version run: | - VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) + VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) echo "version=$VERSION" >> $GITHUB_OUTPUT echo "Current version: $VERSION"