org.nuiton.license.plugin
Class LicenseListPlugin

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

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

Le goal pour afficher dans la console les differentes licenses connues.

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

Field Summary
protected  boolean detail
          Un drapeau pour afficher aussi le contenu des license.
protected  java.lang.String encoding
          Encoding a utiliser pour lire et ecrire les fichiers.
protected  java.lang.String extraResolver
          La baseURL d'un resolver de license supplementaire
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LicenseListPlugin()
           
 
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

extraResolver

protected java.lang.String extraResolver
La baseURL d'un resolver de license supplementaire

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

encoding

protected java.lang.String encoding
Encoding a utiliser pour lire et ecrire les fichiers.

Since:
1.0.0
Is defined by:
expression:
${encoding}
default-value:
UTF-8
Is required.

detail

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

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

LicenseListPlugin

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