Refactor: first iteration of modular and dockerized approach

This commit is contained in:
ivfrost
2026-01-24 15:14:16 +01:00
parent 43e55f9f18
commit 938877d852
147 changed files with 4103 additions and 3044 deletions

4
mvnw vendored
View File

@@ -256,10 +256,10 @@ else
tar xzf${__MVNW_QUIET_TAR:+"$__MVNW_QUIET_TAR"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -C "$TMP_DOWNLOAD_DIR" || die "failed to untar"
fi
# Find the actual extracted directory name (handles snapshots where filename != directory name)
# Find the actual extracted directory friendlyName (handles snapshots where filename != directory friendlyName)
actualDistributionDir=""
# First try the expected directory name (for regular distributions)
# First try the expected directory friendlyName (for regular distributions)
if [ -d "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" ]; then
if [ -f "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain/bin/$MVN_CMD" ]; then
actualDistributionDir="$distributionUrlNameMain"