| <?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. |
| --> |
| <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/DECORATION/1.0.0" targetNamespace="http://maven.apache.org/DECORATION/1.0.0"> |
| <xs:element name="project" type="DecorationModel"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The <code>&lt;project&gt;</code> element is the root of the site decoration descriptor. |
| The following table lists all of the possible child elements. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:element> |
| <xs:complexType name="DecorationModel"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The <code>&lt;project&gt;</code> element is the root of the site decoration descriptor. |
| The following table lists all of the possible child elements. |
| </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="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 name="logo" minOccurs="0" maxOccurs="unbounded" type="Logo"/> |
| </xs:sequence> |
| </xs:complexType> |
| </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 decoration. |
| </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 customised Velocity templates. |
| </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"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The full name of the project. |
| </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="name" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The name of the banner. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:element> |
| <xs:element minOccurs="0" name="src" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The location of an image for the banner. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:element> |
| <xs:element minOccurs="0" name="alt" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The alt description for the banner image. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:element> |
| <xs:element minOccurs="0" name="href" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The href of a link to be used for the banner image. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:element> |
| </xs:all> |
| </xs:complexType> |
| <xs:complexType name="Body"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The main content decoration. |
| </xs:documentation> |
| </xs:annotation> |
| <xs:sequence> |
| <xs:element minOccurs="0" name="head"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.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:complexType> |
| <xs:sequence> |
| <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/> |
| </xs:sequence> |
| </xs:complexType> |
| </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 name="item" minOccurs="0" maxOccurs="unbounded" type="LinkItem"/> |
| </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 name="item" minOccurs="0" maxOccurs="unbounded" type="LinkItem"/> |
| </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: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:attribute name="name" type="xs:string"> |
| <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"> |
| <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: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="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"> |
| <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"> |
| <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>. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:attribute> |
| <xs:attribute name="inheritAsRef" type="xs:boolean" default="false"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| If this is a reference, setting <inheritAsRef>true</inheritAsRef> means that it will be populated |
| in the project, whereas if it is false, it is populated in the parent and then inherited. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:attribute> |
| <xs:attribute name="ref" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| A reference to a pre-defined menu, such as a <code>reports</code>, <code>modules</code> |
| or <code>parentProject</code>. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:attribute> |
| <xs:attribute name="img" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The location of an image. |
| </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="description" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| A description of the menu item. This is used on any summary pages for a 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">Menu item.</xs:documentation> |
| </xs:annotation> |
| </xs:element> |
| </xs:sequence> |
| <xs:attribute name="collapse" type="xs:boolean" default="false"> |
| <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"> |
| <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"> |
| <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"> |
| <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:complexType> |
| <xs:complexType name="Skin"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| An 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: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"> |
| <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). |
| </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 date published. |
| </xs:documentation> |
| </xs:annotation> |
| <xs:attribute name="position" type="xs:string"> |
| <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). |
| </xs:documentation> |
| </xs:annotation> |
| </xs:attribute> |
| <xs:attribute name="format" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| Date format to use. The default is MM/dd/yyyy. |
| </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:attribute name="img" type="xs:string"> |
| <xs:annotation> |
| <xs:documentation source="version">1.0.0</xs:documentation> |
| <xs:documentation source="description"> |
| The href of a link to be used for the power by image. |
| </xs:documentation> |
| </xs:annotation> |
| </xs:attribute> |
| <xs:attribute name="name" type="xs:string"> |
| <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"> |
| <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:complexType> |
| </xs:schema> |