Closed perqin closed 7 years ago
If executing task "cargoRunLocal" without running task "build", the deployment fails, complaining for not finding war file. So how to build automatically before deployment? Should I use "dependsOn", or are there any configurations for it?
Yes, correct. The reason there's not an automatic task dependency is that you can deploy other artifacts not necessarily created by the project. In fact the FAQ does make the exact statement about your question.
If executing task "cargoRunLocal" without running task "build", the deployment fails, complaining for not finding war file. So how to build automatically before deployment? Should I use "dependsOn", or are there any configurations for it?