-
-
-
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.
-
packaging
String packaging
Specifies that this profile will be activated based on the project's packaging.
-
property
ActivationProperty property
Specifies that this profile will be activated when this property is specified.
-
-
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.
-
-
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.
-
-
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.
-
-
-
-
-
Serialized Fields
-
blocked
boolean blocked
Whether this mirror should be blocked from any download request but fail the download process, explaining why.
Default value is: false
Since: Maven 3.8.0
-
layout
String layout
The layout of the mirror repository.
- Since:
- Maven 3.
-
mirrorOf
String mirrorOf
A repository id or (since Maven 2.0.9) an expression matching one or many repository ids to mirror, e.g.,
central
or
*,!repo1
.
*
(since Maven 2.0.5),
external:*
(since Maven 2.0.9) and
external:http:*
(since Maven 3.8.0) have
a special meaning: see
Mirror Settings guide.
-
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.
-
-
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.
-
-
Serialized Fields
-
activeString
String activeString
Whether this proxy configuration is the active one. Note: While the type of this field
is String
for technical reasons, the semantic type is actually boolean
.
- See Also:
-
-
host
String host
The proxy host.
-
nonProxyHosts
String nonProxyHosts
The list of non-proxied hosts (delimited by |
).
-
password
String password
The proxy password.
-
portString
String portString
The proxy port. Note: While the type of this field is String
for technical
reasons, the semantic type is actually int
.
- See Also:
-
-
protocol
String protocol
The proxy protocol.
-
username
String username
The proxy user.
-
-
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
-
-
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.
-
-
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).
-
-
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.
-
-
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
-
namespaceUri
String namespaceUri
-
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.
-