You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Peter Lynch <pe...@mindspring.com> on 2002/12/03 12:18:42 UTC

maven.bat variables

I'd like to propose that all the variables defined/expected in maven.bat be
prefixed with "MAVEN_".

The reasons being:

1.  Some versions of Windows ( Win 98, ME ) setting a variable in a batch file
will set the variable in your env. To reduce the chance of running maven.bat and
having your environment change without u knowing, the prefix should help.

2. I may already have ECHO or PAUSE defined for something else not Maven
related. If the maven.bat checks these and changes behavior because of their
values that would be bad. It should perhaps check MAVEN_PAUSE and MAVEN_ECHO
instead.

3. As a best practice to avoid any namespace collisions.

How does this sound?

-Peter