You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon" <ed...@samsung.com> on 2015/04/07 12:23:48 UTC
Turn off doclint for jdk8
Hello,
Recently I switched my system to use Java 8 by default and the hama project
build failed with following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar
According to
http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html, it
seems we need to turn off doclint, or improve comments.
I'll commit below as a short-term solution.
Thanks.
edward@tserver:/media/edward/disk/home/eddieyoon/workspace/hama-trunk$ svn
diff
Index: pom.xml
===================================================================
--- pom.xml (revision 1671719)
+++ pom.xml (working copy)
@@ -472,10 +472,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8.1</version>
+ <version>2.9.1</version>
<configuration>
<aggregate>true</aggregate>
<outputDirectory>docs/apidocs</outputDirectory>
+ <additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
--
Best Regards, Edward J. Yoon
RE: Turn off doclint for jdk8
Posted by "Edward J. Yoon" <ed...@samsung.com>.
+1 Thanks for your help!
--
Best Regards, Edward J. Yoon
-----Original Message-----
From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
Sent: Tuesday, April 07, 2015 8:05 PM
To: dev@hama.apache.org
Subject: Re: Turn off doclint for jdk8
we should rather use 2 separate maven profiles for that, one that is
triggered with jdk8 and one for other versions, in the former doclint would
be disabled, I can probably do that later today or tomorrow.
That way we would have doclint activated for jdk[6,7] and deactivated for
jdk8.
Tommaso
2015-04-07 12:23 GMT+02:00 Edward J. Yoon <ed...@samsung.com>:
> Hello,
>
> Recently I switched my system to use Java 8 by default and the hama project
> build failed with following error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar
>
> According to
> http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html, it
> seems we need to turn off doclint, or improve comments.
>
> I'll commit below as a short-term solution.
>
> Thanks.
>
> edward@tserver:/media/edward/disk/home/eddieyoon/workspace/hama-trunk$ svn
> diff
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 1671719)
> +++ pom.xml (working copy)
> @@ -472,10 +472,11 @@
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> - <version>2.8.1</version>
> + <version>2.9.1</version>
> <configuration>
> <aggregate>true</aggregate>
> <outputDirectory>docs/apidocs</outputDirectory>
> + <additionalparam>-Xdoclint:none</additionalparam>
> </configuration>
> <executions>
> <execution>
> --
> Best Regards, Edward J. Yoon
>
>
>
>
>
Re: Turn off doclint for jdk8
Posted by Tommaso Teofili <to...@gmail.com>.
we should rather use 2 separate maven profiles for that, one that is
triggered with jdk8 and one for other versions, in the former doclint would
be disabled, I can probably do that later today or tomorrow.
That way we would have doclint activated for jdk[6,7] and deactivated for
jdk8.
Tommaso
2015-04-07 12:23 GMT+02:00 Edward J. Yoon <ed...@samsung.com>:
> Hello,
>
> Recently I switched my system to use Java 8 by default and the hama project
> build failed with following error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar
>
> According to
> http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html, it
> seems we need to turn off doclint, or improve comments.
>
> I'll commit below as a short-term solution.
>
> Thanks.
>
> edward@tserver:/media/edward/disk/home/eddieyoon/workspace/hama-trunk$ svn
> diff
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 1671719)
> +++ pom.xml (working copy)
> @@ -472,10 +472,11 @@
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> - <version>2.8.1</version>
> + <version>2.9.1</version>
> <configuration>
> <aggregate>true</aggregate>
> <outputDirectory>docs/apidocs</outputDirectory>
> + <additionalparam>-Xdoclint:none</additionalparam>
> </configuration>
> <executions>
> <execution>
> --
> Best Regards, Edward J. Yoon
>
>
>
>
>