public class IdeaWorkspaceMojo extends AbstractIdeaMojo
artifactFactory, artifactMetadataSource, artifactResolver, executedProject, localRepo, log, overwrite
Constructor and Description |
---|
IdeaWorkspaceMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Create IDEA workspace (.iws) file.
|
protected String |
getScmType()
used to retrieve the SCM Type
|
protected String |
getScmType(String connection) |
void |
rewriteWorkspace() |
protected String |
translateScmType(String scmType)
Translate the SCM type from the SCM connection URL to the format used by
IDEA as the value for ACTIVE_VCS_NAME.
|
createElement, doDependencyResolution, findComponent, findElement, findElement, getLog, getPluginSetting, initParam, readXmlDocument, removeOldElements, toRelative, writeXmlDocument
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void rewriteWorkspace() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected String getScmType()
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.