Background: I have a project that compiles fine with maven in a machine with java 1.7.0, but the javadoc compilation fails in another machine, which has java 1.8.0. From the log of maven, I can see that one is using the "Standard DocLet version 1.7.0_40", while the other is using "Standard DocLet version 1.8.0".
The question is: How can I tell maven to use the correct version of the Standard DocLet?
I've already set the source code and target version both to 1.7 in the maven-compiler-plugin.
I would suggest to take a look into the documentation of maven-javadoc-plugin which describes as you should define the version for the doclets.