apache / apache/maven-help-plugin

Goal `list-dependency-types` does not work with Maven 4.0.0-rc-5

Open
#378 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
29
Forks
42
Avg merge
1d 12h
Merged PRs (30d)
6

Description

### Affected version

3.5.2

### Bug description

It outputs nothing:
```
[cstamas@angeleyes ~]$ mvn help:list-dependency-types -V
Apache Maven 4.0.0-rc-5 (fb3ecaef88106acb40467a450248dfdbd75f3b35)
Maven home: /home/cstamas/.sdkman/candidates/maven/4.0.0-rc-5
Java version: 21.0.11, vendor: Eclipse Adoptium, runtime: /home/cstamas/.sdkman/candidates/java/21.0.11-tem
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "7.0.13-200.fc44.x86_64", arch: "amd64", family: "unix"
[INFO]
[INFO] 1 problem was encountered while building the effective settings (use -e to see details)
[INFO]
[INFO] Scanning for projects...
[INFO] Loaded 23107 auto-discovered prefixes for remote repository central (prefixes-central.txt)
[INFO]
[INFO] -------------------------------------------< org.apache.maven:standalone-pom >--------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ---------------------------------------------------------[ pom ]----------------------------------------------------------
[INFO]
[INFO] --- help:3.5.2:list-dependency-types (default-cli) @ standalone-pom ---
[INFO] Loaded 74 auto-discovered prefixes for remote repository apache.snapshots (prefixes-apache.snapshots-c1d4c55f9308e5ac18a4069bed41dca64d85c515.txt)
[INFO]
Maven Dependency Types defined:

[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time: 0.230 s
[INFO] Finished at: 2026-06-30T13:48:44+02:00
[INFO] --------------------------------------------------------------------------------------------------------------------------
[cstamas@angeleyes ~]$
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the `list-dependency-types` goal with Maven 4.0.0-rc-5 and trace the goal's implementation and dependency-type discovery path. Compare the result with the expected dependency types; done means the goal lists them instead of producing an empty section while the build succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.