This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git

commit 075a7eb9ef97c3e3be070af4cbf62fb4d38ee19a
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Fri May 16 14:07:09 2025 +0100

    Update site schema to 2.0.0
---
 commons-statistics-bom/src/site/site.xml          | 13 +++++--------
 commons-statistics-descriptive/src/site/site.xml  | 12 +++++-------
 commons-statistics-distribution/src/site/site.xml | 12 +++++-------
 commons-statistics-docs/src/site/site.xml         | 13 +++++--------
 commons-statistics-inference/src/site/site.xml    | 12 +++++-------
 commons-statistics-ranking/src/site/site.xml      | 12 +++++-------
 src/site/site.xml                                 | 18 ++++++++----------
 7 files changed, 38 insertions(+), 54 deletions(-)

diff --git a/commons-statistics-bom/src/site/site.xml 
b/commons-statistics-bom/src/site/site.xml
index 098813c..77a60c1 100644
--- a/commons-statistics-bom/src/site/site.xml
+++ b/commons-statistics-bom/src/site/site.xml
@@ -15,18 +15,15 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics">
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics">
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
     <menu name="Statistics Bill of Materials">
       <item name="Overview" href="index.html"/>
     </menu>
-
   </body>
-</project>
+</site>
diff --git a/commons-statistics-descriptive/src/site/site.xml 
b/commons-statistics-descriptive/src/site/site.xml
index 5ada8c1..91b4525 100644
--- a/commons-statistics-descriptive/src/site/site.xml
+++ b/commons-statistics-descriptive/src/site/site.xml
@@ -15,12 +15,10 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics">
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics">
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
@@ -33,4 +31,4 @@
     </menu>
 
   </body>
-</project>
+</site>
diff --git a/commons-statistics-distribution/src/site/site.xml 
b/commons-statistics-distribution/src/site/site.xml
index c94d4a3..1761f26 100644
--- a/commons-statistics-distribution/src/site/site.xml
+++ b/commons-statistics-distribution/src/site/site.xml
@@ -15,12 +15,10 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics">
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics">
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
@@ -35,4 +33,4 @@
     </menu>
 
   </body>
-</project>
+</site>
diff --git a/commons-statistics-docs/src/site/site.xml 
b/commons-statistics-docs/src/site/site.xml
index 86e4586..4aeed84 100644
--- a/commons-statistics-docs/src/site/site.xml
+++ b/commons-statistics-docs/src/site/site.xml
@@ -15,12 +15,10 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics">
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics">
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
@@ -29,6 +27,5 @@
       <item name="Latest API docs (development)"
             href="apidocs/index.html"/>
     </menu>
-
   </body>
-</project>
+</site>
diff --git a/commons-statistics-inference/src/site/site.xml 
b/commons-statistics-inference/src/site/site.xml
index 68de9bc..d65e649 100644
--- a/commons-statistics-inference/src/site/site.xml
+++ b/commons-statistics-inference/src/site/site.xml
@@ -15,12 +15,10 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics">
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics">
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
@@ -33,4 +31,4 @@
     </menu>
 
   </body>
-</project>
+</site>
diff --git a/commons-statistics-ranking/src/site/site.xml 
b/commons-statistics-ranking/src/site/site.xml
index 84bfce0..a977d43 100644
--- a/commons-statistics-ranking/src/site/site.xml
+++ b/commons-statistics-ranking/src/site/site.xml
@@ -15,12 +15,10 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics">
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics">
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
@@ -33,4 +31,4 @@
     </menu>
 
   </body>
-</project>
+</site>
diff --git a/src/site/site.xml b/src/site/site.xml
index 4714d42..0fe559c 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -15,15 +15,13 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="Statistics"
-    xmlns="http://maven.apache.org/DECORATION/1.6.0";
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-    xsi:schemaLocation="http://maven.apache.org/DECORATION/1.6.0 
https://maven.apache.org/xsd/decoration-1.6.0.xsd";>
-  <bannerRight>
-    <name>Apache Commons Statistics</name>
-    <!-- Use a full URL allows a correct banner for the modules. -->
-    
<src>https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png</src>
-    
<href>https://commons.apache.org/proper/commons-statistics/index.html</href>
+<site name="Statistics"
+  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";>
+  <!-- Use a full URL allows a correct banner for the modules. -->
+  <bannerRight name="Apache Commons Statistics" 
href="https://commons.apache.org/proper/commons-statistics/index.html";>
+    <image 
src="https://commons.apache.org/proper/commons-statistics/images/commons_statistics.small.png"/>
   </bannerRight>
 
   <body>
@@ -67,4 +65,4 @@
       <prettyPrintLineNumbersEnabled>false</prettyPrintLineNumbersEnabled>
     </commonsSkin>
   </custom>
-</project>
+</site>

Reply via email to