Skip to content

Instantly share code, notes, and snippets.

@wallentx
Created August 28, 2024 21:46
Show Gist options
  • Save wallentx/fc9cbdd6d7c6ccbf1750dc255a5465c3 to your computer and use it in GitHub Desktop.
Save wallentx/fc9cbdd6d7c6ccbf1750dc255a5465c3 to your computer and use it in GitHub Desktop.
Settings:
- key: localRepository
version: 1.0.0
type: string
description: "The local repository. Default value is: ${user.home}/.m2/repository"
- key: interactiveMode
version: 1.0.0
type: boolean
description: "Whether Maven should attempt to interact with the user for input."
default: true
- key: usePluginRegistry
version: 1.0.0
type: boolean
description: "Whether Maven should use the plugin-registry.xml file to manage plugin versions."
default: false
- key: offline
version: 1.0.0
type: boolean
description: "Indicate whether Maven should operate in offline mode full-time."
default: false
- key: proxies
version: 1.0.0
type: sequence
description: " Proxy | Configuration for different proxy profiles."
- key: servers
version: 1.0.0
type: sequence
description: " Server | Configuration of server-specific settings, mainly authentication method."
- key: mirrors
version: 1.0.0
type: sequence
description: " Mirror | Configuration of download mirrors for repositories."
- key: profiles
version: 1.0.0
type: sequence
description: " Profile | Configuration of build profiles for adjusting the build according to environmental parameters."
- key: activeProfiles
version: 1.0.0
type: sequence
description: " string | List of manually-activated build profiles, specified in the order in which they should be applied."
- key: pluginGroups
version: 1.0.0
type: sequence
description: " string | List of groupIds to search for a plugin when that plugin groupId is not explicitly provided."
Proxy:
- key: active
version: 1.0.0
type: boolean
description: "Whether this proxy configuration is the active one."
default: true
- key: protocol
version: 1.0.0
type: string
description: "The proxy protocol."
default: http
- key: username
version: 1.0.0
type: string
description: "The proxy user."
- key: password
version: 1.0.0
type: string
description: "The proxy password."
- key: port
version: 1.0.0
type: int
description: "The proxy port."
default: 8080
- key: host
version: 1.0.0
type: string
description: "The proxy host."
- key: nonProxyHosts
version: 1.0.0
type: string
description: "The list of non-proxied hosts (delimited by |)."
- key: id
version: 1.0.0
type: string
description: "default: default"
Server:
- key: username
version: 1.0.0
type: string
description: "The username used to authenticate."
- key: password
version: 1.0.0
type: string
description: "The password used in conjunction with the username to authenticate."
- key: privateKey
version: 1.0.0
type: string
description: "The private key location used to authenticate."
- key: passphrase
version: 1.0.0
type: string
description: "The passphrase used in conjunction with the privateKey to authenticate."
- key: filePermissions
version: 1.0.0
type: string
description: "The permissions for files when they are created."
- key: directoryPermissions
version: 1.0.0
type: string
description: "The permissions for directories when they are created."
- key: configuration
version: 0.0.0
type: complex
description: "e | Extra configuration for the transport layer."
- key: id
version: 1.0.0
type: string
description: "default: default"
Mirror:
- key: mirrorOf
version: 1.0.0
type: string
description: "The server ID of the repository being mirrored, e.g., 'central'. This MUST NOT match the mirror id."
- key: name
version: 1.0.0
type: string
description: "The optional name that describes the mirror."
- key: url
version: 1.0.0
type: string
description: "The URL of the mirror repository."
- key: layout
version: 1.1.0
type: string
description: "The layout of the mirror repository. Since Maven 3."
default: default
- key: mirrorOfLayouts
version: 1.1.0
type: string
description: "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."
default: default,legacy
- key: blocked
version: 1.2.0
type: boolean
description: "Whether this mirror should be blocked from any download request but fail the download process, explaining why."
default: false
- key: id
version: 1.0.0
type: string
description: "default: default"
Profile:
- key: activation
version: 1.0.0
type: Activation
description: "The conditional logic which will automatically trigger the inclusion of this profile."
- key: properties
version: 0.0.0
type: complex
description: "e | Extended configuration specific to this profile goes here. Contents take the form of <property.name>property.value</property.name>."
- key: repositories
version: 1.0.0
type: complex
description: "e | The lists of the remote repositories."
- key: pluginRepositories
version: 1.0.0
type: complex
description: "e | The lists of the remote repositories for discovering plugins."
- key: id
version: 1.0.0
type: string
description: "default: default"
Repository:
- key: releases
version: 1.0.0
type: Repository
description: "icy | How to handle downloading of releases from this repository."
- key: snapshots
version: 1.0.0
type: Repository
description: "icy | How to handle downloading of snapshots from this repository."
- key: id
version: 1.0.0
type: string
description: "A unique identifier for a repository."
- key: name
version: 1.0.0
type: string
description: "Human readable name of the repository."
- key: url
version: 1.0.0
type: string
description: "The URL of the repository."
- key: layout
version: 1.0.0
type: string
description: "The type of layout this repository uses for locating and storing artifacts - can be 'legacy' or 'default'."
default: default
RepositoryPolicy:
- key: enabled
version: 1.0.0
type: boolean
description: "Whether to use this repository for downloading this type of artifact."
default: true
- key: updatePolicy
version: 1.0.0
type: string
description: "The frequency for downloading updates - can be 'always', 'daily' (default), 'interval:XXX' (in minutes), or 'never' (only if it doesn't exist locally)."
- key: checksumPolicy
version: 1.0.0
type: string
description: "What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are 'fail' or 'warn'."
Activation:
- key: activeByDefault
version: 1.0.0
type: boolean
description: "Flag specifying whether this profile is active as a default."
default: false
- key: jdk
version: 1.0.0
type: string
description: "Specifies that this profile will be activated when a matching JDK is detected."
- key: os
version: 1.0.0
type: Activation
description: "| Specifies that this profile will be activated when matching OS attributes are detected."
- key: property
version: 1.0.0
type: Activation
description: "perty | Specifies that this profile will be activated when this System property is specified."
- key: file
version: 1.0.0
type: Activation
description: "e | Specifies that this profile will be activated based on existence of a file."
ActivationOS:
- key: name
version: 1.0.0
type: string
description: "The name of the OS to be used to activate a profile."
- key: family
version: 1.0.0
type: string
description: "The general family of the OS to be used to activate a profile (e.g., 'windows')."
- key: arch
version: 1.0.0
type: string
description: "The architecture of the OS to be used to activate a profile."
- key: version
version: 1.0.0
type: string
description: "The version of the OS to be used to activate a profile."
ActivationProperty:
- key: name
version: 1.0.0
type: string
description: "The name of the property to be used to activate a profile."
- key: value
version: 1.0.0
type: string
description: "The value of the property to be used to activate a profile."
ActivationFile:
- key: missing
version: 1.0.0
type: string
description: "The name of the file that should be missing to activate a profile."
- key: exists
version: 1.0.0
type: string
description: "The name of the file that should exist to activate a profile."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment