From e6148e3c466904251f9d7aa1d7bb152bf0a4d8c9 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Fri, 6 Nov 2015 10:45:22 +0200 Subject: [PATCH 1/3] Update urls in pom.xml --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index f87d14516b..49c0088cff 100644 --- a/pom.xml +++ b/pom.xml @@ -114,18 +114,18 @@ - scm:git:git@github.com:wenns/sonar-cxx.git - https://github.com/wenns/sonar-cxx - https://github.com/wenns/sonar-cxx + scm:git:git@github.com:SonarOpenCommunity/sonar-cxx.git + https://github.com/SonarOpenCommunity/sonar-cxx + https://github.com/SonarOpenCommunity/sonar-cxx HEAD Git - https://github.com/wenns/sonar-cxx/issues?state=open + https://github.com/SonarOpenCommunity/sonar-cxx/issues?state=open Travis-CI - https://travis-ci.org/wenns/sonar-cxx/ + https://travis-ci.org/SonarOpenCommunity/sonar-cxx/ From fe9faf2483deb0565257ce8ce576d3ebec257e8d Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Fri, 6 Nov 2015 15:09:10 +0200 Subject: [PATCH 2/3] update documentation according with SonarOpenCommunity --- README.md | 17 +++++------ pom.xml | 2 +- .../java/org/sonar/plugins/cxx/CxxPlugin.java | 28 +++++++++---------- 3 files changed, 24 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 412a8506af..b93e565dc2 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,17 @@ adds C++ support to this platform. ## Quickstart 1. Setup a SonarQube instance -2. Install the plugin (see [Installation](https://github.com/wenns/sonar-cxx/wiki/Installation)) -3. Run an analysis (see [Running the analysis](https://github.com/wenns/sonar-cxx/wiki/Running-the-analysis)) +2. Install the plugin (see [Installation](https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Installation)) +3. Run an analysis (see [Running the analysis](https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Running-the-analysis)) ## Resources -- [Latest release](https://github.com/wenns/sonar-cxx/releases) -- [Documentation](https://github.com/wenns/sonar-cxx/wiki) -- [Issue Tracker](https://github.com/wenns/sonar-cxx/issues) -- [Continuous Integration](https://travis-ci.org/wenns/sonar-cxx) -- [Sample project](https://github.com/wenns/sonar-cxx/tree/master/sonar-cxx-plugin/src/samples/SampleProject) +- [Latest release](https://github.com/SonarOpenCommunity/sonar-cxx/releases) +- [Documentation](https://github.com/SonarOpenCommunity/sonar-cxx/wiki) +- [Issue Tracker](https://github.com/SonarOpenCommunity/sonar-cxx/issues) +- [Continuous Integration Unix](https://travis-ci.org/SonarOpenCommunity/sonar-cxx) +- [Continuous Integration Windows](https://ci.appveyor.com/project/SonarOpenCommunity/sonar-cxx) +- [Sample project](https://github.com/SonarOpenCommunity/sonar-cxx/tree/master/sonar-cxx-plugin/src/samples/SampleProject) ## Alternatives: @@ -32,4 +33,4 @@ the commercial [C++ plugin from SonarSource](http://www.sonarsource.com/products Choose whatever fits your needs. ## Subscribe -Subscribe our [release feed](https://github.com/wenns/sonar-cxx/releases.atom) +Subscribe our [release feed](https://github.com/SonarOpenCommunity/sonar-cxx/releases.atom) diff --git a/pom.xml b/pom.xml index 49c0088cff..e862f700ef 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ pom Cxx - https://github.com/wenns/sonar-cxx + https://github.com/SonarOpenCommunity/sonar-cxx 2011 Waleri Enns diff --git a/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/CxxPlugin.java b/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/CxxPlugin.java index 0b58058ffb..5d66903430 100644 --- a/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/CxxPlugin.java +++ b/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/CxxPlugin.java @@ -160,7 +160,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxCppCheckRuleRepository.CUSTOM_RULES_KEY) .name("Cppcheck custom rules") .description("XML definitions of custom Cppcheck rules, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .index(2) @@ -178,7 +178,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxValgrindRuleRepository.CUSTOM_RULES_KEY) .name("Valgrind custom rules") .description("XML definitions of custom Valgrind rules, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .index(4) @@ -196,7 +196,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxPCLintRuleRepository.CUSTOM_RULES_KEY) .name("PC-lint custom rules") .description("XML definitions of custom PC-lint rules, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .index(6) @@ -214,7 +214,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxRatsRuleRepository.CUSTOM_RULES_KEY) .name("RATS custom rules") .description("XML definitions of custom RATS rules, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .index(8) @@ -232,7 +232,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxVeraxxRuleRepository.CUSTOM_RULES_KEY) .name("Vera++ custom rules") .description("XML definitions of custom Vera++ rules, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .index(10) @@ -242,7 +242,7 @@ private static List codeAnalysisProperties() { .name("External checkers report(s)") .description("Path to a code analysis report, which is generated by some unsupported code analyser, relative to projects root." + " Use Ant-style wildcards if neccessary." - + " See here for details.") + + " See here for details.") .subCategory(subcateg) .onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE) .index(11) @@ -251,7 +251,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxExternalRuleRepository.RULES_KEY) .name("External rules") .description("Rule sets for 'external' code analysers. Use one value per rule set." - + " See this page for details.") + + " See this page for details.") .type(PropertyType.TEXT) .multiValues(true) .subCategory(subcateg) @@ -261,7 +261,7 @@ private static List codeAnalysisProperties() { PropertyDefinition.builder(CxxExternalRuleRepository.SQALES_KEY) .name("External SQALE characteristics") .description("SQALE characteristics for 'external' code analysers. Use one value per rule set." - + " See this page for details.") + + " See this page for details.") .type(PropertyType.TEXT) .multiValues(true) .subCategory(subcateg) @@ -313,7 +313,7 @@ private static List compilerWarningsProperties() { PropertyDefinition.builder(CxxCompilerVcRuleRepository.CUSTOM_RULES_KEY) .name("Custom rules for Visual C++ warnings") .description("XML definitions of custom rules for Visual C++ warnings, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .index(5) @@ -322,7 +322,7 @@ private static List compilerWarningsProperties() { PropertyDefinition.builder(CxxCompilerGccRuleRepository.CUSTOM_RULES_KEY) .name("Custom rules for GCC warnings") .description("XML definitions of custom rules for GCC's warnings, which are'nt builtin into the plugin." - + " The used format is described here.") + + " The used format is described here.") .type(PropertyType.TEXT) .subCategory(subcateg) .build() @@ -335,7 +335,7 @@ private static List testingAndCoverageProperties() { PropertyDefinition.builder(CxxCoverageSensor.REPORT_PATH_KEY) .name("Unit test coverage report(s)") .description("Path to a report containing unit test coverage data, relative to projects root." - + " See here for supported formats." + + " See here for supported formats." + " Use Ant-style wildcards if neccessary.") .subCategory(subcateg) .onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE) @@ -345,7 +345,7 @@ private static List testingAndCoverageProperties() { PropertyDefinition.builder(CxxCoverageSensor.IT_REPORT_PATH_KEY) .name("Integration test coverage report(s)") .description("Path to a report containing integration test coverage data, relative to projects root." - + " See here for supported formats." + + " See here for supported formats." + " Use Ant-style wildcards if neccessary.") .subCategory(subcateg) .onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE) @@ -355,7 +355,7 @@ private static List testingAndCoverageProperties() { PropertyDefinition.builder(CxxCoverageSensor.OVERALL_REPORT_PATH_KEY) .name("Overall test coverage report(s)") .description("Path to a report containing overall test coverage data (i.e. test coverage gained by all tests of all kinds), relative to projects root." - + " See here for supported formats." + + " See here for supported formats." + " Use Ant-style wildcards if neccessary.") .subCategory(subcateg) .onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE) @@ -376,7 +376,7 @@ private static List testingAndCoverageProperties() { PropertyDefinition.builder(CxxXunitSensor.REPORT_PATH_KEY) .name("Unit test execution report(s)") .description("Path to unit test execution report(s), relative to projects root." - + " See Ant-style wildcards if neccessary.") .subCategory(subcateg) .onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE) From 33492aa41a15fabceaa9110a6d7de7482b16d1e5 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Fri, 6 Nov 2015 15:16:51 +0200 Subject: [PATCH 3/3] update documentation according with SonarOpenCommunity --- sonar-cxx-plugin/pom.xml | 2 +- sonar-cxx-plugin/src/samples/SampleProject2/Readme | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-cxx-plugin/pom.xml b/sonar-cxx-plugin/pom.xml index 17dd9c72fb..e0ab8fd7f5 100644 --- a/sonar-cxx-plugin/pom.xml +++ b/sonar-cxx-plugin/pom.xml @@ -14,7 +14,7 @@ Cxx :: Sonar Plugin 2010 Enable analysis and reporting on c++ projects. - http://docs.codehaus.org/display/SONAR/CXX+PLUGIN + https://github.com/SonarOpenCommunity/sonar-cxx/wiki Neticoa SAS France diff --git a/sonar-cxx-plugin/src/samples/SampleProject2/Readme b/sonar-cxx-plugin/src/samples/SampleProject2/Readme index 904e4437d5..9034fce3db 100644 --- a/sonar-cxx-plugin/src/samples/SampleProject2/Readme +++ b/sonar-cxx-plugin/src/samples/SampleProject2/Readme @@ -26,7 +26,7 @@ It assumes following software to be installed: - vera++, perl, vera++Report2checkstyleReport.perl See the the Cxx-Plugin Wiki for some details on dependencies: -http://docs.codehaus.org/display/SONAR/CXX+Plugin +https://github.com/SonarOpenCommunity/sonar-cxx/wiki ################################################################################