projectClassLoader is an URLClassLoader, which implements Closeable. instanceof-check not required

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1619563 13f79535-47bb-0310-9956-ffa450edef68
Ensure that Writer is always closed

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1619564 13f79535-47bb-0310-9956-ffa450edef68
Fix Bad practice - Classloaders should only be created inside doPrivileged block

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1619571 13f79535-47bb-0310-9956-ffa450edef68
hide utility class constructor

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1619602 13f79535-47bb-0310-9956-ffa450edef68
revert r1619571, seems to be vendor specific

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1619714 13f79535-47bb-0310-9956-ffa450edef68
Fix IT for M2.2.1, which still uses source/target 1.4 by default

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1619786 13f79535-47bb-0310-9956-ffa450edef68