<div dir="ltr">Hi Tobias,<div><br></div><span style="font-size:12.8000001907349px">> I get the following errors when running with java 8</span><br style="font-size:12.8000001907349px">> ...<br><div>><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">> Works fine with java 7 and java 6.</span><br style="font-size:12.8000001907349px">><br style="font-size:12.8000001907349px"><div><span style="font-size:12.8000001907349px">> Is this a known problem?</span></div><div><br></div><div>Java 8's javadoc tool is much more stringent than previously, due to the addition of doclint checks [1].</div><div><br></div><div>I am ambivalent about making it easy to disable the doclint, because I think many of the new checks are valuable. However, some of the checks will take a lot of work to bring our code up to snuff -- e.g., the fact that @param, @return and @throws seem to be required now.</div><div><br></div><div>You can certainly disable it locally by passing "-Djavadoc.skip=true" to Maven from the CLI.</div><div><br></div><div>Please do not disable javadoc in the properties, because then Jenkins will fail to deploy the -javadoc artifact to the Maven repository.</div><div><br></div><div>Regards,</div><div>Curtis</div><div><br></div><div>[1] <a href="http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html">http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 9:46 AM, Tobias Pietzsch <span dir="ltr"><<a href="mailto:pietzsch@mpi-cbg.de" target="_blank">pietzsch@mpi-cbg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
when I try to build fiji project (specifically bigdataviewer-core) on the command line with<br>
<br>
mvn clean install<br>
<br>
I get the following errors when running with java 8<br>
...<br>
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project bigdataviewer-core: MavenReportException: Error while creating archive:<br>
[ERROR] Exit code: 1 - javadoc: warning - Error fetching URL: <a href="http://jenkins.imagej.net/view/Fiji/job/Saalfeld-MPICBG-Maven/javadoc/" target="_blank">http://jenkins.imagej.net/view/Fiji/job/Saalfeld-MPICBG-Maven/javadoc/</a><br>
[ERROR] /Users/pietzsch/workspace/BigDataViewer/bigdataviewer-core/src/main/java/bdv/viewer/Source.java:57: error: reference not found<br>
[ERROR] * Get the transform from the {@link #getSource(long) source} at timepoint<br>
[ERROR] ^<br>
…<br>
<br>
Works fine with java 7 and java 6.<br>
<br>
Is this a known problem?<br>
<br>
I saw that I can disable javadoc-plugin by setting<br>
<properties><br>
<javadoc.skip>true</javadoc.skip><br>
</properties><br>
in my pom. Is this the recommended workaround?<br>
<br>
best regards,<br>
Tobias<br>
<br>_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagej.net">ImageJ-devel@imagej.net</a><br>
<a href="http://imagej.net/mailman/listinfo/imagej-devel" target="_blank">http://imagej.net/mailman/listinfo/imagej-devel</a><br>
<br></blockquote></div><br></div>