[FIXED JENKINS-17555] maven should take EnvironmentContributingAction in...

...to account to resolve variables