Upgrade Maven Surefire-Plugin from 2.x to 3.x - maven

After upgrading from 2.2 to 3.0.0-M7 our Unit Tests are not executed anymore.
Does anybody know about some documentation how to upgrade with JUnit 4, TestNG, Cucumber? I didn't find any documentation on the Apache Site.

Related

Does SonarQube 5.1.1 Support integration test coverage?

I have verified SonarQube + jacoco analyzer's integration test coverage using v 6.1 and jacoco maven plugin 0.7.7.201606060606
This works as expected and is able to list coverage by integration tests.
We have a SonarQube server running at version 5.1.1 does anyone know if that version of SonarQube is capable of showing integration test coverage numbers when using agents at 0.7.7.201606060606?
Reading JaCoCo report is done by the sonar java analyzer (so the sonarqube version is a rather indirect information here).
JaCoCo produces binary report and last incompatibility introduced was in 0.7.6 and that was handled in sonar java analyzer 3.4.
So if you use any version of SonarQube with a java analyzer with a version greater than 3.4 you should be fine to analyze JaCoCo reports produced with version 0.7.7
However given that 5.1.1 is not the latest LTS I would recommend you to upgrade to at least 5.6 and use latest sonar java analyzer.

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

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

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.

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