takari / maven-wrapper

The easiest way to integrate Maven into your project!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./mvnw: Warning should be logged to stderr

fknittel opened this issue · comments

When the JAVA_HOME environment variable is not set, the warning is logged to stdout although it is best practice to log errors/warnings to stderr. Please replace

echo "Warning: JAVA_HOME environment variable is not set."

with

echo "Warning: JAVA_HOME environment variable is not set." >&2

This project is essentially frozen for development and new efforts are ongoing in the Apache Maven project itself. We therefore close this issue. Please find more information at https://github.com/takari/maven-wrapper#ongoing-migration-to-apache-maven and participate in the development there.