Created
October 28, 2015 16:13
-
-
Save nblair/85f7f2bdb5aff9870201 to your computer and use it in GitHub Desktop.
Maven pom.xml profile fragment to disable doclint on JDK 8 and later.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profiles> | |
<profile> | |
<id>disable-doclint-on-java8</id> | |
<activation> | |
<jdk>[1.8,)</jdk> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.9</version> | |
<configuration> | |
<additionalparam>-Xdoclint:none</additionalparam> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment