Merge branch 'mathieu-pousse-master'

* mathieu-pousse-master:
  refactor
  simplify detection
  introducing unit tests !
  First effort to fix JENKINS-23206
prepared for next version release
use the latest release plugin for better git support
[maven-release-plugin] prepare release maven-metadata-plugin-1.2.0
[maven-release-plugin] prepare for next development iteration