You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2026/04/08 07:50:28 UTC
(maven-site) 01/01: Add XSDs added with Doxia Sitetools 2.1.0
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch feature/xsd-doxia-sitetools-2.1.0
in repository https://gitbox.apache.org/repos/asf/maven-site.git
commit 3a951bae2103d617482c3c2923f0aee3452a9331
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Apr 8 09:50:21 2026 +0200
Add XSDs added with Doxia Sitetools 2.1.0
---
content/resources/xsd/site-2.1.0.xsd | 593 +++++++++++++++++++++++++++++++++++
content/resources/xsd/skin-2.1.0.xsd | 112 +++++++
2 files changed, 705 insertions(+)
diff --git a/content/resources/xsd/site-2.1.0.xsd b/content/resources/xsd/site-2.1.0.xsd
new file mode 100644
index 00000000..5e54daf3
--- /dev/null
+++ b/content/resources/xsd/site-2.1.0.xsd
@@ -0,0 +1,593 @@
+<?xml version="1.0"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one -->
+<!-- or more contributor license agreements. See the NOTICE file -->
+<!-- distributed with this work for additional information -->
+<!-- regarding copyright ownership. The ASF licenses this file -->
+<!-- to you under the Apache License, Version 2.0 (the -->
+<!-- "License"); you may not use this file except in compliance -->
+<!-- with the License. You may obtain a copy of the License at -->
+<!-- -->
+<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
+<!-- -->
+<!-- Unless required by applicable law or agreed to in writing, -->
+<!-- software distributed under the License is distributed on an -->
+<!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
+<!-- KIND, either express or implied. See the License for the -->
+<!-- specific language governing permissions and limitations -->
+<!-- under the License. -->
+<!-- =================== DO NOT EDIT THIS FILE ==================== -->
+<!-- Generated by Modello 2.5.1, -->
+<!-- any modifications will be overwritten. -->
+<!-- ============================================================== -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/SITE/2.1.0" targetNamespace="http://maven.apache.org/SITE/2.1.0">
+ <xs:element name="site" type="SiteModel">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ The <code>&lt;site&gt;</code> element is the root of the site decoration descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="SiteModel">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ The <code>&lt;site&gt;</code> element is the root of the site decoration descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="bannerLeft" type="Banner">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Banner logo on the masthead of the site to the left.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="bannerRight" type="Banner">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Banner logo on the masthead of the site to the right.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="publishDate" type="PublishDate">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Modify the date published display properties.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="version" type="Version">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Modify the version published display properties.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="edit" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.8.0+</xs:documentation>
+ <xs:documentation source="description">
+ The base url to edit Doxia document sources.
+ In general, <code>${project.scm.url}</code> value should do the job.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="poweredBy">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Powered by logos list.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element type="Logo" name="logo" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="mermaid" type="MermaidConfiguration">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The configuration used for rendering Mermaid diagrams (https://mermaid.ai/open-source/) on client-side. If the element does not exist, no Mermaid specific scripts will be included in the generated site. If it exists but the "config" field is not set, a default configuration will be used.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="skin" type="Skin">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The artifact containing the skin for the site.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="body" type="Body">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The main site content.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="custom">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Custom configuration for use with customized Velocity templates. Data from this field are
+ accessible in Velocity template from <code>$site.custom</code> variable as DOM content.
+ Example: <code>$site.custom.getChild( 'customElement' ).getValue()</code>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The full name of the project site.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="combine.self" type="xs:string" default="merge" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.6.0+</xs:documentation>
+ <xs:documentation source="description">
+ Whether to inherit configuration from a parent project site descriptor (<code>merge</code>)
+ or not (<code>override</code>).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="requireParent" type="xs:boolean" default="false" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Whether this "site.xml" should inherit from a parent "site.xml". If set to "true" it fails the build in case a parent site descriptor cannot be retrieved.
+ It does not necessarily need to be the direct parent but just a site descriptor anywhere in the parent hierarchy.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="Banner">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Banner logo on the masthead of the site.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="image" type="Image">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The image for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The name to display for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="href" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The href to use for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="target" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.1+</xs:documentation>
+ <xs:documentation source="description">Where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="Image">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">An image. Generates an "img" element (https://html.spec.whatwg.org/#the-img-element).</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="src" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The source location. Ends up in the "img src" attribute (https://html.spec.whatwg.org/#attr-img-src).</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="position" type="xs:string" default="left" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">Where to place the image relative to the displayed name (left or right).</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="alt" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The alternative text to use. Ends up in the "img alt" attribute (https://html.spec.whatwg.org/#alt).(</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="width" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The width to use. Added to the generated "img style" attribute (https://html.spec.whatwg.org/#the-style-attribute) prefixed by "width: ".</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="height" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The height to use. Added to the generated "img style" attribute (https://html.spec.whatwg.org/#the-style-attribute) prefixed by "height: ".</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="style" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The style to use. Ends up in the "img style" attribute (https://html.spec.whatwg.org/#the-style-attribute) as is.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="Body">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The main content.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="head" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">Additional content (like JavaScript) to include in the HEAD block of the generated pages.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="links">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A list of links to display in the navigation.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element type="LinkItem" name="item" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="breadcrumbs">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A list of breadcrumbs to display in the navigation.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element type="LinkItem" name="item" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="menu" type="Menu" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A list of menus to include in the navigation.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="footer" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">If present, the contained text will be used instead of the generated copyright text.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="LinkItem">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A link in the navigation.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="image" type="Image">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The image for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The name to display for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="href" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The href to use for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="target" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.1+</xs:documentation>
+ <xs:documentation source="description">Where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="Menu">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A menu in the navigation.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="image" type="Image">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The image for the menu.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="item" type="MenuItem" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A list of menu item.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The name to display for the menu.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="inherit" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ The way in which the menu is inherited. Can be one of : <code>top</code>, <code>bottom</code> or empty. If empty the menu is not inherited (i.e. won't be exposed in sub projects) which is the default behavior.
+ Value <code>bottom</code> means it appears below sub project's defined menus, <code>top</code> means it appears above sub project's defined menus.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="inheritAsRef" type="xs:boolean" default="false" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ If this is a reference, setting to <code>true</code> means that it will be populated
+ in the site, whereas if it is <code>false</code>, it is populated in the parent and then inherited.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="ref" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">
+ Mark this menu as reference to a pre-defined menu: <code>reports</code>, <code>modules</code>
+ or <code>parent</code>. It will be populated at runtime with corresponding pre-defined content.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="MenuItem">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A menu item.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="item" type="MenuItem" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A list of menu item.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="image" type="Image">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The image for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="collapse" type="xs:boolean" default="false" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Whether to collapse children elements of an item menu (by default).</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="ref" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A reference to a pre-defined menu item, such as a report (specified by the report goal
+ name). Any elements explicitly given override those from the pre-defined reference.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The name to display for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="href" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The href to use for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="target" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.1+</xs:documentation>
+ <xs:documentation source="description">Where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="PublishDate">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Modify display properties for the date in the header/footer. By default is the publish date.</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="position" type="xs:string" default="left" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Where to place the date published ("left", "right", "navigation-top", "navigation-bottom", "bottom" or "none" to hide it).</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="format" type="xs:string" default="yyyy-MM-dd" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Date format to use.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="timezone" type="xs:string" default="Etc/UTC" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.8.1+</xs:documentation>
+ <xs:documentation source="description">
+
+ The timezone to use. Use <code>system</code> for the default locale for this instance
+ of the Java Virtual Machine. Refer to <code>java.util.TimeZone</code> for details.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="value" type="xs:string" default="publishDate" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ The Velocity context key to use as source for the date. Usually one of "publishDate" or "scmLastModified". Must have a value of type <code>java.util.Date</code>.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="prefix" type="xs:string" default="template.lastpublished" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ The prefix to emit in front of the date. When starting with <code>template.</code> it is assumed to reference a key from the <code>site-renderer.properties</code>, otherwise it is a literal value.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="fallbackValue" type="xs:string" default="date" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ The Velocity context key to use as source for the date. Used as fallback when the context given in "value" is not available. Must have a value of type <code>java.util.Date</code>. This is useful when the context given in "value" is only available for Doxia source documents (but not for reports).
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="fallbackPrefix" type="xs:string" default="template.lastpublished" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">
+
+ The prefix to emit in front of the fallback date. When starting with <code>template.</code> it is assumed to reference a key from the <code>site-renderer.properties</code>, otherwise it is a literal value.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="Logo">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Power by logo on the navigation.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="image" type="Image">
+ <xs:annotation>
+ <xs:documentation source="version">2.0.0+</xs:documentation>
+ <xs:documentation source="description">The image for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The name to display for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="href" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The href to use for the link.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="target" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.1+</xs:documentation>
+ <xs:documentation source="description">Where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="MermaidConfiguration">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The configuration used for rendering Mermaid diagrams (https://mermaid.ai/open-source/) on client-side.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="externalJsUrl" type="ExternalJs">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The URL from which to request the javascript used for rendering the diagrams. If not set an embedded version of Mermaid is used (which is automatically deployed to the site).</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="config" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The Mermaid configuration in JSON format as described in https://mermaid.ai/open-source/config/setup/mermaid/interfaces/MermaidConfig.html.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ <xs:attribute name="useTiny" type="xs:boolean" default="false" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">If Tiny Mermaid (https://github.com/mermaid-js/mermaid/tree/develop/packages/tiny#tiny-mermaid) should be used. Only considered if "externalJsUrl" is not set.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="ExternalJs">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The configuration of an external JS file to be embedded in the HTML. Leads to an inclusion via the "script" element.</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="integrity" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The integrity hash to use for the external JS file emitted in the "script" element's "integrity" attribute. Its semantics are described in https://www.w3.org/TR/sri-2/ and its usage is strongly recommended. Some example tools for calculating the value are outlined in https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Subresource_Integrity#tools_for_generating_sri_hashes.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="referrerpolicy" type="xs:string" default="no-referrer" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">The referrerpolicy attribute to use when requesting the external JS file. Its semantics are described in https://www.w3.org/TR/referrer-policy/ and setting it to "no-referrer" prevents sharing unnecessary information with 3rd parties.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="otherAttributes" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">Other attributes to include in the "script" element for this external JS file, in the form of a whitespace separated list of key=value pairs. The keys and values will be included as-is in the generated "script" element, without any validation.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="Version">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Modify display properties for version published.</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="position" type="xs:string" default="left" use="optional">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Where to place the version published ("left", "right", "navigation-top", "navigation-bottom", "bottom" or "none" to hide it).</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="Skin">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A skin artifact declaration.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="groupId" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The skin group ID.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="artifactId" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The skin artifact ID.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="version" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">The skin version.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
diff --git a/content/resources/xsd/skin-2.1.0.xsd b/content/resources/xsd/skin-2.1.0.xsd
new file mode 100644
index 00000000..23291f68
--- /dev/null
+++ b/content/resources/xsd/skin-2.1.0.xsd
@@ -0,0 +1,112 @@
+<?xml version="1.0"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one -->
+<!-- or more contributor license agreements. See the NOTICE file -->
+<!-- distributed with this work for additional information -->
+<!-- regarding copyright ownership. The ASF licenses this file -->
+<!-- to you under the Apache License, Version 2.0 (the -->
+<!-- "License"); you may not use this file except in compliance -->
+<!-- with the License. You may obtain a copy of the License at -->
+<!-- -->
+<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
+<!-- -->
+<!-- Unless required by applicable law or agreed to in writing, -->
+<!-- software distributed under the License is distributed on an -->
+<!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
+<!-- KIND, either express or implied. See the License for the -->
+<!-- specific language governing permissions and limitations -->
+<!-- under the License. -->
+<!-- =================== DO NOT EDIT THIS FILE ==================== -->
+<!-- Generated by Modello 2.5.1, -->
+<!-- any modifications will be overwritten. -->
+<!-- ============================================================== -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/SKIN/2.1.0" targetNamespace="http://maven.apache.org/SKIN/2.1.0">
+ <xs:element name="skin" type="SkinModel">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">
+ The <code>&lt;skin&gt;</code> element is the root of the skin descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="SkinModel">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">
+ The <code>&lt;skin&gt;</code> element is the root of the skin descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="prerequisites" type="Prerequisites">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">Describes the prerequisites in the build environment for using this skin.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="encoding" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">Encoding of text content, like the Velocity template itself.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="resource-conditions">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">Resource conditions</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element type="ResourceCondition" name="resource-condition" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="ResourceCondition">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">Describes the condition for including a specific Skin resource. If multiple conditions are defined for a single resource only the first matching condition determines the outcome. Resources not matching a condition will always be included.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="resource-name">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">
+ A resource name to which this condition applies. Refers to the relative path within the JAR (i.e. must always use "/" as separator and must not start with a slash). Multiple resource names can be specified sharing the same condition.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element type="xs:string" name="resource-name" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="0" name="vtl-condition" type="xs:string">
+ <xs:annotation>
+ <xs:documentation source="version">2.1.0+</xs:documentation>
+ <xs:documentation source="description">
+ The Velocity (VTL) expression to be evaluated to decide if the resource should be included. Only if the condition evaluates to true, the resource will be included.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="Prerequisites">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">Describes the prerequisites a skin can have.</xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element minOccurs="0" name="doxia-sitetools" type="xs:string" default="2.0.0-M12">
+ <xs:annotation>
+ <xs:documentation source="version">1.7.0+</xs:documentation>
+ <xs:documentation source="description">
+ The minimum version of Doxia Sitetools required to use the resulting skin.
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file