Skip to content
Docs Try Aspire
Docs Try

withMavenGoal

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

Signature

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

Applies to

This method applies to the following types: