mvn clean package
mvn clean site
Don’t forget to set your username for git in your settings.xml file
Note: Will only work for the owners of the repository