Project documentation in Maven

We know that javadoc tool can be used to create the documentation for a project. Maven provides one plugin that can be used to create project documentation using javadoc tool. You need to use below section in POM.xml to use maven javadoc plugin.
Then you can invoke below maven goal to generate the Java API documentation for your project.

mvn javadoc:javadoc

After this goal is executed, documentation is generated under target/site/apidocs directory.

Web development and Automation testing

solutions delivered!!