MavenBuildOptions

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 = "rerunGoals") rerunGoals: Boolean? = null, @Json(name = "rerunGoalsEnabled") rerunGoalsEnabled: Boolean? = null, @Json(name = "quietEnabled") quietEnabled: Boolean? = null, @Json(name = "strictChecksumsEnabled") strictChecksumsEnabled: Boolean? = null)

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.

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://docs.gradle.com/enterprise/maven-extension/#rerunning_goals.

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://docs.gradle.com/enterprise/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.