Maven TutorialIntroduction 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 Maven
Installation of MavenMaven can be downloaded from Apache official Website. You will need Java-JDK on your system before you start installing Maven. On windows system, you just need to extract the zip file.
Configuring environmental variablesYou will need to set up 3 environment variables as shown below.
You also need to update the PATH variable as shown below.
M2_HOME – C:\maven\apache-maven-3.3.9 MAVEN_HOME – C:\maven\apache-maven-3.3.9
PATH = %PATH%;M2_HOME/bin
Web development and Automation testing