Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Parameter

Description

Default value

Expression

pluginKey

Key for plugin. Should contain only letters and digits and be unique among all plugins.

constructed from ${project.artifactId}

${sonar.pluginKey}

pluginClass

The class which implements org.sonar.api.Plugin

 

${sonar.pluginClass}

pluginName

Name of the plugin.

${project.name}

${sonar.pluginName}

pluginDescription

Plugin description.

${project.description}

 

pluginUrl

Plugin homepage.

${project.url}

 

pluginIssueTrackerUrl

Plugin issue tracker URL.

${project.issueManagement.url}

 

pluginTermsConditionsUrl

Plugin Terms & Conditions URL.

 

${sonar.pluginTermsConditionsUrl}

addMavenDescriptor

Package the pom in META-INF directory.

true

${sonar.addMavenDescriptor}

skipDependenciesPackaging

Do not package plugin dependencies in META-INF

false

${sonar.skipDependenciesPackaging}

useChildFirstClassLoader

Default classloader strategy is parent-first. Set to true to use child-first strategy.

false

 

basePlugin

If specified, then plugin will re-use ClassLoader of specified plugin.

 

 

includes

List of files to include

*/*

 

excludes

List of files to exclude

**/package.html