2

We currently use SonarQube 4.5.1 and want to switch to 5.2. In preparation for this step we switched the build version of our SonarQube Plugins from 4.4 to 5.2.

The sensor constructors used MavenProject as IoC:

public MySensor(Settings settings, MavenProject pom) {
    this.settings = settings;
    this.pom = pom;
}

But this no longer works in 5.2.

I found two tickets which seem to relate to this:

We need this to read GAV and/or properties/dependencies from the pom.xml.

Is there a way to do this in 5.2?

Johannes Zink
  • 495
  • 4
  • 13

0 Answers0