MavenBuildOptions

data class MavenBuildOptions(@Json(name = "errorsEnabled") val errorsEnabled: Boolean, @Json(name = "maxNumberOfThreads") val maxNumberOfThreads: Int, @Json(name = "nonRecursiveEnabled") val nonRecursiveEnabled: Boolean, @Json(name = "noSnapshotsUpdatesEnabled") val noSnapshotsUpdatesEnabled: Boolean, @Json(name = "offlineModeEnabled") val offlineModeEnabled: Boolean, @Json(name = "updateSnapshotsEnabled") val updateSnapshotsEnabled: Boolean, @Json(name = "batchModeEnabled") val batchModeEnabled: Boolean? = null, @Json(name = "debugEnabled") val debugEnabled: Boolean? = null, @Json(name = "failAtEndEnabled") val failAtEndEnabled: Boolean? = null, @Json(name = "failFastEnabled") val failFastEnabled: Boolean? = null, @Json(name = "failNeverEnabled") val failNeverEnabled: Boolean? = null, @Json(name = "laxChecksumsEnabled") val laxChecksumsEnabled: Boolean? = null, @Json(name = "rerunGoalsEnabled") val rerunGoalsEnabled: Boolean? = null, @Json(name = "quietEnabled") val quietEnabled: Boolean? = null, @Json(name = "strictChecksumsEnabled") val strictChecksumsEnabled: Boolean? = null, @Json(name = "rerunGoals") val rerunGoals: Boolean? = null)

Maven build options for this build.

Parameters

errorsEnabled

Indicates whether the build is configured to produce execution error messages. See https://maven.apache.org/ref/current/maven-embedder/cli.html#errors.

maxNumberOfThreads

Maximum number of threads used when executing the build. See https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3.

nonRecursiveEnabled

Indicates whether the build is configured to not recurse into sub-projects. See https://maven.apache.org/ref/current/maven-embedder/cli.html#non-recursive.

noSnapshotsUpdatesEnabled

Indicates whether the build is configured to suppress snapshot updates. See https://maven.apache.org/ref/current/maven-embedder/cli.html#no-snapshot-updates.

offlineModeEnabled

Indicates whether the build is configured to run offline. See https://maven.apache.org/ref/current/maven-embedder/cli.html#offline.

updateSnapshotsEnabled

Indicates whether the build is configured to force a check for missing releases and updated snapshots on remote repositories. See https://maven.apache.org/ref/current/maven-embedder/cli.html#update-snapshots.

batchModeEnabled

Indicates whether the build is configured to run in non-interactive (batch) mode. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#batch-mode.

debugEnabled

Indicates whether the build is configured to produce execution debug output. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#debug.

failAtEndEnabled

Indicates whether the build is configured to only fail at the end. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#fail-at-end.

failFastEnabled

Indicates whether the build is configured to fail at the first error. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#fail-fast.

failNeverEnabled

Indicates whether the build is configured to never fail, regardless of errors produced. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#fail-never.

laxChecksumsEnabled

Indicates whether the build is configured to only warn if checksums don't match. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#lax-checksums.

rerunGoalsEnabled

Indicates whether the build is configured to rerun goals without checking the build cache. null if Develocity Maven extension version is <1.13. See https://gradle.com/help/maven-extension-rerunning-goals.

quietEnabled

Indicates whether the build is configured to run in quiet mode. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#quiet.

strictChecksumsEnabled

Indicates whether the build is configured to fail if checksums don't match. null if capturing is not possible. See https://maven.apache.org/ref/current/maven-embedder/cli.html#strict-checksums.

rerunGoals

This property is deprecated, use rerunGoalsEnabled instead. Indicates whether the build is configured to rerun goals without checking the build cache. null if Develocity Maven extension version is <1.13. See https://gradle.com/help/maven-extension-rerunning-goals.

Constructors

Link copied to clipboard
constructor(@Json(name = "errorsEnabled") errorsEnabled: Boolean, @Json(name = "maxNumberOfThreads") maxNumberOfThreads: Int, @Json(name = "nonRecursiveEnabled") nonRecursiveEnabled: Boolean, @Json(name = "noSnapshotsUpdatesEnabled") noSnapshotsUpdatesEnabled: Boolean, @Json(name = "offlineModeEnabled") offlineModeEnabled: Boolean, @Json(name = "updateSnapshotsEnabled") updateSnapshotsEnabled: Boolean, @Json(name = "batchModeEnabled") batchModeEnabled: Boolean? = null, @Json(name = "debugEnabled") debugEnabled: Boolean? = null, @Json(name = "failAtEndEnabled") failAtEndEnabled: Boolean? = null, @Json(name = "failFastEnabled") failFastEnabled: Boolean? = null, @Json(name = "failNeverEnabled") failNeverEnabled: Boolean? = null, @Json(name = "laxChecksumsEnabled") laxChecksumsEnabled: Boolean? = null, @Json(name = "rerunGoalsEnabled") rerunGoalsEnabled: Boolean? = null, @Json(name = "quietEnabled") quietEnabled: Boolean? = null, @Json(name = "strictChecksumsEnabled") strictChecksumsEnabled: Boolean? = null, @Json(name = "rerunGoals") rerunGoals: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val debugEnabled: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val quietEnabled: Boolean? = null
Link copied to clipboard
val rerunGoals: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard