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

org.devocative.devolcano.maven.ApplySchemaMavenPlugin Maven / Gradle / Ivy

package org.devocative.devolcano.maven;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.ResolutionScope;
import org.devocative.demeter.core.DemeterCore;

@Mojo(name = "applyschema", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.TEST_COMPILE)
public class ApplySchemaMavenPlugin extends AbstractDemeterMavenPlugin {

	/*@Parameter
	private String filters;*/

	@Override
	public void doExecute() throws MojoExecutionException, MojoFailureException {
		/*String[] filterArray = null;
		if (filters != null) {
			filterArray = filters.split("[,]");
		}*/
		DemeterCore.get().applyAllDbDiffs();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy