title: Tomcat 6.0.32 + Maven undeploy via script not working
body: <p>I'm using Tomcat 6.0.32 (with the new user management system (manager-gui, manager-script,...)), and I'm having some issues with the undeployment process using maven.</p>
  
  <p>I keep getting this error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:undeploy (default-cli) on project test: Cannot invoke Tomcat manager: &lt;html&gt;
  </code></pre>
  
  <p>The issues seems to be with the tomcat target. Currently on my pom.xml I have this:</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;url&gt;http://localhost:8080/manager/html&lt;/url&gt;
     &lt;server&gt;tomcat6&lt;/server&gt;
     &lt;path&gt;/test/*&lt;/path&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I've read some issues with targeting /html or /text, but at this point I don't really know how should it work. /html is working fine for deploying (while /text is not), but not for undeploy.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>