CoreExtensions

This is a reference for the Core Extensions descriptor.

The default location for the Core Extensions descriptor file is ${maven.projectBasedir}/.mvn/extensions.xml

<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.1.0 http://maven.apache.org/xsd/core-extensions-1.1.0.xsd">
  <extension>
    <groupId/>
    <artifactId/>
    <version/>
    <classLoadingStrategy/>
  </extension>
</extensions>

extensions

Extensions to load.

Element Type Description
extension* List<CoreExtension> (Many) A set of build extensions to use from this project.

extension

Describes a build extension to utilise.

Element Type Description
groupId String The group ID of the extension's artifact.
artifactId String The artifact ID of the extension.
version String The version of the extension.
classLoadingStrategy String The class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
Default value is: self-first.