Class Features

java.lang.Object
org.apache.maven.api.feature.Features

public final class Features extends Object
Centralized class for Maven Core feature information. Features configured are supposed to be final in a given maven session.
Since:
4.0.0
  • Method Details

    • consumerPom

      public static boolean consumerPom(@Nullable Properties userProperties)
      Check if the consumer POM feature is active.
    • consumerPom

      public static boolean consumerPom(@Nullable Map<String,String> userProperties, boolean def)
      Check if the consumer POM feature is active.