org.codehaus.mojo.sysdeo
Class SysdeoMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.sysdeo.ide.AbstractIdeSupportMojo
          extended by org.codehaus.mojo.sysdeo.SysdeoMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled

public class SysdeoMojo
extends AbstractIdeSupportMojo


Field Summary
 
Fields inherited from class org.codehaus.mojo.sysdeo.ide.AbstractIdeSupportMojo
artifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, downloadSources, localRepository, project, reactorProjects, remoteArtifactRepositories
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SysdeoMojo()
           
 
Method Summary
 java.io.File getContextDefinition()
           
protected  boolean getUseProjectReferences()
          return false if projects available in a reactor build should be considered normal dependencies, true if referenced project will be linked and not need artifact resolution.
 java.io.File getWarSourceDirectory()
           
 void setContextDefinition(java.io.File contextDefinition)
           
protected  boolean setup()
          Hook for preparation steps before the actual plugin execution.
 void setWarSourceDirectory(java.io.File warSourceDirectory)
           
protected  void writeConfiguration(IdeDependency[] dependencies)
          Main plugin method where dependencies should be processed in order to generate IDE configuration files.
 
Methods inherited from class org.codehaus.mojo.sysdeo.ide.AbstractIdeSupportMojo
doDependencyResolution, enableLogging, execute, getArtifactFactory, getArtifactMetadataSource, getArtifactResolver, getDownloadSources, getLocalRepository, getProject, getReactorProjects, getRemoteArtifactRepositories, setArtifactFactory, setArtifactMetadataSource, setArtifactResolver, setDownloadSources, setLocalRepository, setProject, setReactorProjects, setRemoteArtifactRepositories
 
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
 

Constructor Detail

SysdeoMojo

public SysdeoMojo()
Method Detail

getUseProjectReferences

protected boolean getUseProjectReferences()
Description copied from class: AbstractIdeSupportMojo
return false if projects available in a reactor build should be considered normal dependencies, true if referenced project will be linked and not need artifact resolution.

Specified by:
getUseProjectReferences in class AbstractIdeSupportMojo
Returns:
true if referenced project will be linked and not need artifact resolution

setup

protected boolean setup()
                 throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractIdeSupportMojo
Hook for preparation steps before the actual plugin execution.

Specified by:
setup in class AbstractIdeSupportMojo
Returns:
true if execution should continue or false if not.
Throws:
org.apache.maven.plugin.MojoExecutionException - generic mojo exception

writeConfiguration

protected void writeConfiguration(IdeDependency[] dependencies)
                           throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractIdeSupportMojo
Main plugin method where dependencies should be processed in order to generate IDE configuration files.

Specified by:
writeConfiguration in class AbstractIdeSupportMojo
Parameters:
dependencies - list of IdeDependency objects, with artifacts, sources and javadocs already resolved
Throws:
org.apache.maven.plugin.MojoExecutionException - generic mojo exception

getContextDefinition

public java.io.File getContextDefinition()

setContextDefinition

public void setContextDefinition(java.io.File contextDefinition)

getWarSourceDirectory

public java.io.File getWarSourceDirectory()

setWarSourceDirectory

public void setWarSourceDirectory(java.io.File warSourceDirectory)


Copyright © 2009. All Rights Reserved.