I'm afraid I had to update this post as initially I naively assumed that the syntax for environment variables was the same as for system properties. As you can see from above, you have to actually put a separate xml tag in there for the variable.
By putting the value in ${} you can then pass it in with -DsomeSystemProperty from the command line when you do mvn clean install
YourKit, LLC is a technology leader, creator of the most innovative and intelligent tools for profiling Java & .NET applications. The YourKit Java Profiler has been already recognized by the IT professionals and analysts as the best profiling tool.
With YourKit solutions, both CPU and memory profiling have come to the highest professional level, where one can profile even huge applications with maximum productivity and zero overhead.
There are several, recent innovations to profiling that have gained well-deserved popularity among professional Java developers, both in big and small companies.
YourKit is the standard-setter in the evolution of profiling tools.
It is incredibly slick and easy to use. Thanks to for putting me on to it.