-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Labels
breakingPull requests that break existing featuresPull requests that break existing featuresbugSomething isn't workingSomething isn't workingmvn40
Description
Affected version
4.0.0-rc-4
Bug description
To reproduce, createe .mvn/jvm.config and add:
-Dhttp.nonProxyHosts=de|*.de|my.company.mirror.deThen execute Maven and find this:
❯ ./mvnw clean verify -Prun-its
$HOME/.m2/wrapper/dists/apache-maven-4.0.0-rc-4/9c77e524/bin/mvn: line 265: *.de: command not found
$HOME/.m2/wrapper/dists/apache-maven-4.0.0-rc-4/9c77e524/bin/mvn: line 265: my.company.mirror.de: command not found
Usage: java [java options...] <application> [application arguments...]
Where <application> is one of:
<mainclass> to execute the main method of a compiled main class
-jar <jarfile>.jar to execute the main class of a JAR archive
-m <module>[/<mainclass>] to execute the main class of a module
<sourcefile>.java to compile and execute a source-file program
Where key java options include:
--class-path <class path>
where <class path> is a list of directories and JAR archives to search for class files, separated by ":"
--module-path <module path>
where <module path> is a list of directories and JAR archives to search for modules, separated by ":"
-version
to print product version to the error stream and exit
For additional help on usage: java --help
For an interactive Java environment: jshellThis only happens on Maven 4, not on Maven 3.
Metadata
Metadata
Assignees
Labels
breakingPull requests that break existing featuresPull requests that break existing featuresbugSomething isn't workingSomething isn't workingmvn40