Cannot redeploy to remote tomcat 7 with using cargo-maven-plugin

Posted by rottmanj on Stack Overflow See other posts from Stack Overflow or by rottmanj
Published on 2011-06-22T07:24:11Z Indexed on 2011/06/22 8:22 UTC
Read the original article Hit count: 218

Filed under:
|
|

I am attempting to build and redeploy to a remote tomcat 7 server using the cargo-maven plugin. I have been able to successfully deploy to the remote server, but all other actions fail.

Here is the pluging settings in my pom.xml

        <plugin>
            <groupId>org.codehaus.cargo</groupId>
            <artifactId>cargo-maven2-plugin</artifactId>
            <version>1.1.1</version>
            <configuration>
                <!-- Container configuration -->
                <container>
                    <containerId>tomcat7x</containerId>
                    <type>remote</type>
                </container>
                <configuration>
                    <type>runtime</type>
                    <properties>
                        <cargo.remote.username>tomcat</cargo.remote.username>
                        <cargo.remote.password>tomcat</cargo.remote.password>
                        <cargo.remote.uri>http://devserver:8080/manager/html</cargo.remote.uri>
                    </properties>
                </configuration>
            </configuration>                
        </plugin>

This is the error I am seeing within eclipse, when I attempt to deploy. I posted it to pastebin so it is easier to read. Error link. Any help with this is greatly appreciated.

© Stack Overflow or respective owner

Related posts about maven

Related posts about tomcat7