org.apache.maven.plugin.idea
Class IdeaModuleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.idea.AbstractIdeaMojo
org.apache.maven.plugin.idea.IdeaModuleMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class IdeaModuleMojo
- extends AbstractIdeaMojo
Creates the module files (*.iml) for IntelliJ IDEA.
- Author:
- Edwin Punzalan
- Is defined by the goal name:
- module
- Is defined to be executed in:
- phase:
- generate-sources
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Create IDEA (.iml) project files. |
void |
initParam(MavenProject project,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
ArtifactRepository localRepo,
ArtifactResolver artifactResolver,
ArtifactMetadataSource artifactMetadataSource,
Log log,
boolean overwrite,
MavenProject executedProject,
List reactorProjects,
org.apache.maven.artifact.manager.WagonManager wagonManager,
boolean linkModules,
boolean useFullNames,
boolean downloadSources,
String sourceClassifier,
boolean downloadJavadocs,
String javadocClassifier,
Library[] libraries,
Set macros,
String exclude,
boolean useShortDependencyNames,
String deploymentDescriptorFile,
boolean ideaPlugin,
String ideaVersion)
|
void |
rewriteModule()
|
Methods inherited from class org.apache.maven.plugin.idea.AbstractIdeaMojo |
createElement, doDependencyResolution, findComponent, findElement, findElement, getLog, getPluginSetting, initParam, readXmlDocument, removeOldElements, toRelative, writeXmlDocument |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdeaModuleMojo
public IdeaModuleMojo()
initParam
public void initParam(MavenProject project,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
ArtifactRepository localRepo,
ArtifactResolver artifactResolver,
ArtifactMetadataSource artifactMetadataSource,
Log log,
boolean overwrite,
MavenProject executedProject,
List reactorProjects,
org.apache.maven.artifact.manager.WagonManager wagonManager,
boolean linkModules,
boolean useFullNames,
boolean downloadSources,
String sourceClassifier,
boolean downloadJavadocs,
String javadocClassifier,
Library[] libraries,
Set macros,
String exclude,
boolean useShortDependencyNames,
String deploymentDescriptorFile,
boolean ideaPlugin,
String ideaVersion)
execute
public void execute()
throws MojoExecutionException
- Create IDEA (.iml) project files.
- Throws:
MojoExecutionException
rewriteModule
public void rewriteModule()
throws MojoExecutionException
- Throws:
MojoExecutionException
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.