JavaAppResource.withMavenGoal
Method
interface JavaAppResource { // ... omitted for brevity withMavenGoal( goal: string, args: string[]): JavaAppResource;}Signature
method
withMavenGoal builderLaunches the Java application through a Maven goal instead of `java`, for example `spring-boot:run`.
withMavenGoal( goal: string, args: string[]): JavaAppResourceParameters
goalstringThe Maven goal to execute.argsstring[]Additional arguments passed to the Maven wrapper after the goal.Returns
JavaAppResource Defined on
This method is defined on the following type: