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 MavenInstalling the artifact in local repo in Maven
We can use below command to install the artifact like jar, war file in local repository.
mvn install
Above command compiles the source files, runs the tests, packages the application and finally publishes or installs the jar file in the local maven repository as shown in below image. Here is the output of above example.
Web development and Automation testing
solutions delivered!!