Add USE_SNAPSHOT environment variable for maven builds

In order to force the use of `*-SNAPSHOT` even if
`BUILD_NUMBER` is set (in Jenkins), `USE_SNAPSHOT=1`
can now be used.