aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-10-10 10:36:02 +0200
committerSonarTech <sonartech@sonarsource.com>2019-10-14 20:21:05 +0200
commit7d2b20e368c4d680bf40b1b5b1b48fad8f205fab (patch)
tree5ab71df792dfcdf707bc65d3b68316dd01370c1c
parent3d660ba1644f39020415230e593b7c818308acaf (diff)
downloadsonarqube-7d2b20e368c4d680bf40b1b5b1b48fad8f205fab.tar.gz
sonarqube-7d2b20e368c4d680bf40b1b5b1b48fad8f205fab.zip
fix missing package-info.java files
-rw-r--r--server/sonar-ce-task/src/main/java/org/sonar/ce/task/taskprocessor/package-info.java23
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/favorite/package-info.java (renamed from server/sonar-server-common/src/main/java/org/sonar/server/source/index/package-info.java)3
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/measure/package-info.java24
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/platform/monitoring/cluster/package-info.java23
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/security/package-info.java22
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/telemetry/package-info.java23
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/cpd/package-info.java24
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/detector/original/package-info.java24
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/detector/package-info.java24
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/package-info.java24
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/package-info.java29
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/java/package-info.java29
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/package-info.java24
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/statement/matcher/package-info.java29
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/utils/package-info.java24
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/database/model/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/database/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/notifications/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/profiles/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/package-info.java (renamed from server/sonar-server-common/src/main/java/org/sonar/server/user/package-info.java)2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/task/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/exception/package-info.java23
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/web/package-info.java23
24 files changed, 533 insertions, 2 deletions
diff --git a/server/sonar-ce-task/src/main/java/org/sonar/ce/task/taskprocessor/package-info.java b/server/sonar-ce-task/src/main/java/org/sonar/ce/task/taskprocessor/package-info.java
new file mode 100644
index 00000000000..dee123c6a2f
--- /dev/null
+++ b/server/sonar-ce-task/src/main/java/org/sonar/ce/task/taskprocessor/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.ce.task.taskprocessor;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/source/index/package-info.java b/server/sonar-server-common/src/main/java/org/sonar/server/favorite/package-info.java
index 91de3b32fc3..323232ae563 100644
--- a/server/sonar-server-common/src/main/java/org/sonar/server/source/index/package-info.java
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/favorite/package-info.java
@@ -18,6 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
@ParametersAreNonnullByDefault
-package org.sonar.server.source.index;
+package org.sonar.server.favorite;
import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/measure/package-info.java b/server/sonar-server-common/src/main/java/org/sonar/server/measure/package-info.java
new file mode 100644
index 00000000000..73f2aeb151e
--- /dev/null
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/measure/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.server.measure;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/platform/monitoring/cluster/package-info.java b/server/sonar-server-common/src/main/java/org/sonar/server/platform/monitoring/cluster/package-info.java
new file mode 100644
index 00000000000..45cea3a7a14
--- /dev/null
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/platform/monitoring/cluster/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.server.platform.monitoring.cluster;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/security/package-info.java b/server/sonar-server-common/src/main/java/org/sonar/server/security/package-info.java
new file mode 100644
index 00000000000..03809c0d803
--- /dev/null
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/security/package-info.java
@@ -0,0 +1,22 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault package org.sonar.server.security;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/telemetry/package-info.java b/server/sonar-server-common/src/main/java/org/sonar/server/telemetry/package-info.java
new file mode 100644
index 00000000000..ce3724b93a5
--- /dev/null
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/telemetry/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.server.telemetry;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/cpd/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/cpd/package-info.java
new file mode 100644
index 00000000000..26290b5c06e
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/cpd/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.cpd;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/detector/original/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/detector/original/package-info.java
new file mode 100644
index 00000000000..0c709ca28ec
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/detector/original/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.detector.original;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/detector/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/detector/package-info.java
new file mode 100644
index 00000000000..7121b590100
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/detector/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.detector;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/package-info.java
new file mode 100644
index 00000000000..4cfa23f453d
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.detector.suffixtree;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/package-info.java
new file mode 100644
index 00000000000..9771aee96ca
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/package-info.java
@@ -0,0 +1,29 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+/**
+ * Provides a basic framework to create list of statements from list of tokens.
+ *
+ * The entry point of this framework is the {@link org.sonar.duplications.statement.StatementChunker} class.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.internal.pmd;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/java/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/java/package-info.java
new file mode 100644
index 00000000000..a04787cad78
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/java/package-info.java
@@ -0,0 +1,29 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+/**
+ * Provides a basic framework to create list of statements from list of tokens.
+ *
+ * The entry point of this framework is the {@link org.sonar.duplications.statement.StatementChunker} class.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.java;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/package-info.java
new file mode 100644
index 00000000000..a17319ce937
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/statement/matcher/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/statement/matcher/package-info.java
new file mode 100644
index 00000000000..070e200a6e0
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/statement/matcher/package-info.java
@@ -0,0 +1,29 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+/**
+ * Provides a basic framework to create list of statements from list of tokens.
+ *
+ * The entry point of this framework is the {@link org.sonar.duplications.statement.StatementChunker} class.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.statement.matcher;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/utils/package-info.java b/sonar-duplications/src/main/java/org/sonar/duplications/utils/package-info.java
new file mode 100644
index 00000000000..e58567ca54a
--- /dev/null
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/utils/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.duplications.utils;
+
+import javax.annotation.ParametersAreNonnullByDefault;
+
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/package-info.java
new file mode 100644
index 00000000000..22a9d58aaf5
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.database.model;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/package-info.java
new file mode 100644
index 00000000000..40637864182
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.database;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/notifications/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/notifications/package-info.java
new file mode 100644
index 00000000000..f81d5cdf8c5
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/notifications/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.notifications;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/package-info.java
new file mode 100644
index 00000000000..50e9f7e73e8
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.profiles;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/package-info.java
new file mode 100644
index 00000000000..daa7d8ff2b4
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.resources;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/user/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/package-info.java
index 15949569de4..d13939a8558 100644
--- a/server/sonar-server-common/src/main/java/org/sonar/server/user/package-info.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/package-info.java
@@ -18,6 +18,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
@ParametersAreNonnullByDefault
-package org.sonar.server.user;
+package org.sonar.api.rules;
import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/task/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/task/package-info.java
new file mode 100644
index 00000000000..a800033bd06
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/task/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.task;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/package-info.java
new file mode 100644
index 00000000000..e47778b62ee
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/exception/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.test.exception;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/package-info.java
new file mode 100644
index 00000000000..b42c7341789
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 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.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.api.web;
+
+import javax.annotation.ParametersAreNonnullByDefault;