MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Sonar 2.2 Release Highlights: Filters, Plugin Classloaders, and Upgrade Notes

Originally published on 2010-07-19; fully revised and updated.

Sonar 2.2 was presented as a feature-focused release with two major additions: customizable homepage filters and independent plugin classloaders. This update is useful for engineers maintaining legacy Sonar installations, auditing historical plugin behavior, or understanding how Sonar’s extensibility model evolved.

Sonar 2.2 release image

What Sonar 2.2 changed at a glance

According to the original Sonar team announcement, version 2.2 centered on two key capabilities and also included broader maintenance work.

AreaWhat was introducedWhy it mattered
Homepage filtersUsers and administrators could define filters and expose them as homepage tabs, including list and treemap views.Made it easier to focus on specific quality slices instead of scanning all projects.
Plugin classloadingPlugins were executed in independent classloaders and could declare their own dependencies.Reduced dependency constraints and improved plugin development flexibility.
Additional release updatesThe post mentions more than 60 improvements and bug fixes, including Checkstyle/PMD upgrades and Clover 3 support.Improved overall platform stability and toolchain compatibility.

How homepage filters improved day-to-day triage

The filter system in Sonar 2.2 allowed teams to build focused views directly on the homepage. The original examples included:

  • All projects
  • Projects analyzed during the last 3 days
  • Unit tests with longest execution time
  • Classes in a project with coverage < 50% and complexity > 10
  • Treemap of projects for a given Maven groupId
  • My favourites (flagged resources such as projects, packages, and files)

Administrators could configure default homepage filters, while individual users could create personal filters for their own workflow.

flowchart TD
    A[Code analysis completes] --> B[Metrics are stored]
    B --> C[Homepage loads filters]
    C --> D[Filter tab shows selected resources]
    D --> E[User reviews hotspots]
    E --> F[Mark resources as favourites]
    F --> G[My favourites tab for quick return]
    C --> H[Admin sets default homepage filters]

Original screenshot links from the release announcement

Plugin classloaders in Sonar 2.2

The second headline feature was plugin isolation through independent classloaders. The stated benefit was that plugin authors were no longer limited to Sonar-provided libraries and could define their own dependencies.

AspectEarlier behavior (as described in announcement)Behavior in Sonar 2.2
Dependency scopePlugins constrained by Sonar librariesPlugins can declare their own dependencies
Classloading modelLess isolated plugin executionIndependent classloaders per plugin
Developer impactHigher risk of library constraints/conflictsImproved flexibility for plugin implementation

Conceptual dependency example for a plugin build

The snippet below is a generic Maven illustration of plugin-local dependencies. Validate exact coordinates and plugin packaging details against archived Sonar 2.2 documentation before use.

<project>
  <dependencies>
    <dependency>
      <groupId>com.example</groupId>
      <artifactId>custom-metrics-lib</artifactId>
      <version>1.4.0</version>
    </dependency>
  </dependencies>
</project>Code language: HTML, XML (xml)

Original release resources

Common pitfalls when using this historical release information

  • Assuming 2010 documentation paths are still current in modern Sonar distributions.
  • Expecting all legacy Codehaus and Skitch URLs to resolve without using web archives.
  • Applying old plugin upgrade notes directly to newer major versions without migration checks.
  • Treating historical feature behavior as unchanged in current releases.

Attribution preserved from the original announcement: Special thanks to contributors who provided patches, feedback, and support. — The Sonar team.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Example of sonar-project.properties file

sonar-project.properties is the configuration file SonarScanner CLI reads from a project's root directory. It tells the scanner which project to report to, where the source and test…

Read More

Sonar Maven Plugin 1.0-beta-2: What Changed for Archiva/Nexus-Based Builds

This historical release note introduced simpler Sonar Maven Plugin behavior when using repository managers like Archiva or Nexus. Here’s what changed from beta-1, how compatibility works with Sonar versions, and how to validate legacy CI behavior.

Read More

Sonar Maven Plugin 1.0-beta-2: What Changed and How to Configure Legacy Builds

This update from the Mojo team simplified Sonar Maven Plugin configuration when using repository managers like Archiva or Nexus. Here’s a clear breakdown of compatibility, behavior differences from beta-1, and practical legacy setup guidance.

Read More

Sonar PDF Report Plugin 2.1: Integrations, SVG Support, and What the Release Actually Added

This revised note explains what was explicitly announced for Sonar PDF Report Plugin 2.1: broader plugin data inclusion and SVG image support. It also maps the reporting workflow and gives a practical adoption checklist for DevOps teams maintaining legacy Sonar setups.

Read More

Build Stability Plugin 1.1.1: Confirmed Changes and a Safe Legacy Rollout Plan

The original Sonar team post for Build Stability Plugin 1.1.1 is brief but important: it announces a Bamboo support fix. This revised guide explains what is confirmed, what is missing, and how to upgrade cautiously in legacy environments.

Read More

SonarQube Masterclass: 2-Day Hands-on Training for Developers, DevOps & Administrators

In modern software delivery, writing code is only one part of the engineering journey. Teams also need to ensure that the code is secure, maintainable, reliable, testable,…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Puja kushwaha
Puja kushwaha
1 month ago

Sonar can help teams spot code quality issues before they become harder to fix. Regular analysis works best when developers review findings during code changes, rather than waiting until release time. Setting clear quality rules helps teams focus on serious bugs and security risks first. It is also useful to track recurring issues and improve the code in small steps. This makes code reviews more focused and helps keep projects easier to maintain.

1
0
Would love your thoughts, please comment.x
()
x