Skip to end of metadata
Go to start of metadata

Parameter

Since version

Description

Default value

Expression

pluginKey

0.2

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

constructed from ${project.artifactId}.

Given an artifactId of: sonar-blah-plugin
Your pluginKey will be: blah

${sonar.pluginKey}

pluginClass

0.2

The class which implements org.sonar.api.Plugin

 

${sonar.pluginClass}

pluginName

0.2

Name of the plugin.

${project.name}

${sonar.pluginName}

pluginDescription

0.2

Plugin description.

${project.description}

 

pluginParent1.4Plugin parent. ${sonar.pluginParent}
requirePlugins1.4List of dependencies using the following format : parentPluginKey1:minimalParentPluginVersion1, parentPluginKey2:minimalParentPluginVersion2, ... ${sonar.requirePlugins}

pluginUrl

0.2

Plugin homepage.

${project.url}

 

pluginIssueTrackerUrl

0.2

Plugin issue tracker URL.

${project.issueManagement.url}

 

pluginTermsConditionsUrl

0.2

Plugin Terms & Conditions URL.

 

${sonar.pluginTermsConditionsUrl}

addMavenDescriptor

0.2

Package the pom in META-INF directory.

true

${sonar.addMavenDescriptor}

skipDependenciesPackaging

0.2

Do not package plugin dependencies in META-INF

false

${sonar.skipDependenciesPackaging}

useChildFirstClassLoader

0.3

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

false

 

basePlugin

1.1

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

 

 

includes

0.2

List of files to include

*/*

 

excludes

0.2

List of files to exclude

**/package.html

 

  • No labels