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 <[email protected]>: > 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 > > > > >
