JavaAppResource.WithMavenGoal
Method
type JavaAppResource interface { // ... 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.args[]string Additional arguments passed to the Maven wrapper after the goal.Returns
JavaAppResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: