com.google.code.mojo.license
Class LicenseRemoveMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.google.code.mojo.license.AbstractLicenseMojo
          extended by com.google.code.mojo.license.LicenseRemoveMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public final class LicenseRemoveMojo
extends AbstractLicenseMojo

Remove the specified header from source files

Author:
Mathieu Carbou (mathieu.carbou@gmail.com)

Field Summary
protected  boolean dryRun
          Wheter to treat multi-modules projects as only one project (true) or treat multi-module projects separately (false, by default)
 
Fields inherited from class com.google.code.mojo.license.AbstractLicenseMojo
aggregate, basedir, concurrencyFactor, encoding, excludes, header, headerDefinitions, includes, keywords, mapping, project, properties, quiet, skip, strictCheck, useDefaultExcludes, useDefaultMapping, validHeaders
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LicenseRemoveMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class com.google.code.mojo.license.AbstractLicenseMojo
debug, execute, info, listSelectedFiles, mergeProperties, warn
 
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

dryRun

protected boolean dryRun
Wheter to treat multi-modules projects as only one project (true) or treat multi-module projects separately (false, by default)

Constructor Detail

LicenseRemoveMojo

public LicenseRemoveMojo()
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


Copyright © 2008-2011 Mathieu Carbou. All Rights Reserved.