org.etlunit.cli.util.MavenRunner Maven / Gradle / Ivy
package org.etlunit.cli.util;
import org.apache.maven.DefaultMaven;
import org.apache.maven.execution.DefaultMavenExecutionRequest;
import java.util.Arrays;
public class MavenRunner
{
public static void main(String [] argv)
{
DefaultMavenExecutionRequest dmer = new DefaultMavenExecutionRequest();
dmer.setGoals(Arrays.asList("clean"));
DefaultMaven dm = new DefaultMaven();
dm.execute(dmer);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy