This is an automated email from the ASF dual-hosted git repository.
ppkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/main by this push:
new 96cb371 Disable Maven Site plugin globally (#495)
96cb371 is described below
commit 96cb371e4dc6116359c5ab84b91300aa550d10e3
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Fri Jul 24 10:36:22 2026 +0200
Disable Maven Site plugin globally (#495)
The `antora` profile covered two separate concerns: generating the site
with Antora (correctly activated by the presence of `src/site/antora`)
and disabling Maven Site plugin. Since no project uses Maven Site plugin
any more, the `maven.site.skip` and `maven.site.deploy.skip` properties
are now set globally, so modules without an Antora site (e.g. in Flume)
no longer run Maven Site plugin during `mvn site`.
Assisted-By: Claude Fable 5 <[email protected]>
---
pom.xml | 12 ++++--------
src/changelog/.12.x.x/disable-maven-site-plugin.xml | 9 +++++++++
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/pom.xml b/pom.xml
index 8e5cb58..a5c9de6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,6 +155,10 @@
<!-- The same property will be used by `maven-deploy-plugin` and
`nexus-staging-maven-plugin` -->
<maven.deploy.skip>false</maven.deploy.skip>
+ <!-- Disable `maven-site-plugin` globally: sites are generated with Antora
(see the `antora` profile) -->
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
+
<!-- JPMS and OSGi options -->
<!-- Overrides some options in multi-release JARs -->
<bnd-multi-release>false</bnd-multi-release>
@@ -1410,14 +1414,6 @@
</file>
</activation>
- <properties>
-
- <!-- disable `maven-site-plugin`-->
- <maven.site.skip>true</maven.site.skip>
- <maven.site.deploy.skip>true</maven.site.deploy.skip>
-
- </properties>
-
<build>
<plugins>
diff --git a/src/changelog/.12.x.x/disable-maven-site-plugin.xml
b/src/changelog/.12.x.x/disable-maven-site-plugin.xml
new file mode 100644
index 0000000..b218bf1
--- /dev/null
+++ b/src/changelog/.12.x.x/disable-maven-site-plugin.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="https://logging.apache.org/xml/ns"
+ xsi:schemaLocation="https://logging.apache.org/xml/ns
https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
+ type="changed">
+ <description format="asciidoc">
+ Disable Maven Site plugin globally, instead of only in modules containing
`src/site/antora`.
+ </description>
+</entry>