org.apache.maven.plugin.idea
Class IdeaModuleMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.idea.AbstractIdeaMojo
          extended by 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

Field Summary
 
Fields inherited from class org.apache.maven.plugin.idea.AbstractIdeaMojo
artifactFactory, artifactMetadataSource, artifactResolver, executedProject, localRepo, log, overwrite
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
IdeaModuleMojo()
           
 
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 org.apache.maven.plugin.AbstractMojo
getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdeaModuleMojo

public IdeaModuleMojo()
Method Detail

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.