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 java.lang.String |
getScmType()
used to retrieve the SCM Type
|
protected java.lang.String |
getScmType(java.lang.String connection) |
void |
rewriteWorkspace() |
protected java.lang.String |
translateScmType(java.lang.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, writeXmlDocumentpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void rewriteWorkspace()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected java.lang.String getScmType()
protected java.lang.String getScmType(java.lang.String connection)
protected java.lang.String translateScmType(java.lang.String scmType)
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.