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 Mavenjar dependency in Maven
Sometimes, you need to add the jar file (not available in repository but available on system) as a dependency in your project. To include such jar file, you need to put that file in \src\lib directory of your project. After that, you have to add below XML section inside dependencies element in POM.XML file.
<dependency>
<groupId>org.softpost</groupId>
<artifactId>abc</artifactId>
<scope>system</scope>
<version>1.7</version>
<systemPath>${basedir}srclibabc.jar</systemPath>
</dependency>
Web development and Automation testing
solutions delivered!!