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, 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 String getScmType()
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.