getLog().info("Started Jetty Server");
    public void startJetty () throws MojoExecutionException    {        try         {            getLog().info("Starting Jetty Server ...");            configureSystemProperties();            setServer(createServer());                    //apply any config from a jetty.xml file first which is able to             //be overwritten by config in the pom.xml            applyJettyXml ();                        // if the user hasn't configured their project's pom to use a            // different set of connectors,            // use the default            Object[] configuredConnectors = getConfiguredConnectors();            if (configuredConnectors == null|| configuredConnectors.length == 0)            {                configuredConnectors = new Object[] { server.createDefaultConnector() };            }                        server.setConnectors(configuredConnectors);                       setWebApplication(getServer().createWebApplication());              configureWebApplication();            getServer().addWebApplication(getWebApplication());                                    // set up security realms            Object[] configuredRealms = getConfiguredUserRealms();            for (int i = 0; (configuredRealms != null) && i < configuredRealms.length; i++)                getLog().debug(configuredRealms[i].getClass().getName() + ": "+ configuredRealms[i].toString());                        server.setUserRealms(configuredRealms);                                    //do any other configuration required by the            //particular Jetty version            finishConfigurationBeforeStart();                           // start Jetty            server.start();                        // start the scanner thread (if necessary) on the main webapp            configureScanner ();                        startScanner();                        // keep the thread going            server.join();        }        catch (Exception e)        {            throw new MojoExecutionException("Failure", e);        }        finally        {            getLog().info("Jetty server exiting.");        }            }