@Mojo(name="sonar-plugin",
requiresDependencyResolution=RUNTIME,
defaultPhase=PACKAGE,
threadSafe=true)
public class SonarPluginMojo
extends AbstractSonarPluginMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.plexus.archiver.jar.JarArchiver |
jarArchiver
The Jar archiver.
|
pluginKey, pluginParent, projectHelper, requirePlugins, SONAR_GROUPID, SONAR_PLUGIN_API_ARTIFACTID, SONAR_PLUGIN_API_TYPE| Constructor and Description |
|---|
SonarPluginMojo() |
| Modifier and Type | Method and Description |
|---|---|
File |
createArchive() |
void |
execute() |
protected static File |
getJarFile(File basedir,
String finalName,
String classifier) |
getAppDirectory, getBasePlugin, getClassesDirectory, getClassifier, getDependencyArtifacts, getDependencyArtifacts, getExplicitPluginKey, getFinalName, getIncludedArtifacts, getMessage, getOutputDirectory, getPluginClass, getPluginDescription, getPluginIssueTrackerUrl, getPluginName, getPluginParent, getPluginTermsConditionsUrl, getPluginUrl, getProject, getRequirePlugins, getSession, getSonarPluginApiArtifact, isSkipDependenciesPackaging, isUseChildFirstClassLoader@Component(role=org.codehaus.plexus.archiver.Archiver.class,
hint="jar")
protected org.codehaus.plexus.archiver.jar.JarArchiver jarArchiver
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic File createArchive() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2010–2016 SonarSource. All rights reserved.