Skip to content
DocsTry Aspire
DocsTry

JavaAppExecutableResource.withMavenGoal

Method
📦 CommunityToolkit.Aspire.Hosting.Java v13.4.0
interface JavaAppExecutableResource {
// ... omitted for brevity
withMavenGoal(
goal: string,
args: string[]): JavaAppExecutableResource;
}

Signature

methodwithMavenGoalbuilder
Configures the Java application to run using a Maven goal
withMavenGoal(
goal: string,
args: string[]): JavaAppExecutableResource
goalstring
argsstring[]
JavaAppExecutableResource

Defined on

This method is defined on the following type: