Maven Tutorial
Introduction to Maven Installation and environment configuration Maven settings Standard directory structure in Maven project command line IntelliJ IDEA Super POM and Parent POM Understanding POM.xml file Declaring maven dependencies Dependency management using repositories in Maven Adding jar file as a dependency in Maven Maven archetypes Maven build life cycle, phases and goals Generating project API documentation Generating Site documentation for a project Installing artifacts in local repository Deploying the artifact on remote repository Maven plug-ins surefire plugin compiler plugin Profiles in MavenExecuting Maven phases and goals through command prompt Maven command line optionsexec-maven-plugin usage Skipping tests in Maven Test execution report in MavenSite 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 projectWeb development and Automation testing
solutions delivered!!