I am using the Maven Embedded Glassfish Plugin and it works great, but unfortunately it creates a temporary directory in my main project directory. I would like it to use target so that every time I clean the project, the embedded directory also gets wiped.
Is there a setting for that?
Walter
Update: According to the OP, the needed parameter is actually
instanceRoot, notinstallRoot.I think that you can use the
installRootinstanceRootparameter for this. Set it to thetargetdirectory: