org.apache.maven.plugin.idea
Class IdeaProjectMojo

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.IdeaProjectMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class IdeaProjectMojo
extends AbstractIdeaMojo

Creates the project file (*.ipr) for IntelliJ IDEA.

Author:
Edwin Punzalan
Is defined by the goal name:
project
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
IdeaProjectMojo()
           
 
Method Summary
 void execute()
          Create IDEA (.ipr) project files.
 void initParam(MavenProject project, org.apache.maven.artifact.factory.ArtifactFactory artifactFactory, ArtifactRepository localRepo, ArtifactResolver artifactResolver, ArtifactMetadataSource artifactMetadataSource, Log log, boolean overwrite, String jdkName, String jdkLevel, String wildcardResourcePatterns, String ideaVersion, Set macros)
           
 void rewriteProject()
           
 
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

IdeaProjectMojo

public IdeaProjectMojo()
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,
                      String jdkName,
                      String jdkLevel,
                      String wildcardResourcePatterns,
                      String ideaVersion,
                      Set macros)

execute

public void execute()
             throws MojoExecutionException
Create IDEA (.ipr) project files.

Throws:
MojoExecutionException

rewriteProject

public void rewriteProject()
                    throws MojoExecutionException
Throws:
MojoExecutionException


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.