[MENFORCER-229] Ban Distribution Management documentation example doesn't work
 The problem was to use the getModel() of the Maven Project which contains the
 interpolated inheritance hierarchy which results in having always an
 distributionManagement if somewhere in the higher levels distributionManagement
 has been defined. Using the getOriginalModel() shows the non interpolated model
 (pom file) which is the correct way to check the distributionManagement.
 Furthermore enhanced documentation.


git-svn-id: https://svn.apache.org/repos/asf/maven/enforcer/trunk@1694884 13f79535-47bb-0310-9956-ffa450edef68
12 files changed