org.nuiton.wikitty.plugin
Class WPInitMojo

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.WPInitMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin

public class WPInitMojo
extends AbstractWPMojo

To init a wikitty publication project. To init directory architecture for wikitty publication project.

Since:
3.2
Version:
$Id: WPInitMojo.java 1215 2011-08-30 14:37:34Z tchemit $
Author:
tchemit , mfortun
Is defined by the goal name:
init
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
 
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
WPInitMojo()
           
 
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
 

Constructor Detail

WPInitMojo

public WPInitMojo()
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.