O'Reilly logo

Apache Maven Cookbook by Raghuram Bharathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Essential Maven Plugins

In this chapter, we will look at the following recipes:

  • Using the Maven Clean plugin
  • Using the Maven Compiler plugin
  • Changing the compiler used by the Maven Compiler plugin
  • Specifying the Java version for the Compiler plugin
  • Using the Maven Surefire plugin to run unit tests
  • Using the Maven Failsafe plugin to run integration tests
  • Using the Maven Resources plugin
  • Filtering using resources
  • Using Eclipse to run Maven goals
  • Using NetBeans to run Maven goals
  • Using IntelliJ IDEA to run Maven goals

Introduction

In the previous chapter, we learned about the Maven lifecycle and the phases and goals of the lifecycle, understood the essential elements of the pom project configuration file and the settings file, and learned to use Maven ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required