Once a site report is generated, it needs to be published. While this can be done manually, Maven also provides facilities to do this. Let us see how.
To publish a site, you need to have access to the web server where the site has to be deployed.
To deploy a site, use the following steps:
pom.xmlfile. This could also be added in
<distributionManagement> <site> <id>myorg</id> <url>scp://www.myorg.com/project/</url> </site> </distributionManagement>
<servers> <server> <id>myorg</id> <username>username</username> <password>password</password> <filePermissions>664</filePermissions> ...