Support for snapshot distributions - fix by slawekjaranowski · Pull Request #352 · apache/maven-wrapper (original) (raw)
looks like shel globs not working ... in code
for dir in "$TMP_DOWNLOAD_DIR"/*; do if [ -d "$dir" ]; then if [ -f "$dir/bin/$MVN_CMD" ]; then actualDistributionDir="$(basename "$dir")" break fi else verbose "Skipping non-directory file in TMPDOWNLOADDIR:TMP_DOWNLOAD_DIR: TMPDOWNLOADDIR:dir" fi done
on GH and on my local host we have:
Skipping non-directory file in /tmp/tmp.19TOqPxbAJ: /tmp/tmp.19TOqPxbAJ/*
but content is present:
Contents of /tmp/tmp.91g2xyJ6Db:
total 24
drwx------ 3 runner docker 4096 Aug 23 11:26 .
drwxrwxrwt 16 root root 12288 Aug 23 11:26 ..
-rw-r--r-- 1 runner docker 1734 Jul 10 12:04 apache-maven-4.9.999-20250710.120440-1-bin.zip
drwxr-xr-x 3 runner docker 4096 Aug 23 11:25 apache-maven-4.9.999-SNAPSHOT
@gnodet or some other can help?