tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/UndeployMojo.java [58:82]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void invokeManager()
        throws MojoExecutionException, TomcatManagerException, IOException
    {
        getLog().info( messagesProvider.getMessage( "UndeployMojo.undeployingApp", getDeployedURL() ) );

        try
        {

            TomcatManagerResponse tomcatResponse = getManager().undeploy( getPath() );

            checkTomcatResponse( tomcatResponse );

            log( tomcatResponse.getHttpResponseBody() );

        }
        catch ( TomcatManagerException e )
        {
            if ( failOnError )
            {
                throw e;
            }

            getLog().warn( messagesProvider.getMessage( "UndeployMojo.undeployError", e.getMessage() ) );
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tomcat8-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat8/deploy/UndeployMojo.java [58:82]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void invokeManager()
        throws MojoExecutionException, TomcatManagerException, IOException
    {
        getLog().info( messagesProvider.getMessage( "UndeployMojo.undeployingApp", getDeployedURL() ) );

        try
        {

            TomcatManagerResponse tomcatResponse = getManager().undeploy( getPath() );

            checkTomcatResponse( tomcatResponse );

            log( tomcatResponse.getHttpResponseBody() );

        }
        catch ( TomcatManagerException e )
        {
            if ( failOnError )
            {
                throw e;
            }

            getLog().warn( messagesProvider.getMessage( "UndeployMojo.undeployError", e.getMessage() ) );
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



