java.lang.Object
org.apache.maven.resolver.internal.ant.Names

public final class Names extends Object
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 Details

    • ID

      public static final String ID
      Namespace prefix used by the resolver: "resolver".
      See Also:
    • ID_DEFAULT_REPOS

      public static final String ID_DEFAULT_REPOS
      Default ID for the shared repository list: "resolver.repositories".
      See Also:
    • ID_DEFAULT_POM

      public static final String ID_DEFAULT_POM
      Default ID for the shared POM reference: "resolver.pom".
      See Also:
    • ID_CENTRAL

      public static final String ID_CENTRAL
      Canonical ID for Maven Central repository: "central".
      See Also:
    • PROPERTY_OFFLINE

      public static final String PROPERTY_OFFLINE
      Property name for controlling offline mode: "resolver.offline".
      See Also:
    • SETTINGS_XML

      public static final String SETTINGS_XML
      Default filename for the Maven settings file: "settings.xml".
      See Also: