Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Click "New type" and add "org.mockito.Mockito"

Disabling Validation (which slows local builds and generates numerous irrelevant warnings)

Go to Preferences→Validation

Uncheck "Allow projects to override these preference settings"

Deselect ALL

Setting up the ONAP Checkstyle in Eclipse

...

And then follow the steps mentioned here https://projectlombok.org/setup/eclipse

Enabling Sonar plugin

Install SonarLint via the Eclipse Market Place (Help→Eclipse Market Place)

Right click on one of the projects and select SonarLint→Bind to SonarQube or SonarCloud

Click the SonarQube radio button and then "Next"

Enter the URL, "https://sonar.onap.org"

Click the "Username + password" radio button and click "Next"

Enter your LF user name and password and click "Next"

Click "Next" and "Finish"

On the page, "Select projects to bind", click "Add"

Select all projects and click "Next"

In the "Select SonarQube/SonarCloud project" type "policy" and then pick the relevant policy repo from the drop-down list

Click "Finish"

Note: this process will take several minutes to run.  It may also generate the following warning in the console window, which can be ignored:

The following plugins do not meet the required minimum versions, please upgrade them on your SonarQube server