org.nuiton.license.plugin
Class GeneratorListMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.license.plugin.GeneratorListMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Displays all the available generators.

Since:
1.0.1
Author:
chemit
Is defined by the goal name:
generator-list
Requires a direct invocation by the user:
false
Requires a Maven project to run:
false

Field Summary
protected  Map<String,HeaderGenerator> _generators
          All available generators
protected  boolean detail
          Un drapeau pour afficher aussi le contenu des license.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GeneratorListMojo()
           
 
Method Summary
 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

detail

protected boolean detail
Un drapeau pour afficher aussi le contenu des license.

Since:
1.0.1
Is defined by:
expression:
${detail}

_generators

protected Map<String,HeaderGenerator> _generators
All available generators

Is a Plexus component defined by:
role:
org.nuiton.license.header.generator.HeaderGenerator
Constructor Detail

GeneratorListMojo

public GeneratorListMojo()
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-2010 CodeLutin. All Rights Reserved.