David Williams wrote:

How do you pass system environment variables like system date or system time
to maven.  I'm running maven on a windows machine.

You can access environment variables by using maven variables of the form ${env.VARIABLE}.

So ${env.PATH} would be your path, for example.

As far as I am aware, will only work on JDK v1.5 and above, as it wasn't possible to read environment variables in Java before then.

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to