org.nuiton.license.plugin
Class LicenseListMojo

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

public class LicenseListMojo
extends AbstractLicenseMojo

Display all available licenses.

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging
 
Field Summary
protected  boolean detail
          Un drapeau pour afficher aussi le contenu des license.
protected  String extraResolver
          La baseURL d'un resolver de license supplementaire
protected  LicenseStore licenseStore
          store of licenses
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LicenseListMojo()
           
 
Method Summary
 void doAction()
           
protected  void init()
           
 
Methods inherited from class org.nuiton.license.plugin.AbstractLicenseMojo
createLicenseStore, getEncoding, getProject, hasClassPath, isVerbose, setEncoding, setProject, setVerbose
 
Methods inherited from class org.nuiton.plugin.AbstractPlugin
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkPackaging, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
getLog, setLog
 

Field Detail

extraResolver

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

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

detail

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

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

licenseStore

protected LicenseStore licenseStore
store of licenses

Constructor Detail

LicenseListMojo

public LicenseListMojo()
Method Detail

init

protected void init()
             throws Exception
Specified by:
init in class org.nuiton.plugin.AbstractPlugin
Throws:
Exception

doAction

public void doAction()
              throws org.apache.maven.plugin.MojoExecutionException,
                     org.apache.maven.plugin.MojoFailureException
Specified by:
doAction in class org.nuiton.plugin.AbstractPlugin
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2008-2010 CodeLutin. All Rights Reserved.