public void execute() throws MojoExecutionException, MojoFailureException {
execute(new StoreOperation<Void>() {
@Override
public Void run(Store store) throws MojoExecutionException {
Server server = new Server((EmbeddedGraphStore) store);
server.start();
try {
getLog().info("Press <Enter> to finish.");
System.in.read();
} catch (IOException e) {
throw new MojoExecutionException("Cannot read from System.in.", e);