org.nuiton.wikitty.plugin
Class AbstractWPLoadDependencyMojo

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
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin
Direct Known Subclasses:
WPDeployJarMojo, WPDeployMojo, WPJarMojo, WPRunMojo, WPUpdateMojo

public abstract class AbstractWPLoadDependencyMojo
extends AbstractWPMojo

This mojo is for init for the goal that need to construct the application this mojo, with init will read pom file to load dependency declared and so needed by the wikitty publication application project. This will copy those needed dependency to the right directory: src/main/resources/jar

Author:
mfortun
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  org.apache.maven.artifact.factory.ArtifactFactory factory
          Used to look up Artifacts in the remote repository.
protected  org.apache.maven.artifact.installer.ArtifactInstaller installer
           
protected  org.apache.maven.artifact.repository.ArtifactRepositoryFactory 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
AbstractWPLoadDependencyMojo()
           
 
Method Summary
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, doAction, 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

installer

protected org.apache.maven.artifact.installer.ArtifactInstaller installer
Is a Plexus component defined by:

repositoryFactory

protected org.apache.maven.artifact.repository.ArtifactRepositoryFactory repositoryFactory
Is a Plexus component defined by:

factory

protected org.apache.maven.artifact.factory.ArtifactFactory factory
Used to look up Artifacts in the remote repository.

Is a Plexus component defined by:
Constructor Detail

AbstractWPLoadDependencyMojo

public AbstractWPLoadDependencyMojo()
Method Detail

init

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


Copyright © 2011 CodeLutin. All Rights Reserved.