@Override
    public void execute() throws MojoExecutionException {
        new WisdomExecutor().executeInBackground(this);
        File pid = new File(getWisdomRootDirectory(), "RUNNING_PID");
        if (WisdomExecutor.waitForFile(pid)) {
            try {
                getLog().info("Wisdom launched in background in process '" + FileUtils.readFileToString(pid) + "'.");
            } catch (IOException e) {
                getLog().warn("Cannot read the 'RUNNING_PID' file", e);
            }
        } else {
            getLog().error("The " + pid.getName() + " file was not created despite the 'successful' launch of Wisdom");
        }
    }
@ Override public void execute ( ) throws MojoExecutionException { new WisdomExecutor ( ) . executeInBackground ( this ) ; File pid = new File ( getWisdomRootDirectory ( ) , "RUNNING_PID" ) ; if ( WisdomExecutor . waitForFile ( pid ) ) { try { getLog ( ) . info ( "Wisdom launched in background in process '" + FileUtils . readFileToString ( pid ) + "'." ) ; } catch ( IOException e ) { getLog ( ) . warn ( "Cannot read the 'RUNNING_PID' file" , e ) ; } } else { getLog ( ) . error ( "The " + pid . getName ( ) + " file was not created despite the 'successful' launch of Wisdom" ) ; } }
Starts the server.

@throws MojoExecutionException if the server cannot be started