com.jdc.mvn.plugins.dbtools.LaunchDBToolsMojo Maven / Gradle / Ivy
package com.jdc.mvn.plugins.dbtools;
import org.apache.maven.plugin.MojoExecutionException;
/**
* Goal which launches DBTools
*
// * @goal launch
* @author Jeff Campbell
* @version $Id$
*
*/
public class LaunchDBToolsMojo extends AbstractDBToolsMojo {
public void execute() throws MojoExecutionException {
// DBToolsFrame.main(null);
// waitIndefinitely();
}
/**
* Causes the current thread to wait indefinitely. This method does not return.
*/
private void waitIndefinitely() {
Object lock = new Object();
synchronized (lock) {
try {
lock.wait();
} catch (InterruptedException exception) {
getLog().warn("RunMojo.interrupted", exception);
}
}
}
}