Example usage for org.apache.maven.profiles ProfileManager explicitlyDeactivate

List of usage examples for org.apache.maven.profiles ProfileManager explicitlyDeactivate

Introduction

In this page you can find the example usage for org.apache.maven.profiles ProfileManager explicitlyDeactivate.

Prototype

void explicitlyDeactivate(List<String> profileIds);

Source Link

Usage

From source file:org.jetbrains.maven.embedder.MavenEmbedder.java

License:Apache License

private ProfileManager createProfileManager(List<String> activeProfiles, List<String> inactiveProfiles,
        Properties executionProperties) {
    ProfileManager profileManager = new DefaultProfileManager(getContainer(), executionProperties);
    profileManager.explicitlyActivate(activeProfiles);
    profileManager.explicitlyDeactivate(inactiveProfiles);
    return profileManager;
}