All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.bordertech.lde.mojo.RunMojo Maven / Gradle / Ivy

package com.github.bordertech.lde.mojo;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.ResolutionScope;

/**
 * Run the LDE provider and block when started.
 * 

* Start the LDE provider via mvn lde-exec:run. *

*/ @Mojo(name = "run", defaultPhase = LifecyclePhase.PACKAGE, requiresDependencyResolution = ResolutionScope.TEST, requiresDirectInvocation = true) public class RunMojo extends AbstractStartMojo { @Override public void execute() throws MojoExecutionException, MojoFailureException { createAndStartProvider(); } @Override protected boolean isBlock() { return true; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy