The maven-javadoc-plugin can be used to generate a javadoc jarW file for a project that can then be deployed to a remote mavenSW repository so that other developers can download the javadocs for the project. Setup to do this is very easy. We can simple add an entry in pom.xml for the "maven-javadoc-plugin" and specify the "jar" goal, which is the goal responsible for building the javadoc jar file. An example of this is shown here:

After the command has finished, we can see that the target directory contains the normal jar artifact (aproject-1.2.jar), the source jar (aproject-1.2-sources.jar), and the javadoc jar (aproject-1.2-javadoc.jar).