Skip to content

Commit e5e1fdc

Browse files
committed
Revert "fix #366 - remove -Xdoclint:none flag; revert last commit since 3.0.5 will branch from develop and still supports Java 1.6"
This reverts commit 1b70c68. (cherry picked from commit b97f26b)
1 parent c2c25bf commit e5e1fdc

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

pom.xml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
<artifactId>maven-compiler-plugin</artifactId>
5454
<version>2.3.2</version>
5555
<configuration>
56-
<source>1.6</source>
57-
<target>1.6</target>
56+
<source>1.8</source>
57+
<target>1.8</target>
5858
</configuration>
5959
</plugin>
6060
<plugin>
@@ -188,6 +188,20 @@
188188
</plugin>
189189
</plugins>
190190
</build>
191+
<profiles>
192+
<profile>
193+
<id>Java 8</id>
194+
<activation>
195+
<jdk>1.8</jdk>
196+
</activation>
197+
<properties>
198+
<!-- Disable Java 8 overly strict javadoc linter when building with Java 8
199+
http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
200+
-->
201+
<additionalparam>-Xdoclint:none</additionalparam>
202+
</properties>
203+
</profile>
204+
</profiles>
191205
<dependencies>
192206
<!-- direct build / run dependencies -->
193207
<!--

0 commit comments

Comments
 (0)