Site documentation in Maven

We can generate the project site using below command in Maven.
 
mvn site

Above command creates the site files under target/site directory. Deploying the site documentation to remote server We can deploy the generated site using below goal.
 
mvn site-deploy

For above command to work, you will need to have credentials of the server in settings.xml file and also deployment URL in <distributionManagement> tag. Otherwise, you will get error saying….. Missing distribution management in project

Web development and Automation testing

solutions delivered!!