When I export my domain project from Anypoint Studio using the "Anypoint Studio Project to Mule Deployable Archive" option, there is a checkbox saying Export project associated with this domain
This will generate a zip file contain the domain project as well an apps folder containing deployable versions of the associated apps. I can then take this file and deploy it to the /domain folder on the server to deploy my entire Mule solution. Is there any way to generate the same thing from Maven?
When I run mvn clean package against the domain project it generates a zip file in the /target folder but this is missing the apps inside.
How can I generate the full archive using Maven?
(I am new to Maven so may just be missing a different goal I should be specifying or maybe there is a plugin I should use?)