Skip to content

java feature "mavenVersion" latest is still using 3.9.9 and results in a corrupt archive error #1382

Open
@artis3n

Description

@artis3n

Trying to install the java feature results in an error unless you pin mavenVersion to the recently released 3.9.10 from June 1. 3.9.9 results in a corrupt archive error, and the default "latest" version if you don't specify mavenVersion still uses 3.9.9, so the feature fails to install in its default configuration. This has been going on for the last few days, I'm assuming since 6/1 when the newest Maven version was released.

{
	"name": "Debian",
	"image": "mcr.microsoft.com/devcontainers/base:bookworm",
	"features": {
            "ghcr.io/devcontainers/features/java:1": {
                "version": "24",
                "jdkDistro": "tem",
                "installMaven": true,
                "mavenVersion": "3.9.10"
            }
}

Works, but

{
	"name": "Debian",
	"image": "mcr.microsoft.com/devcontainers/base:bookworm",
	"features": {
            "ghcr.io/devcontainers/features/java:1": {
                "version": "24",
                "jdkDistro": "tem",
                "installMaven": true
            }
}

fails -

Image

Pinning to Maven 3.9.8 works, so there's just an issue with 3.9.9, and it's an issue for this feature because it still uses 3.9.9 as the default "latest" version.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions