org.apache.servicemix.maven.plugin.legal
Class LegalMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.servicemix.maven.plugin.legal.LegalMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LegalMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  java.io.File outputDir
           
protected  org.apache.maven.project.MavenProject project
          The maven project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LegalMojo()
           
 
Method Summary
protected  void copyLegalFiles(java.io.File outputDir)
           
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The maven project.


outputDir

protected java.io.File outputDir
Constructor Detail

LegalMojo

public LegalMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

copyLegalFiles

protected void copyLegalFiles(java.io.File outputDir)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.