Home All courses
Online TrainingContact UsAbout Us
Over lay
Table of Contents

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 Maven

Skipping tests in Maven

Sometimes, we need to skip the tests while executing the maven goals. We can skip the tests in 2 ways.
  • Using command line parameter
  • Using surefire plugin configuration in POM file
We can use below command to skip the tests
 
mvn install -DskipTests

Or you can also configure Surefire plugin in POM file as depicted below.

<configuration>
<skipTests>true</skipTests>
</configuration>

Web development and Automation testing

solutions delivered!!

Logo
Courses
  • Automation Testing
About
  • About Me
Social Media
Copyright 2025 @ www.softpost.org