Serialized Form

  • Package org.apache.maven.api.settings

    • Class org.apache.maven.api.settings.Activation

      class Activation extends Object implements Serializable
      • Serialized Fields

        • activeByDefault
          boolean activeByDefault
          Flag specifying whether this profile is active as a default.
        • file
          ActivationFile file
          Specifies that this profile will be activated based on existence of a file.
        • jdk
          String jdk
          Specifies that this profile will be activated when a matching JDK is detected.
        • locations
          Map<Object,InputLocation> locations
          Locations
        • os
          ActivationOS os
          Specifies that this profile will be activated when matching OS attributes are detected.
        • property
          ActivationProperty property
          Specifies that this profile will be activated when this property is specified.
    • Class org.apache.maven.api.settings.ActivationFile

      class ActivationFile extends Object implements Serializable
      • Serialized Fields

        • exists
          String exists
          The name of the file that should exist to activate a profile.
        • locations
          Map<Object,InputLocation> locations
          Locations
        • missing
          String missing
          The name of the file that should be missing to activate a profile.
    • Class org.apache.maven.api.settings.ActivationOS

      class ActivationOS extends Object implements Serializable
      • Serialized Fields

        • arch
          String arch
          The architecture of the OS to be used to activate a profile.
        • family
          String family
          The general family of the OS to be used to activate a profile (e.g. 'windows')
        • locations
          Map<Object,InputLocation> locations
          Locations
        • name
          String name
          The name of the OS to be used to activate a profile.
        • version
          String version
          The version of the OS to be used to activate a profile.
    • Class org.apache.maven.api.settings.ActivationProperty

      class ActivationProperty extends Object implements Serializable
      • Serialized Fields

        • locations
          Map<Object,InputLocation> locations
          Locations
        • name
          String name
          The name of the property to be used to activate a profile.
        • value
          String value
          The value of the property to be used to activate a profile.
    • Class org.apache.maven.api.settings.IdentifiableBase

      class IdentifiableBase extends TrackableBase implements Serializable
      • Serialized Fields

    • Class org.apache.maven.api.settings.InputLocation

      class InputLocation extends Object implements Serializable
    • Class org.apache.maven.api.settings.InputSource

      class InputSource extends Object implements Serializable
      • Serialized Fields

    • Class org.apache.maven.api.settings.Mirror

      class Mirror extends IdentifiableBase implements Serializable
      • Serialized Fields

        • blocked
          boolean blocked
          Whether this mirror should be blocked from any download request but fail the download process, explaining why.
        • layout
          String layout
          The layout of the mirror repository. Since Maven 3.
        • mirrorOf
          String mirrorOf
          The server ID of the repository being mirrored, e.g., "central". This MUST NOT match the mirror id.
        • mirrorOfLayouts
          String mirrorOfLayouts
          The layouts of repositories being mirrored. This value can be used to restrict the usage of the mirror to repositories with a matching layout (apart from a matching id). Since Maven 3.
        • name
          String name
          The optional name that describes the mirror.
        • url
          String url
          The URL of the mirror repository.
    • Class org.apache.maven.api.settings.Profile

      class Profile extends IdentifiableBase implements Serializable
      • Serialized Fields

        • activation
          Activation activation
          The conditional logic which will automatically trigger the inclusion of this profile.
        • pluginRepositories
          List<Repository> pluginRepositories
          The lists of the remote repositories for discovering plugins.
        • properties
          Map<String,String> properties
          Extended configuration specific to this profile goes here. Contents take the form of <property.name>property.value</property.name>
        • repositories
          List<Repository> repositories
          The lists of the remote repositories.
    • Class org.apache.maven.api.settings.Proxy

      class Proxy extends IdentifiableBase implements Serializable
      • Serialized Fields

        • active
          boolean active
          Whether this proxy configuration is the active one.
        • host
          String host
          The proxy host.
        • nonProxyHosts
          String nonProxyHosts
          The list of non-proxied hosts (delimited by |).
        • password
          String password
          The proxy password.
        • port
          int port
          The proxy port.
        • protocol
          String protocol
          The proxy protocol.
        • username
          String username
          The proxy user.
    • Class org.apache.maven.api.settings.Repository

      class Repository extends RepositoryBase implements Serializable
      • Serialized Fields

        • releases
          RepositoryPolicy releases
          How to handle downloading of releases from this repository
        • snapshots
          RepositoryPolicy snapshots
          How to handle downloading of snapshots from this repository
    • Class org.apache.maven.api.settings.RepositoryBase

      class RepositoryBase extends IdentifiableBase implements Serializable
      • Serialized Fields

        • layout
          String layout
          The type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".
        • name
          String name
          Human readable name of the repository.
        • url
          String url
          The url of the repository.
    • Class org.apache.maven.api.settings.RepositoryPolicy

      class RepositoryPolicy extends Object implements Serializable
      • Serialized Fields

        • checksumPolicy
          String checksumPolicy
          What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and above), "warn" (default for Maven 2 and 3) or "ignore".
        • enabled
          boolean enabled
          Whether to use this repository for downloading this type of artifact.
        • locations
          Map<Object,InputLocation> locations
          Locations
        • updatePolicy
          String updatePolicy
          The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or "never" (only if it doesn't exist locally).
    • Class org.apache.maven.api.settings.Server

      class Server extends IdentifiableBase implements Serializable
      • Serialized Fields

        • configuration
          XmlNode configuration
          Extra configuration for the transport layer.
        • directoryPermissions
          String directoryPermissions
          The permissions for directories when they are created.
        • filePermissions
          String filePermissions
          The permissions for files when they are created.
        • passphrase
          String passphrase
          The passphrase used in conjunction with the privateKey to authenticate.
        • password
          String password
          The password used in conjunction with the username to authenticate.
        • privateKey
          String privateKey
          The private key location used to authenticate.
        • username
          String username
          The username used to authenticate.
    • Class org.apache.maven.api.settings.Settings

      class Settings extends TrackableBase implements Serializable
      • Serialized Fields

        • activeProfiles
          List<String> activeProfiles
          List of manually-activated build profiles, specified in the order in which they should be applied.
        • interactiveMode
          boolean interactiveMode
          Whether Maven should attempt to interact with the user for input.
        • localRepository
          String localRepository
          The local repository.
          Default value is: ${user.home}/.m2/repository
        • mirrors
          List<Mirror> mirrors
          Configuration of download mirrors for repositories.
        • modelEncoding
          String modelEncoding
        • offline
          boolean offline
          Indicate whether maven should operate in offline mode full-time.
        • pluginGroups
          List<String> pluginGroups
          List of groupIds to search for a plugin when that plugin groupId is not explicitly provided.
        • pluginRepositories
          List<Repository> pluginRepositories
          The lists of the remote repositories for discovering plugins.
        • profiles
          List<Profile> profiles
          Configuration of build profiles for adjusting the build according to environmental parameters.
        • proxies
          List<Proxy> proxies
          Configuration for different proxy profiles. Multiple proxy profiles might come in handy for anyone working from a notebook or other mobile platform, to enable easy switching of entire proxy configurations by simply specifying the profile id, again either from the command line or from the defaults section below.
        • repositories
          List<Repository> repositories
          The lists of the remote repositories.
        • servers
          List<Server> servers
          Configuration of server-specific settings, mainly authentication method. This allows configuration of authentication on a per-server basis.
        • usePluginRegistry
          boolean usePluginRegistry
          Whether Maven should use the plugin-registry.xml file to manage plugin versions.
    • Class org.apache.maven.api.settings.TrackableBase

      class TrackableBase extends Object implements Serializable
      • Serialized Fields