Merge "Remove unmaintained plugins from gerrit-base image"
diff --git a/Documentation/operator.md b/Documentation/operator.md
index 3f6335e..eac3b6d 100644
--- a/Documentation/operator.md
+++ b/Documentation/operator.md
@@ -403,6 +403,18 @@
 By default, the mode is set to `HIGH_AVAILABILITY`.
 
 In case of provision Gerrit in `MULTISITE` mode, only `ISTIO` will be supported as ingress provider.
+If the `MULTISITE` mode is used, the following plugins have to be available either
+in the container image (not the case by default), in the gerrit.war file in the container image
+or in the list of plugins to download as configured in the GerritCluster CustomResource:
+
+- `events-kafka`
+- `multisite`
+- `pull-replication`
+- `websession-broker`
+
+The reason, they are not available in the container images is, that these plugins
+are currently not actively maintained under the Apache 2 license. If that changes,
+the plugins will be readded to the container images.
 
 It can be configured either by:
 
diff --git a/container-images/gerrit-base/Dockerfile b/container-images/gerrit-base/Dockerfile
index f01730b..c9d8035 100644
--- a/container-images/gerrit-base/Dockerfile
+++ b/container-images/gerrit-base/Dockerfile
@@ -42,26 +42,10 @@
 ARG SPANNER_REFDB_URL=https://gerrit-ci.gerritforge.com/job/plugin-spanner-refdb-bazel-master-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/spanner-refdb/spanner-refdb.jar
 RUN curl -f -k -o /var/plugins/spanner-refdb.jar ${SPANNER_REFDB_URL}
 
-# Download pull-replication plugin
-ARG PULL_REPLICATION_URL=https://gerrit-ci.gerritforge.com/job/plugin-pull-replication-bazel-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/pull-replication/pull-replication.jar
-RUN curl -f -k -o /var/plugins/pull-replication.jar ${PULL_REPLICATION_URL}
-
 # Download events-broker lib
 ARG EVENTS_BROKER_URL=https://gerrit-ci.gerritforge.com/job/module-events-broker-bazel-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/events-broker/events-broker.jar
 RUN curl -f -k -o /var/plugins/events-broker.jar ${EVENTS_BROKER_URL}
 
-# Download events-kafka plugin
-ARG EVENTS_KAFKA_URL=https://gerrit-ci.gerritforge.com/job/plugin-events-kafka-bazel-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/events-kafka/events-kafka.jar
-RUN curl -f -k -o /var/plugins/events-kafka.jar ${EVENTS_KAFKA_URL}
-
-# Download websession-broker plugin
-ARG WEBSESSION_BROKER_URL=https://gerrit-ci.gerritforge.com/job/plugin-websession-broker-bazel-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/websession-broker/websession-broker.jar
-RUN curl -f -k -o /var/plugins/websession-broker.jar ${WEBSESSION_BROKER_URL}
-
-# Download multi-site plugin
-ARG MULTI_SITE_URL=https://gerrit-ci.gerritforge.com/job/plugin-multi-site-bazel-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/multi-site/multi-site.jar
-RUN curl -f -k -o /var/plugins/multi-site.jar ${MULTI_SITE_URL}
-
 # Download index-elasticsearch lib
 ARG INDEX_ELASTICSEARCH_URL=https://gerrit-ci.gerritforge.com/job/module-index-elasticsearch-bazel-${GERRIT_BRANCH}/lastSuccessfulBuild/artifact/bazel-bin/plugins/index-elasticsearch/index-elasticsearch.jar
 RUN curl -f -k -o /var/plugins/index-elasticsearch.jar ${INDEX_ELASTICSEARCH_URL}