Commit 35a9a2a9 authored by Daniel Bluhm's avatar Daniel Bluhm
Browse files

Rename MyMojo -> DependencyScraper


Signed-off-by: Daniel Bluhm's avatarDaniel Bluhm <bluhmdj@ornl.gov>
parent 88cbda74
......@@ -42,7 +42,7 @@ import java.util.zip.ZipEntry;
defaultPhase = LifecyclePhase.PROCESS_SOURCES,
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME
)
public class MyMojo extends AbstractMojo {
public class DependencyScraper extends AbstractMojo {
/**
* Current project. Used to get handle to dependencies.
*/
......
......@@ -9,7 +9,7 @@ import static org.junit.Assert.*;
import org.junit.Test;
import java.io.File;
public class MyMojoTest
public class DependencyScraperTest
{
@Rule
public MojoRule rule = new MojoRule() {
......@@ -29,7 +29,7 @@ public class MyMojoTest
assertNotNull(pom);
assertTrue(pom.exists());
MyMojo myMojo = (MyMojo) rule.lookupConfiguredMojo(pom, "scrape");
DependencyScraper myMojo = (DependencyScraper) rule.lookupConfiguredMojo(pom, "scrape");
assertNotNull(myMojo);
myMojo.execute();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment