org.codehaus.mojo.sysdeo
Class SysdeoMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.sysdeo.ide.AbstractIdeSupportMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
SysdeoMojo
public SysdeoMojo()
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 © 2010. All Rights Reserved.