troubles with getting c# plugin 3.0 and resharper to work properly - sonarqube

we have upgraded to SonarQube 4.3 and C# plugin 3.0 but we are struggling to get the integration with resharper working.
Which version of the Reshaprer plugin shall be available for SonarQube 4.3?
In update center I find version 1.0 but when I look at the reshaper plugin documentation there shall be a version 1.1 available.
Can I upgrade to the resharper plugin to version 1.1 in any other way? I have tried to put the 1.1 jar file in the plugin directory but then SonarQube refuse to start due to missing dependencies.
The reason for wanting version 1.1 is that we need to use our own dotsettings file and this seems to not be available in version 1.0. We also can´t get the reuseReport mode to work at all with the current installed version. Even if we use “sonar.resharper.mode=skip” resharper is trigged in the analysis.

The situation is quite messy, there indeed was a ".NET ReSharper" plugin available in version 1.0 and 1.1. This plugin is only compatible with the .NET ecosystem 2.1.
C# 3.0 is only compatible with a "ReSharper" plugin, which only exists in version 1.0.
Please refer to the following documentation: http://docs.sonarqube.org/display/SONAR/ReSharper+Plugin
Indeed the ReSharper 1.0 plugin does not support reuseReport mode (and it is not planned to add it currently).
However, there are plans to be able to import/export DotSettings files from/to SonarQube quality profiles: https://jira.codehaus.org/browse/SONARPLUGINS-3738
Have also a look at the example project: https://github.com/SonarSource/sonar-examples/tree/master/projects/languages/csharp
Final note: The .NET ecosystem 2.1 is not compatible with SonarQube 4.3.

Related

How to upgrade core 2.1.1 to core 2.2.3

The official documentation does not work.
Do I need VS 2017 Preview?! Or to restart my pc every time I install "Latest stable 2.2.3" SDK's? Perhaps its not so stable? Should I try 2.2.1 lol
VS 2015 will work up for up to .NET Core 1.1 (now EOL). VS 2017 will work for up to .NET Core 2.2. .NET Core 3.0+ requires VS 2019.
It's not clear what your exact issue is, but the process is basically this:
Download the appropriate .NET Core SDK version. Be careful because the SDK version is somewhat independent of the .NET Core version. Pay attention to specifically what version of .NET Core the SDK supports, not the version number of the SDK itself.
Edit your project file and change the target to the new .NET Core version. This will be the minor version, not patch releates. In other words, for any .NET Core 2.2.X, you'd use netcoreapp2.2 as your target.
That's it. After you save, any NuGet dependencies of your project, such as Microsoft.AspNetCore.App will update to the latest version within that target, i.e. 2.2.X. However, note that some packages may not always have new versions. Most of the major parts of ASP.NET Core, for example, change enough with each version that the NuGet packages get bumped as well. However, it is possible that you may still use a 2.1.X package if nothing changed in that for 2.2. In any case, you'll be able to see in Visual Studio if it's fully updated or not.

What are the options for generating a report in SonarQube v6.3.1

The Governance plugin is not working with the version. And pdf-report plugin is also not supported.
There is currently no option that we are aware of.
You are right that Governance is indeed not compatible with SonarQube 6.3.1 because it's not a LTS (Long Term Supported) version - and Governance is released only for LTS versions of SonarQube.

What happened to the package tangle index in SonarQube 5.0?

I have a cyclical dependency that's preventing Maven from building so I upgraded my SonarQube installation (old 4.6 installation would fail with transport exceptions) to 5.0, and I cannot find the package tangle index.
The only bit I can find on it is this article from SonarQube 2.0.
I don't know for 5.0, but this feature has been removed in 5.2.
All needed details an be found here : https://jira.sonarsource.com/browse/SONAR-6553

Maven plugin for RAD 7.5.5

i have to migrate some project from Eclipse to RAD 7.5.5
Now i'm trying to install a maven plugin like i had on Eclipse, but i can't find it, i tried
http://repository.sonatype.org/content/sites/forge-sites/m2e
http://m2eclipse.sonatype.org/sites/m2e-e34/
http://m2eclipse.sonatype.org/sites/m2e
http://download.eclipse.org/technology/m2e/releases
those sites that i found on web when i go for:
Help>Software Updates>Aviable Software>Add sites
gives to me "no repository found"
So i need a working repository to install Maven.
I found that this maven/rad version is very aged, so it can be hard to find now.
Any .zip file will be fine also.
First of all, RAD 7.5.x is not supported anymore by IBM (EOS dated on September 30, 2014), so my first advice is to move up to a newer version and I have the feeling that RAD includes Maven support since 8.5.1. Latest version out there is 9.1.1.
http://www-01.ibm.com/software/support/lifecycleapp/PLCDetail.wss?synkey=W170532D29019M02-L603472G19375Q17-M054243E02973V75
Second, honestly I don't recall which version of Eclipse is used in RAD 7.5.x. If it is older than Eclipse 3.6 then I don't think there is any integration for it. Try this repo
http://download.eclipse.org/m2e-wtp/releases/juno/
Here is the M2E for WTP site in Eclipse Marketplace
http://marketplace.eclipse.org/content/maven-integration-eclipse-wtp-juno-0#.VIHEs10S1hg

What are the required versions when migrating Sonar from 2.7 to 4.0

I would like to migrate Sonar from version 2.7 to 4.0 and would like to know the required versions needed for this migration.
If I correctly understand your question, then the answer is: you don't need any specific versions of SonarQube, just download the version you want (so in your case 4.0) and follow the upgrade guide, and everything will be fine.

Resources