apache / apache/maven

[MNG-6395] maven.ext.class.path should honor class path wildcards

Open
#7,473 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[James Z.M. Gao](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gzm55)** opened **[MNG-6395](https://issues.apache.org/jira/browse/MNG-6395?redirect=false)** and commented

`-Dmaven.ext.class.path='/path/*'` now does not load all jars in `/path`. If we can support wildcards like `java -classpath` does, the cli arguments may be clean in some cases.

---

**Affects:** 3.5.3

Contributor guide

Open the contributing guide

Research direction

Start by locating Maven's handling of the maven.ext.class.path CLI argument and compare it with Java -classpath wildcard behavior. Confirm the expected behavior for '/path/*', then verify that all matching JARs in /path are loaded when the change is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.