MavenExtension

data class MavenExtension(@Json(name = "type") val type: MavenExtension.Type, @Json(name = "groupId") val groupId: String? = null, @Json(name = "artifactId") val artifactId: String? = null, @Json(name = "version") val version: String? = null)

Parameters

type

The extension application type. * CORE - A core extension, provided in the lib folder of the Maven installation. * MAVEN_EXT_CLASSPATH - A core extension provided via the -Dmaven.ext.class.path system property. * LIB_EXT - A core extension, provided in the lib/ext folder of the Maven installation. * PROJECT - A project extension, provided via a declaration in .mvn/extensions.xml in the Maven working directory. * POM - A build extension, provided via a declaration in the build section of the top level project pom.xml * UNKNOWN - An extension for which none of the other types match.

groupId

The extension group ID. May be null if it cannot be retrieved by the Develocity extension.

artifactId

The extension artifact ID. May be null if it cannot be retrieved by the Develocity extension.

version

The extension version. May be null if it cannot be retrieved by the Develocity extension.

Constructors

Link copied to clipboard
constructor(@Json(name = "type") type: MavenExtension.Type, @Json(name = "groupId") groupId: String? = null, @Json(name = "artifactId") artifactId: String? = null, @Json(name = "version") version: String? = null)

Types

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum Type : Enum<MavenExtension.Type>

The extension application type. * CORE - A core extension, provided in the lib folder of the Maven installation. * MAVEN_EXT_CLASSPATH - A core extension provided via the -Dmaven.ext.class.path system property. * LIB_EXT - A core extension, provided in the lib/ext folder of the Maven installation. * PROJECT - A project extension, provided via a declaration in .mvn/extensions.xml in the Maven working directory. * POM - A build extension, provided via a declaration in the build section of the top level project pom.xml * UNKNOWN - An extension for which none of the other types match.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard