Skip to content

Instantly share code, notes, and snippets.

@AnthonyClink
Created April 25, 2014 01:48
Show Gist options
  • Save AnthonyClink/11275442 to your computer and use it in GitHub Desktop.
Save AnthonyClink/11275442 to your computer and use it in GitHub Desktop.
My hello maven using a custom library.
package com.clinkworks.neptical.maven;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Mojo;
import com.clinkworks.neptical.Data;
import com.clinkworks.neptical.DataRegistry;
@Mojo( name = "data")
public class DataMojo extends AbstractMojo{
public void execute() throws MojoExecutionException, MojoFailureException {
Data data = DataRegistry.loadData();
System.out.println("\n\n\n ----- DATA MODULE EXECUTING ------ \n\n\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment