Created
April 25, 2014 01:48
-
-
Save AnthonyClink/11275442 to your computer and use it in GitHub Desktop.
My hello maven using a custom library.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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