Closed moriarty closed 8 years ago
FYI, system & java info.
$ mvn -V
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-22-generic", arch: "amd64", family: "unix"
Thanks for the contribution.
I cannot reproduce the problem and I'm using Java8, but I have also a Java 7 installation. Perhaps, this have precedence over the Java 8 one (though the mvn reports Java 8 and javadoc is also the proper one by default).
It would also indeed break Java 7 builds. So we have to use profiles or other means until the problems are fixed.
I enabled also building against JDK8 in travis. Let's see what comes out of this.
:+1:
I fixed all errors, there are still warnings but the build passes according to Travis. The change to switch off the Javadoc linter is IMO no longer necessary. Thanks for initiating this.
Great :+1 fixing the issues is better than turning off javadoc
mvn package
failed. Google found this:http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
Better alternative is updating the javadocs which fail. Which is why I added "for now".
I haven't tested if this is backwards compatible with older versions of Java.