Maven Profiles

There are following maven profiles:

Examples

Enable Integration Tests

mvn goal -P execITs

Disable Static Code Analysis

mvn goal -P !staticCodeAnalysis

Disable Tests

mvn goal -P skipTests

Information

Introduction to Maven profiles

To enable profiles use

mvn goal -P profile-1,profile-2

To disable profiles use

mvn goal -P !profile-1,!profile-2