This is an automated email from the ASF dual-hosted git repository. ppkarwasz pushed a commit to branch feat/disable-maven-site-plugin in repository https://gitbox.apache.org/repos/asf/logging-parent.git
commit 0141a27b1ff271a9a1aa803eeda8f8fa985a754f Author: Piotr P. Karwasz <[email protected]> AuthorDate: Wed Jul 22 14:41:02 2026 +0200 Disable Maven Site plugin globally 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 760d15d..d440dd6 100644 --- a/pom.xml +++ b/pom.xml @@ -171,6 +171,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> @@ -1427,14 +1431,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..c459220 --- /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> \ No newline at end of file
