This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-build-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new e467c96 Validate pluginMetadata with XML Schema
e467c96 is described below
commit e467c963e2522d3cd5c783f958b34567b916edcd
Author: Gary D. Gregory <[email protected]>
AuthorDate: Mon Jan 20 08:18:05 2025 -0500
Validate pluginMetadata with XML Schema
---
src/main/scripts/copy-javadoc-files.mojos.xml | 5 ++++-
src/main/scripts/generate-xdocs.mojos.xml | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main/scripts/copy-javadoc-files.mojos.xml
b/src/main/scripts/copy-javadoc-files.mojos.xml
index 5659ba1..9b78150 100644
--- a/src/main/scripts/copy-javadoc-files.mojos.xml
+++ b/src/main/scripts/copy-javadoc-files.mojos.xml
@@ -19,7 +19,10 @@
<!--
Mojo metadata for "Copy NOTICE and LICENSE files to -javadoc.jar".
-->
-<pluginMetadata>
+<pluginMetadata
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://maven.apache.org/PLUGIN-METADATA/1.1.0"
+ xsi:schemaLocation="http://maven.apache.org/PLUGIN-METADATA/1.1.0
https://maven.apache.org/components/plugin-tools/maven-script/maven-plugin-tools-model/plugin-metadata-1.1.0.xsd">
<mojos>
<mojo>
<goal>copy-javadoc-files</goal>
diff --git a/src/main/scripts/generate-xdocs.mojos.xml
b/src/main/scripts/generate-xdocs.mojos.xml
index 4e07294..b355d2f 100644
--- a/src/main/scripts/generate-xdocs.mojos.xml
+++ b/src/main/scripts/generate-xdocs.mojos.xml
@@ -19,7 +19,10 @@
<!--
Mojo metadata for "Commons Build: Standard XDOC Pages Generation".
-->
-<pluginMetadata>
+<pluginMetadata
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://maven.apache.org/PLUGIN-METADATA/1.1.0"
+ xsi:schemaLocation="http://maven.apache.org/PLUGIN-METADATA/1.1.0
https://maven.apache.org/components/plugin-tools/maven-script/maven-plugin-tools-model/plugin-metadata-1.1.0.xsd">
<!-- Using XInclude would help here. -->
<mojos>
<mojo>