org.nuiton.wikitty.plugin
Class WPRunMojo

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.AbstractWPLoadDependencyMojo
                  extended by org.nuiton.wikitty.plugin.WPRunMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin

public class WPRunMojo
extends AbstractWPLoadDependencyMojo

To run a wikitty publication project.

Since:
3.2
Version:
$Id: WPRunMojo.java 1215 2011-08-30 14:37:34Z tchemit $
Author:
tchemit , mfortun
Is defined by the goal name:
run
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
static String FALLBACK_PROPERTIE_FILE_NAME
           
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
          Local Repository.
protected static String PUBLICATION_WAR_ARTIFACT_ID
           
protected static String PUBLICATION_WAR_GROUP_ID
           
protected  String publicationVersion
          URL of server to use to log into server.
protected  List remoteRepositories
          Remote repositories used for the project.
 
Fields inherited from class org.nuiton.wikitty.plugin.AbstractWPLoadDependencyMojo
factory, installer, repositoryFactory
 
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
WPRunMojo()
           
 
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

PUBLICATION_WAR_ARTIFACT_ID

protected static final String PUBLICATION_WAR_ARTIFACT_ID
See Also:
Constant Field Values

PUBLICATION_WAR_GROUP_ID

protected static final String PUBLICATION_WAR_GROUP_ID
See Also:
Constant Field Values

FALLBACK_PROPERTIE_FILE_NAME

public static final String FALLBACK_PROPERTIE_FILE_NAME
See Also:
Constant Field Values

publicationVersion

protected String publicationVersion
URL of server to use to log into server.

Is defined by:
expression:
${publicationVersion}
Is required.

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
Local Repository.

Is defined by:
expression:
${localRepository}
Is readonly.
Is required.

remoteRepositories

protected List remoteRepositories
Remote repositories used for the project.

Is defined by:
expression:
${project.remoteArtifactRepositories}
Is readonly.
Is required.
Constructor Detail

WPRunMojo

public WPRunMojo()
Method Detail

init

protected void init()
             throws Exception
Overrides:
init in class AbstractWPLoadDependencyMojo
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.