MavenAttributes

constructor(@Json(name = "id") id: String, @Json(name = "buildStartTime") buildStartTime: Long, @Json(name = "buildDuration") buildDuration: Long, @Json(name = "mavenVersion") mavenVersion: String, @Json(name = "extensionVersion") extensionVersion: String, @Json(name = "requestedGoals") requestedGoals: List<String>, @Json(name = "hasFailed") hasFailed: Boolean, @Json(name = "tags") tags: List<String>, @Json(name = "values") propertyValues: List<BuildAttributesValue>, @Json(name = "links") links: List<BuildAttributesLink>, @Json(name = "gradleEnterpriseSettings") gradleEnterpriseSettings: MavenGradleEnterpriseSettings, @Json(name = "develocitySettings") develocitySettings: MavenDevelocitySettings, @Json(name = "buildOptions") buildOptions: MavenBuildOptions, @Json(name = "environment") environment: BuildAttributesEnvironment, @Json(name = "topLevelProjectName") topLevelProjectName: String? = null, @Json(name = "hasVerificationFailure") hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") hasNonVerificationFailure: Boolean? = null)

Parameters

id

The Build Scan ID.

buildStartTime

The time when the build starts, as milliseconds since Epoch.

buildDuration

The duration of the build, as milliseconds since Epoch.

mavenVersion

The Maven version used.

extensionVersion

The Develocity Maven extension version used.

requestedGoals

The list of requested goals.

hasFailed

True when the build fails, false otherwise.

tags

The list of Build Scan tags.

propertyValues

The list of Build Scan values.

links

The list of Build Scan links.

gradleEnterpriseSettings
develocitySettings
buildOptions
environment
topLevelProjectName

The top level project name. null in case of very early build failure.

hasVerificationFailure

Set only if the build fails: true when the build has at least one failure classified as \"Verification\", false otherwise. The Verification classification is meant for failures that are expected within a standard application development lifecycle. They typically represent a problem with the developer’s inputs to the build such as the source code.

hasNonVerificationFailure

Set only if the build fails: true when the build has at least one failure classified as \"Non-verification\", false otherwise. The Non-verification classification is meant for failures that are typically not expected within a standard application development lifecycle, such as build configuration failures, dependency resolution failures, and infrastructure failures.