Skip to content
Docs Try Aspire

MavenOptions Properties

Class Properties 3 members
Represents the options for configuring a Maven build step.
Args Section titled Args string[]
Gets or sets the arguments to pass to the command. Default is "--quiet clean package".
public string[] Args { get; set; }
Gets or sets the command to execute. Default is "mvnw".
public string Command { get; set; }
WorkingDirectory Section titled WorkingDirectory nullable string?
Gets or sets the working directory to use for the command. If null, the working directory of the current process is used.
public string? WorkingDirectory { get; set; }