bmarwell opened a new issue, #11363:
URL: https://github.com/apache/maven/issues/11363

   ### Affected version
   
   4.0.0-rc-4
   
   ### Bug description
   
   To reproduce, createe `.mvn/jvm.config` and add:
   
   ```env
   -Dhttp.nonProxyHosts=de|*.de|my.company.mirror.de
   ```
   
   Then execute Maven and find this:
   
   ```bash
   ❯ ./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:    jshell
   ```
   
   This only happens on Maven 4, not on Maven 3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to