aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsPlugin.java4
-rw-r--r--tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsSensor.java2
-rw-r--r--tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsTaskExtension.java6
-rw-r--r--tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/BackdatingPlugin.java2
-rw-r--r--tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/package-info.java2
-rw-r--r--tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/CustomRulesDefinition.java2
-rw-r--r--tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/MyCustomProcessor.java2
-rw-r--r--tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/package-info.java2
-rw-r--r--tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java2
-rw-r--r--tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java2
-rw-r--r--tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/package-info.java2
-rw-r--r--tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java2
-rw-r--r--tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV1.java2
-rw-r--r--tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/package-info.java2
-rw-r--r--tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java2
-rw-r--r--tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java2
-rw-r--r--tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/package-info.java2
-rw-r--r--tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java2
-rw-r--r--tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV2.java2
-rw-r--r--tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/package-info.java2
-rw-r--r--tests/plugins/base-auth-plugin/src/main/java/FakeBaseAuthPlugin.java2
-rw-r--r--tests/plugins/base-auth-plugin/src/main/java/FakeBaseIdProvider.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/BatchPlugin.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/DumpSettingsInitializer.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/RaiseMessageException.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/TempFolderExtension.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/WaitingSensor.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMeasureComputer.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMetric.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleProperty.java2
-rw-r--r--tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleSensor.java2
-rw-r--r--tests/plugins/extension-lifecycle-plugin/src/main/java/BatchService.java2
-rw-r--r--tests/plugins/extension-lifecycle-plugin/src/main/java/ExtensionLifecyclePlugin.java4
-rw-r--r--tests/plugins/extension-lifecycle-plugin/src/main/java/ProjectService.java2
-rw-r--r--tests/plugins/extension-lifecycle-plugin/src/main/java/ServerService.java2
-rw-r--r--tests/plugins/fake-billing-plugin/src/main/java/FakeBillingPlugin.java19
-rw-r--r--tests/plugins/fake-billing-plugin/src/main/java/FakeBillingValidations.java19
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/FakeGovernancePlugin.java3
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/BombConfig.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/ComponentBombReportAnalysisComponentProvider.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/IseTaskProcessor.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/OOMGenerator.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/OkTaskProcessor.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/OomTaskProcessor.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGoVWsAction.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGovWs.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/workerCount/FakeWorkerCountProviderImpl.java19
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/workerlatch/LatchControllerWorkerMeasureComputer.java2
-rw-r--r--tests/plugins/fake-governance-plugin/src/main/java/workerlatch/WorkerLatchMetrics.java2
-rw-r--r--tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/Foo.java2
-rw-r--r--tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/FooPlugin.java2
-rw-r--r--tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/package-info.java2
-rw-r--r--tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooBasicProfile.java2
-rw-r--r--tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java2
-rw-r--r--tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/package-info.java2
-rw-r--r--tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/Foo.java2
-rw-r--r--tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/FooPlugin.java2
-rw-r--r--tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/package-info.java2
-rw-r--r--tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooBasicProfile.java2
-rw-r--r--tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java2
-rw-r--r--tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/package-info.java2
-rw-r--r--tests/plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java2
-rw-r--r--tests/plugins/global-property-change-plugin/src/main/java/GlobalPropertyChangePlugin.java2
-rw-r--r--tests/plugins/issue-filter-plugin/src/main/java/IssueFilterBeforeLine5.java6
-rw-r--r--tests/plugins/issue-filter-plugin/src/main/java/IssueFilterPlugin.java2
-rw-r--r--tests/plugins/issue-filter-plugin/src/main/java/ModuleIssueFilter.java8
-rw-r--r--tests/plugins/l10n-fr-pack/src/main/java/SimpleFrenchPackPlugin.java2
-rw-r--r--tests/plugins/license-plugin/src/main/java/LicensePlugin.java2
-rw-r--r--tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2AuthPlugin.java2
-rw-r--r--tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2IdProvider.java2
-rw-r--r--tests/plugins/posttask-plugin/src/main/java/AddScannerContextSensor.java2
-rw-r--r--tests/plugins/posttask-plugin/src/main/java/LogScannerContextPostTask.java2
-rw-r--r--tests/plugins/posttask-plugin/src/main/java/PostProjectAnalysisTaskImpl.java3
-rw-r--r--tests/plugins/posttask-plugin/src/main/java/PostTaskPlugin.java2
-rw-r--r--tests/plugins/project-builder-plugin/src/main/java/CreateSubProjects.java3
-rw-r--r--tests/plugins/project-builder-plugin/src/main/java/ProjectBuilderPlugin.java4
-rw-r--r--tests/plugins/project-builder-plugin/src/main/java/RenameProject.java3
-rw-r--r--tests/plugins/property-relocation-plugin/src/main/java/CheckProperties.java2
-rw-r--r--tests/plugins/property-relocation-plugin/src/main/java/PropertyRelocationPlugin.java2
-rw-r--r--tests/plugins/property-sets-plugin/src/main/java/PropertySetsPlugin.java2
-rw-r--r--tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/ModuleMeasureSensor.java2
-rw-r--r--tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/SaveMeasureOnModulePlugin.java2
-rw-r--r--tests/plugins/security-plugin/src/main/java/FakeAuthenticator.java2
-rw-r--r--tests/plugins/security-plugin/src/main/java/FakeGroupsProvider.java2
-rw-r--r--tests/plugins/security-plugin/src/main/java/FakeRealm.java2
-rw-r--r--tests/plugins/security-plugin/src/main/java/FakeUsersProvider.java2
-rw-r--r--tests/plugins/security-plugin/src/main/java/SecurityPlugin.java2
-rw-r--r--tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java5
-rw-r--r--tests/plugins/server-plugin/src/main/java/ServerPlugin.java3
-rw-r--r--tests/plugins/server-plugin/src/main/java/ServerStartupLock.java3
-rw-r--r--tests/plugins/server-plugin/src/main/java/StartupCrash.java2
-rw-r--r--tests/plugins/server-plugin/src/main/java/TempFolderExtension.java2
-rw-r--r--tests/plugins/server-plugin/src/main/java/ce/CePauseStep.java2
-rw-r--r--tests/plugins/server-plugin/src/main/java/ce/PauseMetric.java2
-rw-r--r--tests/plugins/settings-encryption-plugin/src/main/java/EncryptionVerifier.java2
-rw-r--r--tests/plugins/settings-encryption-plugin/src/main/java/SettingsEncryptionPlugin.java4
-rw-r--r--tests/plugins/settings-plugin/src/main/java/PropertyTypes.java2
-rw-r--r--tests/plugins/settings-plugin/src/main/java/ServerExtensionWithProperties.java2
-rw-r--r--tests/plugins/settings-plugin/src/main/java/SettingsPlugin.java2
-rw-r--r--tests/plugins/sonar-fake-plugin/src/main/java/FakePlugin.java4
-rw-r--r--tests/plugins/sonar-subcategories-plugin/src/main/java/SubCategoriesPlugin.java2
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/java/UiExtensionsPlugin.java3
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/java/UiPageDefinition.java3
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/extension.js19
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/global_admin_page.js19
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/global_page.js19
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_admin_page.js19
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_page.js19
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/project_admin_page.js19
-rw-r--r--tests/plugins/ui-extensions-plugin/src/main/resources/static/project_page.js19
-rw-r--r--tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlaformLevel4Plugin.java2
-rw-r--r--tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlatformLevel4.java3
-rw-r--r--tests/plugins/ws-plugin/src/main/java/LocalCallWebService.java2
-rw-r--r--tests/plugins/ws-plugin/src/main/java/WsPlugin.java2
118 files changed, 311 insertions, 131 deletions
diff --git a/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsPlugin.java b/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsPlugin.java
index a4e7da75764..3d37f7be924 100644
--- a/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsPlugin.java
+++ b/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,10 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.SonarPlugin;
import java.util.Arrays;
import java.util.List;
+import org.sonar.api.SonarPlugin;
public class AccessSecuredPropsPlugin extends SonarPlugin {
diff --git a/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsSensor.java b/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsSensor.java
index 9aca5155bb9..63318c77e09 100644
--- a/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsSensor.java
+++ b/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsSensor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsTaskExtension.java b/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsTaskExtension.java
index 0132b56eefb..b8d65241e10 100644
--- a/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsTaskExtension.java
+++ b/tests/plugins/access-secured-props-plugin/src/main/java/AccessSecuredPropsTaskExtension.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,13 +17,11 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+
import org.sonar.api.Properties;
import org.sonar.api.Property;
-import org.sonar.api.batch.Sensor;
-import org.sonar.api.batch.SensorContext;
import org.sonar.api.config.Settings;
import org.sonar.api.task.TaskExtension;
-import org.sonar.api.resources.Project;
@Properties({
@Property(
diff --git a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/BackdatingPlugin.java b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/BackdatingPlugin.java
index e6b24bc1bab..cc7970f4825 100644
--- a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/BackdatingPlugin.java
+++ b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/BackdatingPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/package-info.java b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/package-info.java
index 9bc11a1358c..f6ebaad53e4 100644
--- a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/package-info.java
+++ b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/CustomRulesDefinition.java b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/CustomRulesDefinition.java
index 3e338fd6734..27576eb0aa8 100644
--- a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/CustomRulesDefinition.java
+++ b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/CustomRulesDefinition.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/MyCustomProcessor.java b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/MyCustomProcessor.java
index 981c7f7777c..fb0521ecfd5 100644
--- a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/MyCustomProcessor.java
+++ b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/MyCustomProcessor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/package-info.java b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/package-info.java
index a5239fe6992..ca91470095d 100644
--- a/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/package-info.java
+++ b/tests/plugins/backdating-customplugin/src/main/java/org/sonar/backdating/custom/rule/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java
index b28c1c98eba..bc766a7a2c8 100644
--- a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java
+++ b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java
index 2ad47d4af24..2d21dcd08a4 100644
--- a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java
+++ b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/package-info.java b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/package-info.java
index 293300416ac..107b3c924ab 100644
--- a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/package-info.java
+++ b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java
index 85715b16e35..c57de69c1e8 100644
--- a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java
+++ b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV1.java b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV1.java
index 48eab7da30c..a4d68dd51b5 100644
--- a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV1.java
+++ b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV1.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/package-info.java b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/package-info.java
index 4a1857f5ce2..eafb63da15c 100644
--- a/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/package-info.java
+++ b/tests/plugins/backdating-plugin-v1/src/main/java/org/sonar/plugins/backdating/rule/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java
index ee65cdbad86..e67a36d645b 100644
--- a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java
+++ b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/BackdatingPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java
index 2ad47d4af24..2d21dcd08a4 100644
--- a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java
+++ b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/api/CustomProcessor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/package-info.java b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/package-info.java
index 293300416ac..107b3c924ab 100644
--- a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/package-info.java
+++ b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java
index 85715b16e35..c57de69c1e8 100644
--- a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java
+++ b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackRulesDefinition.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV2.java b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV2.java
index 3e827b3e23c..73fef191b71 100644
--- a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV2.java
+++ b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/BackSensorV2.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/package-info.java b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/package-info.java
index 4a1857f5ce2..eafb63da15c 100644
--- a/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/package-info.java
+++ b/tests/plugins/backdating-plugin-v2/src/main/java/org/sonar/plugins/backdating/rule/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/base-auth-plugin/src/main/java/FakeBaseAuthPlugin.java b/tests/plugins/base-auth-plugin/src/main/java/FakeBaseAuthPlugin.java
index ee04f716930..df748891151 100644
--- a/tests/plugins/base-auth-plugin/src/main/java/FakeBaseAuthPlugin.java
+++ b/tests/plugins/base-auth-plugin/src/main/java/FakeBaseAuthPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/base-auth-plugin/src/main/java/FakeBaseIdProvider.java b/tests/plugins/base-auth-plugin/src/main/java/FakeBaseIdProvider.java
index 2e191e1e306..3e2ae82d494 100644
--- a/tests/plugins/base-auth-plugin/src/main/java/FakeBaseIdProvider.java
+++ b/tests/plugins/base-auth-plugin/src/main/java/FakeBaseIdProvider.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/BatchPlugin.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/BatchPlugin.java
index 08f533ecea0..0586c4c4607 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/BatchPlugin.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/BatchPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/DumpSettingsInitializer.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/DumpSettingsInitializer.java
index 5149d72779c..e7af19145ae 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/DumpSettingsInitializer.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/DumpSettingsInitializer.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/RaiseMessageException.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/RaiseMessageException.java
index a1acf47fb39..db8241cee47 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/RaiseMessageException.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/RaiseMessageException.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/TempFolderExtension.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/TempFolderExtension.java
index 1549471ff0f..142474e7890 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/TempFolderExtension.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/TempFolderExtension.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/WaitingSensor.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/WaitingSensor.java
index a498e8534aa..e0d3a9c030f 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/WaitingSensor.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/WaitingSensor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMeasureComputer.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMeasureComputer.java
index 38140cd597f..cbf79adc899 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMeasureComputer.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMeasureComputer.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMetric.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMetric.java
index aa2454b2a89..ce29eb3b0d8 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMetric.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleMetric.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleProperty.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleProperty.java
index c070434eeec..b831f72d44b 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleProperty.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleProperty.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleSensor.java b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleSensor.java
index 788627bb920..d44dc7556a5 100644
--- a/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleSensor.java
+++ b/tests/plugins/batch-plugin/src/main/java/com/sonarsource/decimal_scale_of_measures/DecimalScaleSensor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/extension-lifecycle-plugin/src/main/java/BatchService.java b/tests/plugins/extension-lifecycle-plugin/src/main/java/BatchService.java
index 3ab267e6f16..b39092e13f8 100644
--- a/tests/plugins/extension-lifecycle-plugin/src/main/java/BatchService.java
+++ b/tests/plugins/extension-lifecycle-plugin/src/main/java/BatchService.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/extension-lifecycle-plugin/src/main/java/ExtensionLifecyclePlugin.java b/tests/plugins/extension-lifecycle-plugin/src/main/java/ExtensionLifecyclePlugin.java
index 4c12f9f519b..7e45a450cfd 100644
--- a/tests/plugins/extension-lifecycle-plugin/src/main/java/ExtensionLifecyclePlugin.java
+++ b/tests/plugins/extension-lifecycle-plugin/src/main/java/ExtensionLifecyclePlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,10 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.SonarPlugin;
import java.util.Arrays;
import java.util.List;
+import org.sonar.api.SonarPlugin;
public class ExtensionLifecyclePlugin extends SonarPlugin {
public List getExtensions() {
diff --git a/tests/plugins/extension-lifecycle-plugin/src/main/java/ProjectService.java b/tests/plugins/extension-lifecycle-plugin/src/main/java/ProjectService.java
index 93fcfe61403..3a3ef5d75d4 100644
--- a/tests/plugins/extension-lifecycle-plugin/src/main/java/ProjectService.java
+++ b/tests/plugins/extension-lifecycle-plugin/src/main/java/ProjectService.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/extension-lifecycle-plugin/src/main/java/ServerService.java b/tests/plugins/extension-lifecycle-plugin/src/main/java/ServerService.java
index f4db1a98555..0487bd71c6b 100644
--- a/tests/plugins/extension-lifecycle-plugin/src/main/java/ServerService.java
+++ b/tests/plugins/extension-lifecycle-plugin/src/main/java/ServerService.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingPlugin.java b/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingPlugin.java
index 910dfc9998a..6aab3e55223 100644
--- a/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingPlugin.java
+++ b/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingPlugin.java
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
/*
* SonarQube
diff --git a/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingValidations.java b/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingValidations.java
index 8ce39311117..bfd4315f6d2 100644
--- a/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingValidations.java
+++ b/tests/plugins/fake-billing-plugin/src/main/java/FakeBillingValidations.java
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
/*
* SonarQube
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/FakeGovernancePlugin.java b/tests/plugins/fake-governance-plugin/src/main/java/FakeGovernancePlugin.java
index b37e201d61f..b656d46f524 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/FakeGovernancePlugin.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/FakeGovernancePlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
import ce.BombConfig;
import ce.ComponentBombReportAnalysisComponentProvider;
import ce.IseTaskProcessor;
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/BombConfig.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/BombConfig.java
index 3e5af086b86..d6fdd5d5e49 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/BombConfig.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/BombConfig.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ComponentBombReportAnalysisComponentProvider.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ComponentBombReportAnalysisComponentProvider.java
index 166f526fca4..2b2ea4eee9b 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ComponentBombReportAnalysisComponentProvider.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ComponentBombReportAnalysisComponentProvider.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/IseTaskProcessor.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/IseTaskProcessor.java
index a6960d1b049..40b11ec079d 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/IseTaskProcessor.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/IseTaskProcessor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/OOMGenerator.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/OOMGenerator.java
index 4fcef07cb80..e8673412fc2 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/OOMGenerator.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/OOMGenerator.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/OkTaskProcessor.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/OkTaskProcessor.java
index 92e05032fa0..88d9abaf013 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/OkTaskProcessor.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/OkTaskProcessor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/OomTaskProcessor.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/OomTaskProcessor.java
index 384d3201daa..a79c71f0ec7 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/OomTaskProcessor.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/OomTaskProcessor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java
index e2366b8e16a..207661f5ada 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGoVWsAction.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGoVWsAction.java
index bd361f92961..58fb69a8b72 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGoVWsAction.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGoVWsAction.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGovWs.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGovWs.java
index 9d89cfbb795..41a49841088 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGovWs.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/FakeGovWs.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java
index 42f037f819c..35744e5ef5b 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java b/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java
index cdeadf75de0..ee87f516af1 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/workerCount/FakeWorkerCountProviderImpl.java b/tests/plugins/fake-governance-plugin/src/main/java/workerCount/FakeWorkerCountProviderImpl.java
index 467642e86a1..4e05ecda89d 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/workerCount/FakeWorkerCountProviderImpl.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/workerCount/FakeWorkerCountProviderImpl.java
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
package workerCount;
/*
* SonarQube
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java b/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java
index 93089508919..61ad50dcc9b 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/LatchControllerWorkerMeasureComputer.java b/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/LatchControllerWorkerMeasureComputer.java
index b7b04e57eed..c6d2391f9f0 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/LatchControllerWorkerMeasureComputer.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/LatchControllerWorkerMeasureComputer.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/WorkerLatchMetrics.java b/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/WorkerLatchMetrics.java
index 8689c9b1bba..7b31a6c666a 100644
--- a/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/WorkerLatchMetrics.java
+++ b/tests/plugins/fake-governance-plugin/src/main/java/workerlatch/WorkerLatchMetrics.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/Foo.java b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/Foo.java
index a2b2d237b01..0fe6566e0d6 100644
--- a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/Foo.java
+++ b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/Foo.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/FooPlugin.java b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/FooPlugin.java
index 17677e0acb2..673c8a002cd 100644
--- a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/FooPlugin.java
+++ b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/FooPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/package-info.java b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/package-info.java
index 24613bbdaf7..7ebb0e1198d 100644
--- a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/package-info.java
+++ b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooBasicProfile.java b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooBasicProfile.java
index 73f54dc30f4..56f50661909 100644
--- a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooBasicProfile.java
+++ b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooBasicProfile.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java
index 039cea9fd2b..12f81a58490 100644
--- a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java
+++ b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/package-info.java b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/package-info.java
index b3209c8ac96..86ad39950f4 100644
--- a/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/package-info.java
+++ b/tests/plugins/foo-plugin-v1/src/main/java/org/sonar/foo/rule/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/Foo.java b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/Foo.java
index a2b2d237b01..0fe6566e0d6 100644
--- a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/Foo.java
+++ b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/Foo.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/FooPlugin.java b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/FooPlugin.java
index 17677e0acb2..673c8a002cd 100644
--- a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/FooPlugin.java
+++ b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/FooPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/package-info.java b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/package-info.java
index 24613bbdaf7..7ebb0e1198d 100644
--- a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/package-info.java
+++ b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooBasicProfile.java b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooBasicProfile.java
index aceb76331e2..9c31db02314 100644
--- a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooBasicProfile.java
+++ b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooBasicProfile.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java
index a0ef0ccbdf7..6054d1d55c4 100644
--- a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java
+++ b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/FooRulesDefinition.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/package-info.java b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/package-info.java
index b3209c8ac96..86ad39950f4 100644
--- a/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/package-info.java
+++ b/tests/plugins/foo-plugin-v2/src/main/java/org/sonar/foo/rule/package-info.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java b/tests/plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java
index 551ed92f676..ac09324b847 100644
--- a/tests/plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java
+++ b/tests/plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/global-property-change-plugin/src/main/java/GlobalPropertyChangePlugin.java b/tests/plugins/global-property-change-plugin/src/main/java/GlobalPropertyChangePlugin.java
index 5332fc9a3a5..c923c93ac66 100644
--- a/tests/plugins/global-property-change-plugin/src/main/java/GlobalPropertyChangePlugin.java
+++ b/tests/plugins/global-property-change-plugin/src/main/java/GlobalPropertyChangePlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterBeforeLine5.java b/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterBeforeLine5.java
index 44d34cba722..43bd3722d5b 100644
--- a/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterBeforeLine5.java
+++ b/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterBeforeLine5.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,11 +17,11 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.scan.issue.filter.IssueFilterChain;
-import org.sonar.api.scan.issue.filter.FilterableIssue;
import org.sonar.api.config.Settings;
+import org.sonar.api.scan.issue.filter.FilterableIssue;
import org.sonar.api.scan.issue.filter.IssueFilter;
+import org.sonar.api.scan.issue.filter.IssueFilterChain;
/**
* This filter removes the issues that are on line < 5
diff --git a/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterPlugin.java b/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterPlugin.java
index 94d5b87396e..07150cb0c4e 100644
--- a/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterPlugin.java
+++ b/tests/plugins/issue-filter-plugin/src/main/java/IssueFilterPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/issue-filter-plugin/src/main/java/ModuleIssueFilter.java b/tests/plugins/issue-filter-plugin/src/main/java/ModuleIssueFilter.java
index 48f549a264e..9ae792dd388 100644
--- a/tests/plugins/issue-filter-plugin/src/main/java/ModuleIssueFilter.java
+++ b/tests/plugins/issue-filter-plugin/src/main/java/ModuleIssueFilter.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,12 +17,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.scan.issue.filter.FilterableIssue;
-import org.sonar.api.scan.issue.filter.IssueFilterChain;
import org.sonar.api.config.Settings;
-import org.sonar.api.scan.issue.filter.IssueFilter;
import org.sonar.api.rule.RuleKey;
+import org.sonar.api.scan.issue.filter.FilterableIssue;
+import org.sonar.api.scan.issue.filter.IssueFilter;
+import org.sonar.api.scan.issue.filter.IssueFilterChain;
/**
* This filter removes the issues that are raised by Xoo plugin on modules.
diff --git a/tests/plugins/l10n-fr-pack/src/main/java/SimpleFrenchPackPlugin.java b/tests/plugins/l10n-fr-pack/src/main/java/SimpleFrenchPackPlugin.java
index 221e7131a90..ff549022530 100644
--- a/tests/plugins/l10n-fr-pack/src/main/java/SimpleFrenchPackPlugin.java
+++ b/tests/plugins/l10n-fr-pack/src/main/java/SimpleFrenchPackPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/license-plugin/src/main/java/LicensePlugin.java b/tests/plugins/license-plugin/src/main/java/LicensePlugin.java
index 9bd74374f37..b19dc11cb8c 100644
--- a/tests/plugins/license-plugin/src/main/java/LicensePlugin.java
+++ b/tests/plugins/license-plugin/src/main/java/LicensePlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2AuthPlugin.java b/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2AuthPlugin.java
index 5fa419d3289..98a9509161f 100644
--- a/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2AuthPlugin.java
+++ b/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2AuthPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2IdProvider.java b/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2IdProvider.java
index deb426145c4..a5a3aca65ce 100644
--- a/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2IdProvider.java
+++ b/tests/plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2IdProvider.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/posttask-plugin/src/main/java/AddScannerContextSensor.java b/tests/plugins/posttask-plugin/src/main/java/AddScannerContextSensor.java
index 7013a6707a8..a8000c01bb9 100644
--- a/tests/plugins/posttask-plugin/src/main/java/AddScannerContextSensor.java
+++ b/tests/plugins/posttask-plugin/src/main/java/AddScannerContextSensor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/posttask-plugin/src/main/java/LogScannerContextPostTask.java b/tests/plugins/posttask-plugin/src/main/java/LogScannerContextPostTask.java
index 120610a2da2..62c0c666d6e 100644
--- a/tests/plugins/posttask-plugin/src/main/java/LogScannerContextPostTask.java
+++ b/tests/plugins/posttask-plugin/src/main/java/LogScannerContextPostTask.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/posttask-plugin/src/main/java/PostProjectAnalysisTaskImpl.java b/tests/plugins/posttask-plugin/src/main/java/PostProjectAnalysisTaskImpl.java
index 0c288ec01d5..399e7c8c19c 100644
--- a/tests/plugins/posttask-plugin/src/main/java/PostProjectAnalysisTaskImpl.java
+++ b/tests/plugins/posttask-plugin/src/main/java/PostProjectAnalysisTaskImpl.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
diff --git a/tests/plugins/posttask-plugin/src/main/java/PostTaskPlugin.java b/tests/plugins/posttask-plugin/src/main/java/PostTaskPlugin.java
index 07ce105ff4e..7336d9e2f54 100644
--- a/tests/plugins/posttask-plugin/src/main/java/PostTaskPlugin.java
+++ b/tests/plugins/posttask-plugin/src/main/java/PostTaskPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/project-builder-plugin/src/main/java/CreateSubProjects.java b/tests/plugins/project-builder-plugin/src/main/java/CreateSubProjects.java
index e1fe412282d..0130fc872a7 100644
--- a/tests/plugins/project-builder-plugin/src/main/java/CreateSubProjects.java
+++ b/tests/plugins/project-builder-plugin/src/main/java/CreateSubProjects.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
diff --git a/tests/plugins/project-builder-plugin/src/main/java/ProjectBuilderPlugin.java b/tests/plugins/project-builder-plugin/src/main/java/ProjectBuilderPlugin.java
index f57669929d3..d7ff9a1c9ad 100644
--- a/tests/plugins/project-builder-plugin/src/main/java/ProjectBuilderPlugin.java
+++ b/tests/plugins/project-builder-plugin/src/main/java/ProjectBuilderPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,10 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.SonarPlugin;
import java.util.Arrays;
import java.util.List;
+import org.sonar.api.SonarPlugin;
public class ProjectBuilderPlugin extends SonarPlugin {
public List getExtensions() {
diff --git a/tests/plugins/project-builder-plugin/src/main/java/RenameProject.java b/tests/plugins/project-builder-plugin/src/main/java/RenameProject.java
index 22d1dd3cccb..19ee82ed782 100644
--- a/tests/plugins/project-builder-plugin/src/main/java/RenameProject.java
+++ b/tests/plugins/project-builder-plugin/src/main/java/RenameProject.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
diff --git a/tests/plugins/property-relocation-plugin/src/main/java/CheckProperties.java b/tests/plugins/property-relocation-plugin/src/main/java/CheckProperties.java
index b4e7ec1b185..a4068c1ff6d 100644
--- a/tests/plugins/property-relocation-plugin/src/main/java/CheckProperties.java
+++ b/tests/plugins/property-relocation-plugin/src/main/java/CheckProperties.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/property-relocation-plugin/src/main/java/PropertyRelocationPlugin.java b/tests/plugins/property-relocation-plugin/src/main/java/PropertyRelocationPlugin.java
index aa0ebbfae38..a984fa45b36 100644
--- a/tests/plugins/property-relocation-plugin/src/main/java/PropertyRelocationPlugin.java
+++ b/tests/plugins/property-relocation-plugin/src/main/java/PropertyRelocationPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/property-sets-plugin/src/main/java/PropertySetsPlugin.java b/tests/plugins/property-sets-plugin/src/main/java/PropertySetsPlugin.java
index 357411d6980..e2421e295eb 100644
--- a/tests/plugins/property-sets-plugin/src/main/java/PropertySetsPlugin.java
+++ b/tests/plugins/property-sets-plugin/src/main/java/PropertySetsPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/ModuleMeasureSensor.java b/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/ModuleMeasureSensor.java
index 09e3358fc1f..7e4f9ce6bce 100644
--- a/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/ModuleMeasureSensor.java
+++ b/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/ModuleMeasureSensor.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/SaveMeasureOnModulePlugin.java b/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/SaveMeasureOnModulePlugin.java
index 1046e8a8788..fa28928bcc6 100644
--- a/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/SaveMeasureOnModulePlugin.java
+++ b/tests/plugins/save-measure-on-module-plugin/src/main/java/org/sonar/measure/SaveMeasureOnModulePlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/security-plugin/src/main/java/FakeAuthenticator.java b/tests/plugins/security-plugin/src/main/java/FakeAuthenticator.java
index 890263b0fbf..e4c5b0dd1bc 100644
--- a/tests/plugins/security-plugin/src/main/java/FakeAuthenticator.java
+++ b/tests/plugins/security-plugin/src/main/java/FakeAuthenticator.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/security-plugin/src/main/java/FakeGroupsProvider.java b/tests/plugins/security-plugin/src/main/java/FakeGroupsProvider.java
index 3ab14818a34..f2b4e86c636 100644
--- a/tests/plugins/security-plugin/src/main/java/FakeGroupsProvider.java
+++ b/tests/plugins/security-plugin/src/main/java/FakeGroupsProvider.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/security-plugin/src/main/java/FakeRealm.java b/tests/plugins/security-plugin/src/main/java/FakeRealm.java
index 152ea921b21..ee53c4d9297 100644
--- a/tests/plugins/security-plugin/src/main/java/FakeRealm.java
+++ b/tests/plugins/security-plugin/src/main/java/FakeRealm.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/security-plugin/src/main/java/FakeUsersProvider.java b/tests/plugins/security-plugin/src/main/java/FakeUsersProvider.java
index 90c95de3e1c..95a381c8820 100644
--- a/tests/plugins/security-plugin/src/main/java/FakeUsersProvider.java
+++ b/tests/plugins/security-plugin/src/main/java/FakeUsersProvider.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/security-plugin/src/main/java/SecurityPlugin.java b/tests/plugins/security-plugin/src/main/java/SecurityPlugin.java
index c1cf7cd3b9e..250cbf83210 100644
--- a/tests/plugins/security-plugin/src/main/java/SecurityPlugin.java
+++ b/tests/plugins/security-plugin/src/main/java/SecurityPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java b/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java
index 37f5fc038ad..69f0e140bc0 100644
--- a/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java
+++ b/tests/plugins/security-plugin/src/test/java/FakeAuthenticatorTest.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,11 +17,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+
import java.util.Map;
import org.junit.Before;
import org.junit.Test;
-import org.sonar.api.config.internal.MapSettings;
import org.sonar.api.config.Settings;
+import org.sonar.api.config.internal.MapSettings;
import org.sonar.api.security.UserDetails;
import static org.assertj.core.api.Assertions.assertThat;
diff --git a/tests/plugins/server-plugin/src/main/java/ServerPlugin.java b/tests/plugins/server-plugin/src/main/java/ServerPlugin.java
index ed760a9c926..d9b81db3edc 100644
--- a/tests/plugins/server-plugin/src/main/java/ServerPlugin.java
+++ b/tests/plugins/server-plugin/src/main/java/ServerPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
import ce.CePauseStep;
import ce.PauseMetric;
import java.util.Arrays;
diff --git a/tests/plugins/server-plugin/src/main/java/ServerStartupLock.java b/tests/plugins/server-plugin/src/main/java/ServerStartupLock.java
index f7c4d7e6863..02125e66341 100644
--- a/tests/plugins/server-plugin/src/main/java/ServerStartupLock.java
+++ b/tests/plugins/server-plugin/src/main/java/ServerStartupLock.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
import java.io.File;
import java.util.Optional;
import org.sonar.api.SonarRuntime;
diff --git a/tests/plugins/server-plugin/src/main/java/StartupCrash.java b/tests/plugins/server-plugin/src/main/java/StartupCrash.java
index 3e55bab80b9..dcde8c8e1d3 100644
--- a/tests/plugins/server-plugin/src/main/java/StartupCrash.java
+++ b/tests/plugins/server-plugin/src/main/java/StartupCrash.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/server-plugin/src/main/java/TempFolderExtension.java b/tests/plugins/server-plugin/src/main/java/TempFolderExtension.java
index ddddf9d44de..77618177e0b 100644
--- a/tests/plugins/server-plugin/src/main/java/TempFolderExtension.java
+++ b/tests/plugins/server-plugin/src/main/java/TempFolderExtension.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/server-plugin/src/main/java/ce/CePauseStep.java b/tests/plugins/server-plugin/src/main/java/ce/CePauseStep.java
index 8214ac56d31..73d84aa8afb 100644
--- a/tests/plugins/server-plugin/src/main/java/ce/CePauseStep.java
+++ b/tests/plugins/server-plugin/src/main/java/ce/CePauseStep.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/server-plugin/src/main/java/ce/PauseMetric.java b/tests/plugins/server-plugin/src/main/java/ce/PauseMetric.java
index a16f821e4e4..26d48ef65f8 100644
--- a/tests/plugins/server-plugin/src/main/java/ce/PauseMetric.java
+++ b/tests/plugins/server-plugin/src/main/java/ce/PauseMetric.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/settings-encryption-plugin/src/main/java/EncryptionVerifier.java b/tests/plugins/settings-encryption-plugin/src/main/java/EncryptionVerifier.java
index 64a5f686a9a..572d8863ad7 100644
--- a/tests/plugins/settings-encryption-plugin/src/main/java/EncryptionVerifier.java
+++ b/tests/plugins/settings-encryption-plugin/src/main/java/EncryptionVerifier.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/settings-encryption-plugin/src/main/java/SettingsEncryptionPlugin.java b/tests/plugins/settings-encryption-plugin/src/main/java/SettingsEncryptionPlugin.java
index f387aa353a1..62fd5d6c821 100644
--- a/tests/plugins/settings-encryption-plugin/src/main/java/SettingsEncryptionPlugin.java
+++ b/tests/plugins/settings-encryption-plugin/src/main/java/SettingsEncryptionPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,10 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.SonarPlugin;
import java.util.Arrays;
import java.util.List;
+import org.sonar.api.SonarPlugin;
public class SettingsEncryptionPlugin extends SonarPlugin {
public List getExtensions() {
diff --git a/tests/plugins/settings-plugin/src/main/java/PropertyTypes.java b/tests/plugins/settings-plugin/src/main/java/PropertyTypes.java
index 6af745cf3a3..f6cac4d0b09 100644
--- a/tests/plugins/settings-plugin/src/main/java/PropertyTypes.java
+++ b/tests/plugins/settings-plugin/src/main/java/PropertyTypes.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/settings-plugin/src/main/java/ServerExtensionWithProperties.java b/tests/plugins/settings-plugin/src/main/java/ServerExtensionWithProperties.java
index c01936636a5..d80d107c109 100644
--- a/tests/plugins/settings-plugin/src/main/java/ServerExtensionWithProperties.java
+++ b/tests/plugins/settings-plugin/src/main/java/ServerExtensionWithProperties.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/settings-plugin/src/main/java/SettingsPlugin.java b/tests/plugins/settings-plugin/src/main/java/SettingsPlugin.java
index 919c2960f2c..6ed5f785fbf 100644
--- a/tests/plugins/settings-plugin/src/main/java/SettingsPlugin.java
+++ b/tests/plugins/settings-plugin/src/main/java/SettingsPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/sonar-fake-plugin/src/main/java/FakePlugin.java b/tests/plugins/sonar-fake-plugin/src/main/java/FakePlugin.java
index 9cb009a8f1e..45678540644 100644
--- a/tests/plugins/sonar-fake-plugin/src/main/java/FakePlugin.java
+++ b/tests/plugins/sonar-fake-plugin/src/main/java/FakePlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,10 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import org.sonar.api.SonarPlugin;
import java.util.Collections;
import java.util.List;
+import org.sonar.api.SonarPlugin;
public final class FakePlugin extends SonarPlugin {
diff --git a/tests/plugins/sonar-subcategories-plugin/src/main/java/SubCategoriesPlugin.java b/tests/plugins/sonar-subcategories-plugin/src/main/java/SubCategoriesPlugin.java
index 51681289401..0f20fd1bc89 100644
--- a/tests/plugins/sonar-subcategories-plugin/src/main/java/SubCategoriesPlugin.java
+++ b/tests/plugins/sonar-subcategories-plugin/src/main/java/SubCategoriesPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/ui-extensions-plugin/src/main/java/UiExtensionsPlugin.java b/tests/plugins/ui-extensions-plugin/src/main/java/UiExtensionsPlugin.java
index 8c26c046b0b..e77b7e00c36 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/java/UiExtensionsPlugin.java
+++ b/tests/plugins/ui-extensions-plugin/src/main/java/UiExtensionsPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
diff --git a/tests/plugins/ui-extensions-plugin/src/main/java/UiPageDefinition.java b/tests/plugins/ui-extensions-plugin/src/main/java/UiPageDefinition.java
index 6bcddd7c721..e228243aeeb 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/java/UiPageDefinition.java
+++ b/tests/plugins/ui-extensions-plugin/src/main/java/UiPageDefinition.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/extension.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/extension.js
index fd35455a4ea..a0b6561fb32 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/extension.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/extension.js
@@ -1,2 +1,21 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
function hello() {
}
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_admin_page.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_admin_page.js
index 18c70548fa8..ec8d23a9b1c 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_admin_page.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_admin_page.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
window.registerExtension('uiextensionsplugin/global_admin_page', function (options) {
options.el.textContent = 'uiextensionsplugin/global_admin_page';
return function () {};
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_page.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_page.js
index b60b5588c03..6f7ac9914f3 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_page.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/global_page.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
window.registerExtension('uiextensionsplugin/global_page', function (options) {
options.el.textContent = 'uiextensionsplugin/global_page';
return function () {};
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_admin_page.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_admin_page.js
index a3f740d8823..18dd31f2ec1 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_admin_page.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_admin_page.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
window.registerExtension('uiextensionsplugin/organization_admin_page', function (options) {
options.el.textContent = 'uiextensionsplugin/organization_admin_page';
return function () {};
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_page.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_page.js
index 50c7e242f12..586b7e6e9bc 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_page.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/organization_page.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
window.registerExtension('uiextensionsplugin/organization_page', function (options) {
options.el.textContent = 'uiextensionsplugin/organization_page';
return function () {};
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_admin_page.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_admin_page.js
index bc632ea0a85..a2fdc5b58e4 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_admin_page.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_admin_page.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
window.registerExtension('uiextensionsplugin/project_admin_page', function (options) {
options.el.textContent = 'uiextensionsplugin/project_admin_page';
return function () {};
diff --git a/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_page.js b/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_page.js
index 1e28dace449..abd962feeb9 100644
--- a/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_page.js
+++ b/tests/plugins/ui-extensions-plugin/src/main/resources/static/project_page.js
@@ -1,3 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
window.registerExtension('uiextensionsplugin/project_page', function (options) {
options.el.textContent = 'uiextensionsplugin/project_page';
return function () {};
diff --git a/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlaformLevel4Plugin.java b/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlaformLevel4Plugin.java
index c4713f9f49d..354f7211acb 100644
--- a/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlaformLevel4Plugin.java
+++ b/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlaformLevel4Plugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlatformLevel4.java b/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlatformLevel4.java
index 8bb87583865..35aa2f02ec5 100644
--- a/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlatformLevel4.java
+++ b/tests/plugins/wait-at-platform-level4-plugin/src/main/java/WaitAtPlatformLevel4.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
import java.io.File;
import java.util.Optional;
import org.sonar.api.Startable;
diff --git a/tests/plugins/ws-plugin/src/main/java/LocalCallWebService.java b/tests/plugins/ws-plugin/src/main/java/LocalCallWebService.java
index 7de752bba25..f74a3d00d50 100644
--- a/tests/plugins/ws-plugin/src/main/java/LocalCallWebService.java
+++ b/tests/plugins/ws-plugin/src/main/java/LocalCallWebService.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/tests/plugins/ws-plugin/src/main/java/WsPlugin.java b/tests/plugins/ws-plugin/src/main/java/WsPlugin.java
index e36a8551d0e..e07adccc6fa 100644
--- a/tests/plugins/ws-plugin/src/main/java/WsPlugin.java
+++ b/tests/plugins/ws-plugin/src/main/java/WsPlugin.java
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or