org.apache.maven.plugin.idea
Class IdeaWorkspaceMojo

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.IdeaWorkspaceMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class IdeaWorkspaceMojo
extends AbstractIdeaMojo

Author:
Edwin Punzalan

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
IdeaWorkspaceMojo()
           
 
Method Summary
 void execute()
          Create IDEA workspace (.iws) file.
protected  java.lang.String getScmType()
          used to retrieve the SCM Type
protected  java.lang.String getScmType(java.lang.String connection)
           
 void rewriteWorkspace()
           
 
Methods inherited from class org.apache.maven.plugin.idea.AbstractIdeaMojo
createElement, doDependencyResolution, findComponent, findElement, findElement, getLog, 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

IdeaWorkspaceMojo

public IdeaWorkspaceMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Create IDEA workspace (.iws) file.

Throws:
org.apache.maven.plugin.MojoExecutionException

rewriteWorkspace

public void rewriteWorkspace()
                      throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getScmType

protected java.lang.String getScmType()
used to retrieve the SCM Type

Returns:
the Scm Type string used to connect to the SCM

getScmType

protected java.lang.String getScmType(java.lang.String connection)


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.