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-pool.git

commit 14054b7ce318cf66dfc55ad35d34ce7f92740161
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jan 20 10:33:01 2025 -0500

    Validate site XML template files with XML Schema
    
    - Normalize logo graphic file name
---
 .../images/{pool-logo-white.png => logo.png}       | Bin
 src/site/site.xml                                  |  56 +++++++++++----------
 src/site/xdoc/examples.xml                         |   4 +-
 src/site/xdoc/guide/index.xml                      |   5 +-
 src/site/xdoc/index.xml                            |   4 +-
 src/site/xdoc/releases.xml                         |   4 +-
 6 files changed, 41 insertions(+), 32 deletions(-)

diff --git a/src/site/resources/images/pool-logo-white.png 
b/src/site/resources/images/logo.png
similarity index 100%
rename from src/site/resources/images/pool-logo-white.png
rename to src/site/resources/images/logo.png
diff --git a/src/site/site.xml b/src/site/site.xml
index 16bf5437..eddaf4ec 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -15,30 +15,32 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Pool">
-    <bannerRight>
-        <name>Commons Pool</name>
-        <src>/images/pool-logo-white.png</src>
-        <href>/index.html</href>
-    </bannerRight>
-
-    <body>
-        <menu name="Pool">
-            <item name="Overview"            href="/index.html"/>
-            <item name="Javadoc"             href="/apidocs/index.html"/>
-            <item name="Javadoc 3.x Archive" 
href="https://javadoc.io/doc/org.apache.commons/commons-pool3/latest/index.html"/>
-            <item name="Javadoc 2.x Archive" 
href="https://javadoc.io/doc/org.apache.commons/commons-pool2/latest/index.html"/>
-            <item name="Javadoc 1.x Archive" 
href="https://javadoc.io/doc/commons-pool/commons-pool/latest/index.html"/>
-            <item name="Examples"            href="/examples.html"/>
-            <item name="Releases"            href="/releases.html"/>
-            <item name="Wiki"                
href="https://cwiki.apache.org/confluence/display/commons/Pool"/>
-        </menu>
-
-        <menu name="Development">
-            <item name="Mailing Lists"       href="/mail-lists.html"/>
-            <item name="Issue Tracking"      href="/issue-tracking.html"/>
-            <item name="Source Repository"   href="/scm.html"/>
-        </menu>
-    </body>
-
-</project>
+<site xmlns="http://maven.apache.org/SITE/2.0.0"; 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 
https://maven.apache.org/xsd/site-2.0.0.xsd";
+  name="Apache Commons Pool">
+  <bannerRight name="Commons Pool" href="/index.html">
+    <image src="/images/logo.png"/>
+  </bannerRight>
+  <body>
+    <menu name="Commons Pool">
+      <!-- Start: For all components. -->
+      <item name="About" href="index.html" />
+      <item name="Asking Questions" href="mail-lists.html" />
+      <item name="Release History" href="changes.html" />
+      <item name="Issue Tracking" href="issue-management.html" />
+      <item name="Dependency Management" href="/dependency-info.html" />
+      <item name="Javadoc" href="apidocs/index.html" />
+      <item name="Javadoc Archive 3.x" 
href="https://javadoc.io/doc/org.apache.commons/commons-pool3/"; />
+      <item name="Javadoc Archive 2.x" 
href="https://javadoc.io/doc/org.apache.commons/commons-pool2/"; />
+      <item name="Javadoc Archive 1.x" 
href="https://javadoc.io/doc/commons-pool/commons-pool/"; />
+      <item name="Sources" href="scm.html" />
+      <item name="Security" href="security.html" />
+      <item name="License" href="https://www.apache.org/licenses/LICENSE-2.0"; 
/>
+      <item name="Code of Conduct" 
href="https://www.apache.org/foundation/policies/conduct.html"; />
+      <item name="Download" 
href="https://commons.apache.org/proper/commons-pool/download_bcel.cgi"; />
+      <!-- End: For all components. -->
+      <item name="Examples" href="examples.html" />
+    </menu>
+  </body>
+</site>
diff --git a/src/site/xdoc/examples.xml b/src/site/xdoc/examples.xml
index 64d9687f..0cd88a69 100644
--- a/src/site/xdoc/examples.xml
+++ b/src/site/xdoc/examples.xml
@@ -15,7 +15,9 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 
http://maven.apache.org/xsd/xdoc-2.0.xsd";>
    <properties>
       <title>Examples</title>
       <author email="d...@commons.apache.org">Apache Commons Documentation 
Team</author>
diff --git a/src/site/xdoc/guide/index.xml b/src/site/xdoc/guide/index.xml
index 0887cf81..4dc91fe3 100644
--- a/src/site/xdoc/guide/index.xml
+++ b/src/site/xdoc/guide/index.xml
@@ -16,8 +16,9 @@
    limitations under the License.
 -->
 
-<document>
-
+<document xmlns="http://maven.apache.org/XDOC/2.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 
http://maven.apache.org/xsd/xdoc-2.0.xsd";>
  <properties>
   <title>Developers Guide</title>
   <author email="d...@commons.apache.org">Apache Commons Documentation 
Team</author>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index e4fa091b..5375acb9 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -15,7 +15,9 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 
http://maven.apache.org/xsd/xdoc-2.0.xsd";>
    <properties>
       <title>Overview</title>
       <author email="d...@commons.apache.org">Apache Commons Documentation 
Team</author>
diff --git a/src/site/xdoc/releases.xml b/src/site/xdoc/releases.xml
index 3be64291..5b9ae756 100644
--- a/src/site/xdoc/releases.xml
+++ b/src/site/xdoc/releases.xml
@@ -15,7 +15,9 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 
http://maven.apache.org/xsd/xdoc-2.0.xsd";>
    <properties>
       <title>Downloads</title>
       <author email="d...@commons.apache.org">Apache Commons Documentation 
Team</author>

Reply via email to