Add compile-javadoc profile.