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

    • BUILDCONSUMER

      public static final String BUILDCONSUMER
      Name of the Maven user property to enable or disable the build/consumer POM feature.
      See Also:
  • Method Details

    • buildConsumer

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

      public static boolean buildConsumer(@Nullable Map<String,String> userProperties)
      Check if the build/consumer POM feature is active.
    • buildConsumer

      public static boolean buildConsumer(@Nullable Session session)
      Check if the build/consumer POM feature is active.