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
Skipping tests in MavenSometimes, 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
Or you can also configure Surefire plugin in POM file as depicted below.
mvn install -DskipTests
<configuration> <skipTests>true</skipTests> </configuration>
Web development and Automation testing