@Override public void run() { try { getInstance().shutdownAll( null ); } catch ( Exception e ) { // ignore, the exception should already have been reported } } } );
@Override public void run() { try { getInstance().shutdownAll( null ); } catch ( Exception e ) { // ignore, the exception should already have been reported } } } );
/** * Shuts down all embedded tomcats which got started up to now. * * @throws MojoExecutionException if shutting down one or all servers failed */ public void execute() throws MojoExecutionException { if ( skip ) { getLog().info( "skip execution" ); return; } try { EmbeddedRegistry.getInstance().shutdownAll( getLog() ); } catch ( Exception e ) { if ( !skipErrorOnShutdown ) { throw new MojoExecutionException( messagesProvider.getMessage( "ShutdownMojo.shutdownError" ), e ); } } } }
/** * Shuts down all embedded tomcats which got started up to now. * * @throws org.apache.maven.plugin.MojoExecutionException * if shutting down one or all servers failed */ public void execute() throws MojoExecutionException { if ( skip ) { getLog().info( "skip execution" ); return; } try { EmbeddedRegistry.getInstance().shutdownAll( getLog() ); } catch ( Exception e ) { if ( !skipErrorOnShutdown ) { throw new MojoExecutionException( messagesProvider.getMessage( "ShutdownMojo.shutdownError" ), e ); } } } }
/** * Shuts down all embedded tomcats which got started up to now. * * @throws org.apache.maven.plugin.MojoExecutionException * if shutting down one or all servers failed */ public void execute() throws MojoExecutionException { if ( skip ) { getLog().info( "skip execution" ); return; } try { EmbeddedRegistry.getInstance().shutdownAll( getLog() ); } catch ( Exception e ) { if ( !skipErrorOnShutdown ) { throw new MojoExecutionException( messagesProvider.getMessage( "ShutdownMojo.shutdownError" ), e ); } } } }