Class Names
java.lang.Object
org.apache.maven.resolver.internal.ant.Names
Centralized constants used throughout the Maven Resolver Ant tasks.
This class defines symbolic names for commonly used IDs, property keys, and filenames used in the integration with Ant, such as default repository identifiers, offline mode flags, and POM registration keys.
This class is not intended to be instantiated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNamespace prefix used by the resolver:"resolver".static final StringCanonical ID for Maven Central repository:"central".static final StringDefault ID for the shared POM reference:"resolver.pom".static final StringDefault ID for the shared repository list:"resolver.repositories".static final StringProperty name for enabling the transitive dependency manager:"resolver.dependencyManagerTransitivity".static final StringProperty name for controlling offline mode:"resolver.offline".static final StringDefault filename for the Maven settings file:"settings.xml". -
Method Summary
-
Field Details
-
ID
Namespace prefix used by the resolver:"resolver".- See Also:
-
ID_DEFAULT_REPOS
Default ID for the shared repository list:"resolver.repositories".- See Also:
-
ID_DEFAULT_POM
Default ID for the shared POM reference:"resolver.pom".- See Also:
-
ID_CENTRAL
Canonical ID for Maven Central repository:"central".- See Also:
-
PROPERTY_OFFLINE
Property name for controlling offline mode:"resolver.offline".- See Also:
-
PROPERTY_DEPENDENCY_MANAGER_TRANSITIVITY
Property name for enabling the transitive dependency manager:"resolver.dependencyManagerTransitivity".Defaults to
false, which applies dependency management the way Maven 3 does. Setting it totruemakes the dependency management of transitive dependencies apply to their own subtrees, matching Maven 4. The equivalent Maven property ismaven.resolver.dependencyManagerTransitivity.- See Also:
-
SETTINGS_XML
Default filename for the Maven settings file:"settings.xml".- See Also:
-