Package org.apache.maven.api.feature
Class Features
java.lang.Object
org.apache.maven.api.feature.Features
Centralized class for Maven Core feature information.
Features configured are supposed to be final in a given maven session.
- Since:
- 4.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name of the Maven user property to enable or disable the build/consumer POM feature. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
buildConsumer
(Map<String, String> userProperties) Check if the build/consumer POM feature is active.static boolean
buildConsumer
(Properties userProperties) Check if the build/consumer POM feature is active.static boolean
buildConsumer
(Session session) Check if the build/consumer POM feature is active.
-
Field Details
-
BUILDCONSUMER
Name of the Maven user property to enable or disable the build/consumer POM feature. TODO: v4: remove experimental bit- See Also:
-
-
Method Details
-
buildConsumer
Check if the build/consumer POM feature is active. -
buildConsumer
Check if the build/consumer POM feature is active. -
buildConsumer
Check if the build/consumer POM feature is active.
-