Is there a way to get maven to output the value of environment and maven variables during a build? This would be very useful for debugging things when they\'re going wrong.
You can use Maven Help Plugin and help:system goal, so your pom will be:
help:system
4.0.0 testMavenOpt testMavenOpt jar 1.0-SNAPSHOT testMavenOpt http://maven.apache.org junit junit 3.8.1 test org.apache.maven.plugins maven-help-plugin 2.1
and you should execute mvn help:system
mvn help:system