org.nuiton.wikitty.plugin
Class WPCleanMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.plugin.AbstractPlugin
          extended by org.nuiton.wikitty.plugin.AbstractWPMojo
              extended by org.nuiton.wikitty.plugin.WPCleanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin

public class WPCleanMojo
extends AbstractWPMojo

Goal to remove properties files used by WikittyService over file system to ensure transformation wikitty-file. Delete ".wp" dirs.

Since:
3.2
Author:
mfortun
Is defined by the goal name:
clean
Requires the dependencies in this specified scope:
runtime
Requires to be online to run:
true
Requires a Maven project to run:
true

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  FileFilter propertiesDirFilter
           
 
Fields inherited from class org.nuiton.wikitty.plugin.AbstractWPMojo
APPLICATION_DIR_NAME, applicationName, IMAGES_RESOURCES_DIR_NAME, JAR_RESOURCES_DIR_NAME, MAIN_DIR_NAME, project, RESOURCES_DIR_NAME, SRC_DIR_NAME, verbose, wikittyServiceUrl
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WPCleanMojo()
           
 
Method Summary
protected  void doAction()
           
protected  void init()
           
 
Methods inherited from class org.nuiton.wikitty.plugin.AbstractWPMojo
getApplicationName, getProject, getWikittyServiceUrl, isVerbose, setApplicationName, setProject, setVerbose, setWikittyServiceUrl
 
Methods inherited from class org.nuiton.plugin.AbstractPlugin
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkEncoding, checkPackaging, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, 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

propertiesDirFilter

protected FileFilter propertiesDirFilter
Constructor Detail

WPCleanMojo

public WPCleanMojo()
Method Detail

init

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

doAction

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


Copyright © 2011 CodeLutin. All Rights Reserved.