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
  • Constructor Details

    • Features

      private Features()
  • 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.
    • doGet

      private static boolean doGet(Properties userProperties, String key, boolean def)
    • doGet

      private static boolean doGet(Map<String,?> userProperties, String key, boolean def)
    • doGet

      private static boolean doGet(Object val, boolean def)