org.apache.maven.plugin.idea
Class IdeaProjectMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.idea.AbstractIdeaMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdeaProjectMojo
public IdeaProjectMojo()
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.