Skip to content

Analyzing a project with Java 24 as a compilation target doesn't work #524

Open
@seekM

Description

@seekM

Affected version

3.8.1

Bug description

Hello, thank you for enabling issues at Github, that makes it much easier to report them! Thank you also for maintainig this plugin!

Using the Maven Dependency Plugin to analyze a Maven project with Java 24 as a compilation target leads to the following error message:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.8.1:analyze (default-cli) [...]
Byte code of [...]: Unsupported class file major version 68

It works when using Java 23 as a compilation target. I also uploaded a minimal example to reproduce this here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions