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.
Add this plugin under plugins section in pom.xml and use mvn validate :
mvn validate
org.apache.maven.plugins maven-antrun-plugin 1.1 validate run Displaying value of system variables ${env.YOUR_ENVIRONMENT_VARIABLE_NAME}
This will print your env variable value.