public abstract class AbstractSonarPluginMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
pluginKey
Plugin key.
|
protected String |
pluginParent
Plugin parent.
|
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
protected String |
requirePlugins
Plugin's dependencies.
|
static String |
SONAR_GROUPID |
static String |
SONAR_PLUGIN_API_ARTIFACTID |
static String |
SONAR_PLUGIN_API_TYPE |
Constructor and Description |
---|
AbstractSonarPluginMojo() |
Modifier and Type | Method and Description |
---|---|
File |
getAppDirectory() |
String |
getBasePlugin() |
protected File |
getClassesDirectory() |
protected String |
getClassifier() |
protected Set<org.apache.maven.artifact.Artifact> |
getDependencyArtifacts() |
protected Set<org.apache.maven.artifact.Artifact> |
getDependencyArtifacts(String scope) |
String |
getExplicitPluginKey() |
protected String |
getFinalName() |
protected Set<org.apache.maven.artifact.Artifact> |
getIncludedArtifacts() |
protected String |
getMessage(String title,
List<String> ids) |
protected File |
getOutputDirectory() |
protected String |
getPluginClass() |
protected String |
getPluginDescription() |
protected String |
getPluginIssueTrackerUrl() |
protected String |
getPluginName() |
protected String |
getPluginParent() |
protected String |
getPluginTermsConditionsUrl() |
protected String |
getPluginUrl() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected String |
getRequirePlugins() |
protected org.apache.maven.execution.MavenSession |
getSession() |
protected org.apache.maven.artifact.Artifact |
getSonarPluginApiArtifact() |
protected boolean |
isSkipDependenciesPackaging() |
boolean |
isUseChildFirstClassLoader() |
getLog, getPluginContext, setLog, setPluginContext
public static final String SONAR_GROUPID
public static final String SONAR_PLUGIN_API_ARTIFACTID
public static final String SONAR_PLUGIN_API_TYPE
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
@Parameter(property="sonar.pluginKey") protected String pluginKey
@Parameter(property="sonar.pluginParent") protected String pluginParent
@Parameter(property="sonar.requirePlugins") protected String requirePlugins
protected final org.apache.maven.project.MavenProject getProject()
protected final org.apache.maven.execution.MavenSession getSession()
protected final File getOutputDirectory()
protected final File getClassesDirectory()
public File getAppDirectory()
protected final String getFinalName()
protected final String getClassifier()
public String getExplicitPluginKey()
protected final String getPluginClass()
protected final String getPluginName()
protected final String getPluginParent()
protected final String getRequirePlugins()
protected final String getPluginDescription()
protected final String getPluginUrl()
protected String getPluginTermsConditionsUrl()
protected String getPluginIssueTrackerUrl()
public boolean isUseChildFirstClassLoader()
public String getBasePlugin()
protected boolean isSkipDependenciesPackaging()
protected Set<org.apache.maven.artifact.Artifact> getDependencyArtifacts()
protected Set<org.apache.maven.artifact.Artifact> getDependencyArtifacts(String scope)
protected Set<org.apache.maven.artifact.Artifact> getIncludedArtifacts()
protected final org.apache.maven.artifact.Artifact getSonarPluginApiArtifact()
Copyright © 2010–2017 SonarSource. All rights reserved.