title: javadoc: error - invalid flag: -Xdoclint:none, when I use java 7, but it works in java 8
body: <p>Maven works fine when I run my pom having <code>&lt;additionalparam&gt;-Xdoclint:none&lt;/additionalparam&gt;</code> with JAVA 8, since <code>-Xdoclint</code> was added in JAVA 8. However, it throws an error when I run maven with JAVA 7 since it is not there in JAVA 7.</p>
  
  <p>But I want to make the pom generalized for JAVA 7 and JAVA 8, i.e. if JAVA 8 I should be able to use the specified "additionalparam" but when using JAVA 7, it should exclude that parameter.</p>