withMavenGoal
Method
interface JavaAppResource { // ... omitted for brevity withMavenGoal( goal: string, args: string[]): JavaAppResource;}Signature
method
withMavenGoalbuilderLaunches the Java application through a Maven goal instead of `java`, for example `spring-boot:run`.
withMavenGoal( goal: string, args: string[]): JavaAppResourceParameters
goalstringargsstring[]Returns
JavaAppResourceApplies to
This method applies to the following types: