org.sonar.updatecenter.mavenplugin
Class SonarPluginMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.sonar.updatecenter.mavenplugin.AbstractSonarPluginMojo
org.sonar.updatecenter.mavenplugin.SonarPluginMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class SonarPluginMojo
- extends AbstractSonarPluginMojo
Build a Sonar Plugin from the current project.
- Author:
- Evgeny Mandrikov
|
Field Summary |
protected org.codehaus.plexus.archiver.jar.JarArchiver |
jarArchiver
The Jar archiver. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.sonar.updatecenter.mavenplugin.AbstractSonarPluginMojo |
getAppDirectory, getBasePlugin, getClassesDirectory, getClassifier, getDependencyArtifacts, getDependencyArtifacts, getExplicitPluginKey, getFinalName, getIncludedArtifacts, getMessage, getOutputDirectory, getPluginClass, getPluginDescription, getPluginIssueTrackerUrl, getPluginName, getPluginTermsConditionsUrl, getPluginUrl, getProject, getSonarPluginApiArtifact, isSkipDependenciesPackaging, isUseChildFirstClassLoader |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jarArchiver
protected org.codehaus.plexus.archiver.jar.JarArchiver jarArchiver
- The Jar archiver.
SonarPluginMojo
public SonarPluginMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
createArchive
public File createArchive()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getJarFile
protected static File getJarFile(File basedir,
String finalName,
String classifier)
Copyright © 2010-2011 SonarSource. All Rights Reserved.