Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 35 Next »

Tempted to go ahead and write your own plugin ? No obligation, but you might want to share it with the Sonar community. In that case hosting your plugin at sonar-plugins.codehaus.org brings you many benefits :

  • the community helps you more easily, as well as the community benefits from the plugin
  • free hosting in the subversion repository
  • use JIRA to track issues
  • use Atlassian Bamboo for continuous integration
  • use this wiki for the documentation
  • the plugin is automatically shown in the update center (feature to come soon), so users can install the plugin directly from the application 

Request hosting

  1. Create an account at Codehaus
  2. Subscribe to dev@sonar.codehaus.org
  3. Send e-mail to dev@sonar.codehaus.org and tell us your Codehaus ID, so that we can give you a commit access to subversion.

Principles

When you utilize the forge, we request that you respect the following principles :

  1. A plugin is built with Maven
  2. You should follow Best practices and Sonar Code Style.
  3. The copyright belongs to whoever wrote the plugin, however the license should be business friendly

Maven POM

  • The directory name is the plugin name. Maven groupId is 'org.codehaus.sonar-plugins' and artifactId is 'sonar-<name>-plugin'. For example the plugin "foo" is stored in the directory "foo" and its artifact id is "sonar-foo-plugin"
  • Use the following parent :
    pom.xml
  • Set the following properties :
    pom.xml
  • Configure your pom by overriding values provided by parent - see Sonar Plugins Forge Parent POM
  • Follow Maven POM Code Convention

Continuous integration

Send an email to the dev mailing list in order the plugin to be added to our Continuous Integration server.

  • No labels