cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

SonarAPIImplHints

This page just summarizes my quick play with Sonar web service API, for details see http://www.sonarsource.org and http://docs.codehaus.org/display/SONAR/Web+Service+API. List of queries which would be interesting for Maven IDE support and Sonar interaction follows:

  • Get all sub-resources for some artifact (just to learn what res are available)
  • Get all violations for java source file:
  • Get violations of some type and priority for java source file:
  • List rules of specific plugin:
  • List of unit test files with count of failed tests for project (openejb here):