Environment, Ant & Maven Variables

I wanted to confirm my build environment but wasn’t sure how to catch everything.

Turns out there is a <echoproperties /> tag/task in ant that when used within the maven-antrun-plugin will tell you just about everything you need to know.

Add the following to your pom.xml and run a clean on your project:

<property environment="env" />
<echoproperties />

Or for a more quick and dirty way to get your complete environment cd into your project directory and run:

mvn -X test