SONAR-5618 Close session after use in ComponentDataPersister
SONAR-5389 Add a new dependency API
SONAR-5604 Fix dependency injection when using old versions of the Maven plugin