3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-30 23:02:15 +00:00

Fixed javadoc build on Java 8 by turning off the fascist DocLint.

DocLint emited errors in Orchid and Protos docs which we are unlikely to fix.
This commit is contained in:
Piotr Włodarek 2014-05-31 18:41:55 +02:00 committed by Mike Hearn
parent fb749f5f23
commit 422053cfec
2 changed files with 41 additions and 0 deletions

View File

@ -87,6 +87,26 @@
</plugins>
</build>
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>junit</groupId>

21
pom.xml
View File

@ -101,4 +101,25 @@
<junit.version>4.8.2</junit.version>
<generated.sourceDirectory>gen</generated.sourceDirectory>
</properties>
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>