ru.curs.celesta.plugin.maven.GenTestScoreResourcesMojo Maven / Gradle / Ivy
The newest version!
package ru.curs.celesta.plugin.maven;
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;
@Mojo(
name = "gen-test-score-resources",
defaultPhase = LifecyclePhase.GENERATE_TEST_RESOURCES
)
public final class GenTestScoreResourcesMojo extends AbstractGenScoreResourcesMojo {
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
getScorePaths = this::getTestScorePaths;
generatedResourcesDirName = "generated-test-resources";
addResource = project::addTestResource;
super.execute();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy