<div dir="ltr">Hey, everyone!  I&#39;m trying to do something like this:<div><br></div><div><div><font face="monospace, monospace">                &lt;plugin&gt;</font></div><div><font face="monospace, monospace">                        &lt;groupId&gt;org.wildfly.plugins&lt;/groupId&gt;</font></div><div><font face="monospace, monospace">                        &lt;artifactId&gt;wildfly-maven-plugin&lt;/artifactId&gt;</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">                        &lt;executions&gt;</font></div><div><font face="monospace, monospace">                            &lt;execution&gt;</font></div><div><font face="monospace, monospace">                                &lt;phase&gt;install&lt;/phase&gt;</font></div><div><font face="monospace, monospace">                                &lt;goals&gt;</font></div><div><font face="monospace, monospace">                                    &lt;goal&gt;execute-commands&lt;/goal&gt;</font></div><div><font face="monospace, monospace">                                &lt;/goals&gt;</font></div><div><font face="monospace, monospace">                                &lt;configuration&gt;</font></div><div><font face="monospace, monospace">                                    &lt;execute-commands&gt;</font></div><div><font face="monospace, monospace">                                        &lt;batch&gt;false&lt;/batch&gt;</font></div><div><font face="monospace, monospace">                                        &lt;commands&gt;</font></div><div><font face="monospace, monospace">                                            &lt;command&gt;</font></div><div><font face="monospace, monospace">                                                if (outcome != success) of /deployment=postgresql.jar:read-resource</font></div><div><font face="monospace, monospace">                                                    undeploy postgresql.jar</font></div><div><font face="monospace, monospace">                                                end-if</font></div><div><font face="monospace, monospace">                                            &lt;/command&gt;</font></div><div><br></div><div>Not too crazy, right?  However, it doesn&#39;t work:</div><div><br></div><div><div><font face="monospace, monospace">org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:execute-commands failed: Command &#39;if (outcome != success) of /deployment=postgresql.jar:read-resource</font></div><div><font face="monospace, monospace">[ERROR] undeploy postgresql.jar</font></div><div><font face="monospace, monospace">[ERROR] end-if&#39; is invalid. &#39;read-resourceundeploypostgresql.jarend-if&#39; is not a valid operation name.</font></div><div><font face="monospace, monospace">[ERROR] -&gt; [Help 1]</font></div><div><font face="monospace, monospace">[ERROR]</font></div></div><div><br></div><div><br></div><div>I noticed that in the documentatio of wildfly-maven-plugin, there&#39;s no multi-line commands.  Are they not supported?  Is this supposed to work, or am I doing something wrong?</div><div><br></div><div>Thanks!</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Karl</div></div></div>
</div></div>