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.

I keep getting this error:

```
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:undeploy (default-cli) on project test: Cannot invoke Tomcat manager: <html>

```

The issues seems to be with the tomcat target. Currently on my pom.xml I have this:

```
<configuration>
   <url>http://localhost:8080/manager/html</url>
   <server>tomcat6</server>
   <path>/test/*</path>
</configuration>

```

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.

Any ideas?

Thanks!