Skip to content

Bug: sdkman fails to install latest stable maven on sdk install maven #1458

@SB-MFJ

Description

@SB-MFJ

Bug report

Running sdk install maven fails to install latest version of maven (3.9.10) and is unable to install 3.9.9 as that archive reports corrupted

To reproduce

  • remove all maven installations
  • run sdk install maven
Downloading: maven 3.9.9

In progress...

######################################################## 100.0%
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /Users/usr/.sdkman/tmp/maven-3.9.9.zip or
        /Users/usr/.sdkman/tmp/maven-3.9.9.zip.zip, and cannot find /Users/usr/.sdkman/tmp/maven-3.9.9.zip.ZIP, period.

Stop! The archive was corrupt and has been removed! Please try installing again.

System info

  • OS (e.g. Windows, Linux, Mac, Cygwin, WSL, etc.) and version: MacOS 15.5
  • Shell and version (e.g. bash --version/zsh --version): zsh 5.9 (arm64-apple-darwin24.0)
  • The output of sdk version :
SDKMAN!
script: 5.19.0
native: 0.7.4 (macos aarch64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions