From a7fde67f06136665e08b3d54d5ef82a0e9674eab Mon Sep 17 00:00:00 2001 From: stanislavh Date: Tue, 24 Jan 2023 11:46:03 +0100 Subject: [PATCH] [SQSCANNER-110] Update license headers 2023 --- .cirrus.yml | 10 ++-------- NOTICE.txt | 2 +- README.md | 20 +++++++------------ it/pom.xml | 2 +- .../scanner/it/DistributionTest.java | 2 +- .../scanner/it/MultimoduleTest.java | 2 +- .../sonarsource/scanner/it/ScannerTest.java | 2 +- .../scanner/it/ScannerTestCase.java | 2 +- .../scanner/it/SonarScannerTestSuite.java | 2 +- pom.xml | 2 +- .../java/org/sonarsource/scanner/cli/Cli.java | 2 +- .../org/sonarsource/scanner/cli/Conf.java | 2 +- .../org/sonarsource/scanner/cli/Exit.java | 2 +- .../org/sonarsource/scanner/cli/Logs.java | 2 +- .../org/sonarsource/scanner/cli/Main.java | 2 +- .../scanner/cli/PropertyResolver.java | 2 +- .../scanner/cli/ScannerFactory.java | 2 +- .../scanner/cli/ScannerVersion.java | 2 +- .../org/sonarsource/scanner/cli/Stats.java | 2 +- .../sonarsource/scanner/cli/SystemInfo.java | 2 +- .../sonarsource/scanner/cli/package-info.java | 2 +- .../org/sonar/api/utils/MessageException.java | 2 +- .../org/sonarsource/scanner/cli/CliTest.java | 2 +- .../org/sonarsource/scanner/cli/ConfTest.java | 2 +- .../org/sonarsource/scanner/cli/LogsTest.java | 2 +- .../org/sonarsource/scanner/cli/MainTest.java | 2 +- .../scanner/cli/PropertyResolverTest.java | 2 +- .../scanner/cli/ScannerFactoryTest.java | 2 +- .../sonarsource/scanner/cli/StatsTest.java | 2 +- .../scanner/cli/SystemInfoTest.java | 2 +- 30 files changed, 37 insertions(+), 49 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 843fbb4..f8aee16 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -25,7 +25,6 @@ env: DEPLOY_PULL_REQUEST: true ARTIFACTS: org.sonarsource.scanner.cli:sonar-scanner-cli:jar - # # RE-USABLE CONFIGS # @@ -48,7 +47,6 @@ ec2_instance: &EC2_INSTANCE_WINDOWS only_sonarsource_qa: &ONLY_SONARSOURCE_QA only_if: $CIRRUS_USER_COLLABORATOR == 'true' && ($CIRRUS_PR != "" || $CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*" || $CIRRUS_BRANCH =~ "dogfood-on-.*") - # # TASKS # @@ -75,9 +73,7 @@ linux_qa_java11_task: eks_container: <<: *EKS_CONTAINER env: - matrix: - - SQ_VERSION: LATEST_RELEASE[8.9] - - SQ_VERSION: DEV + SQ_VERSION: LATEST_RELEASE[8.9] maven_cache: folder: ${CIRRUS_WORKING_DIR}/.m2/repository qa_script: @@ -117,9 +113,7 @@ win_qa_java11_task: <<: *EC2_INSTANCE_WINDOWS env: CIRRUS_SHELL: bash - matrix: - - SQ_VERSION: LATEST_RELEASE[8.9] - - SQ_VERSION: DEV + SQ_VERSION: LATEST_RELEASE[8.9] maven_cache: folder: ${CIRRUS_WORKING_DIR}/.m2/repository qa_script: diff --git a/NOTICE.txt b/NOTICE.txt index 3768c3e..37a6a4d 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ SonarQube Scanner -Copyright (C) 2011-2020 SonarSource SA +Copyright (C) 2011-2023 SonarSource SA mailto:info AT sonarsource DOT com This product includes software developed at diff --git a/README.md b/README.md index 775f2e7..cca5406 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,21 @@ -Scanner CLI for SonarQube and SonarCloud -========================= +# Scanner CLI for SonarQube and SonarCloud + Official scanner used to run code analysis on SonarQube and SonarCloud. Project configuration is read from file `sonar-project.properties` or passed on command line. [![Build Status](https://api.cirrus-ci.com/github/SonarSource/sonar-scanner-cli.svg)](https://cirrus-ci.com/github/SonarSource/sonar-scanner-cli) [![Build status](https://ci.appveyor.com/api/projects/status/s3sg3fhui556v02o/branch/master?svg=true)](https://ci.appveyor.com/project/henryju/sonar-scanner-cli/branch/master) [![Quality Gate Status](https://next.sonarqube.com/sonarqube/api/project_badges/measure?project=org.sonarsource.scanner.cli%3Asonar-scanner-cli&metric=alert_status)](https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.scanner.cli%3Asonar-scanner-cli) -Documentation -------------- +## Documentation https://redirect.sonarsource.com/doc/install-configure-scanner.html -Have Question or Feedback? --------------------------- +## Have Question or Feedback? For support questions ("How do I?", "I got this error, why?", ...), please head to the [SonarSource forum](https://community.sonarsource.com/c/help). There are chances that a question similar to yours has already been answered. Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-) - -Contributing ------------- +## Contributing If you would like to see a new feature, please create a new thread in the forum ["Suggest new features"](https://community.sonarsource.com/c/suggestions/features). @@ -29,10 +25,8 @@ With that in mind, if you would like to submit a code contribution, please creat Make sure that you follow our [code style](https://github.com/SonarSource/sonar-developer-toolset#code-style) and all tests are passing (Travis build is executed for each pull request). +## License -License -------- - -Copyright 2011-2022 SonarSource. +Copyright 2011-2023 SonarSource. Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt) diff --git a/it/pom.xml b/it/pom.xml index a334dee..85323f8 100644 --- a/it/pom.xml +++ b/it/pom.xml @@ -6,7 +6,7 @@ org.sonarsource.parent parent - 60.0.52 + 65.0.218 diff --git a/it/src/test/java/com/sonarsource/scanner/it/DistributionTest.java b/it/src/test/java/com/sonarsource/scanner/it/DistributionTest.java index 7795ad8..d874465 100644 --- a/it/src/test/java/com/sonarsource/scanner/it/DistributionTest.java +++ b/it/src/test/java/com/sonarsource/scanner/it/DistributionTest.java @@ -1,6 +1,6 @@ /* * SonarSource :: IT :: SonarScanner CLI - * Copyright (C) 2009-2022 SonarSource SA + * Copyright (C) 2009-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/it/src/test/java/com/sonarsource/scanner/it/MultimoduleTest.java b/it/src/test/java/com/sonarsource/scanner/it/MultimoduleTest.java index 637f289..dd55622 100644 --- a/it/src/test/java/com/sonarsource/scanner/it/MultimoduleTest.java +++ b/it/src/test/java/com/sonarsource/scanner/it/MultimoduleTest.java @@ -1,6 +1,6 @@ /* * SonarSource :: IT :: SonarScanner CLI - * Copyright (C) 2009-2022 SonarSource SA + * Copyright (C) 2009-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java b/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java index ade68a5..0058830 100644 --- a/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java +++ b/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java @@ -1,6 +1,6 @@ /* * SonarSource :: IT :: SonarScanner CLI - * Copyright (C) 2009-2022 SonarSource SA + * Copyright (C) 2009-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java b/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java index be96a06..906368e 100644 --- a/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java +++ b/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java @@ -1,6 +1,6 @@ /* * SonarSource :: IT :: SonarScanner CLI - * Copyright (C) 2009-2022 SonarSource SA + * Copyright (C) 2009-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java b/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java index 4af4815..73e011e 100644 --- a/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java +++ b/it/src/test/java/com/sonarsource/scanner/it/SonarScannerTestSuite.java @@ -1,6 +1,6 @@ /* * SonarSource :: IT :: SonarScanner CLI - * Copyright (C) 2009-2022 SonarSource SA + * Copyright (C) 2009-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/pom.xml b/pom.xml index 60b60a0..9fad6ad 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.sonarsource.parent parent - 64.0.211 + 65.0.218 org.sonarsource.scanner.cli diff --git a/src/main/java/org/sonarsource/scanner/cli/Cli.java b/src/main/java/org/sonarsource/scanner/cli/Cli.java index 3b64dd5..b554051 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Cli.java +++ b/src/main/java/org/sonarsource/scanner/cli/Cli.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/Conf.java b/src/main/java/org/sonarsource/scanner/cli/Conf.java index 96e7e96..bd33349 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Conf.java +++ b/src/main/java/org/sonarsource/scanner/cli/Conf.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/Exit.java b/src/main/java/org/sonarsource/scanner/cli/Exit.java index e06421f..33947ae 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Exit.java +++ b/src/main/java/org/sonarsource/scanner/cli/Exit.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/Logs.java b/src/main/java/org/sonarsource/scanner/cli/Logs.java index 361c3e5..3c611ed 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Logs.java +++ b/src/main/java/org/sonarsource/scanner/cli/Logs.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/Main.java b/src/main/java/org/sonarsource/scanner/cli/Main.java index 63464af..90814c4 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Main.java +++ b/src/main/java/org/sonarsource/scanner/cli/Main.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java b/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java index d04cef0..36d0573 100644 --- a/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java +++ b/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/ScannerFactory.java b/src/main/java/org/sonarsource/scanner/cli/ScannerFactory.java index ecb22f3..595b752 100644 --- a/src/main/java/org/sonarsource/scanner/cli/ScannerFactory.java +++ b/src/main/java/org/sonarsource/scanner/cli/ScannerFactory.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/ScannerVersion.java b/src/main/java/org/sonarsource/scanner/cli/ScannerVersion.java index 1f532d3..53052c5 100644 --- a/src/main/java/org/sonarsource/scanner/cli/ScannerVersion.java +++ b/src/main/java/org/sonarsource/scanner/cli/ScannerVersion.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/Stats.java b/src/main/java/org/sonarsource/scanner/cli/Stats.java index 91c4af5..c233413 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Stats.java +++ b/src/main/java/org/sonarsource/scanner/cli/Stats.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java b/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java index 4898d4d..5dfd6bd 100644 --- a/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java +++ b/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/main/java/org/sonarsource/scanner/cli/package-info.java b/src/main/java/org/sonarsource/scanner/cli/package-info.java index 7e4192f..2813ec2 100644 --- a/src/main/java/org/sonarsource/scanner/cli/package-info.java +++ b/src/main/java/org/sonarsource/scanner/cli/package-info.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonar/api/utils/MessageException.java b/src/test/java/org/sonar/api/utils/MessageException.java index acd3a0b..9891937 100644 --- a/src/test/java/org/sonar/api/utils/MessageException.java +++ b/src/test/java/org/sonar/api/utils/MessageException.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/CliTest.java b/src/test/java/org/sonarsource/scanner/cli/CliTest.java index d265492..b2fa6f3 100644 --- a/src/test/java/org/sonarsource/scanner/cli/CliTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/CliTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/ConfTest.java b/src/test/java/org/sonarsource/scanner/cli/ConfTest.java index 57e4cb2..f4dff25 100644 --- a/src/test/java/org/sonarsource/scanner/cli/ConfTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/ConfTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/LogsTest.java b/src/test/java/org/sonarsource/scanner/cli/LogsTest.java index 212726b..0fde0c2 100644 --- a/src/test/java/org/sonarsource/scanner/cli/LogsTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/LogsTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/MainTest.java b/src/test/java/org/sonarsource/scanner/cli/MainTest.java index 80847be..e2f5510 100644 --- a/src/test/java/org/sonarsource/scanner/cli/MainTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/MainTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/PropertyResolverTest.java b/src/test/java/org/sonarsource/scanner/cli/PropertyResolverTest.java index 39549bb..bff6d8f 100644 --- a/src/test/java/org/sonarsource/scanner/cli/PropertyResolverTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/PropertyResolverTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java b/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java index a06faf0..5c07349 100644 --- a/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/StatsTest.java b/src/test/java/org/sonarsource/scanner/cli/StatsTest.java index 09f630a..0b73a6a 100644 --- a/src/test/java/org/sonarsource/scanner/cli/StatsTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/StatsTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/src/test/java/org/sonarsource/scanner/cli/SystemInfoTest.java b/src/test/java/org/sonarsource/scanner/cli/SystemInfoTest.java index 6deb611..c6c0585 100644 --- a/src/test/java/org/sonarsource/scanner/cli/SystemInfoTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/SystemInfoTest.java @@ -1,6 +1,6 @@ /* * SonarScanner CLI - * Copyright (C) 2011-2022 SonarSource SA + * Copyright (C) 2011-2023 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or -- 2.39.5