You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/02/10 18:42:34 UTC
[maven-site] branch master updated: Add Core Extensions 1.1 schema
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new f8579f4f Add Core Extensions 1.1 schema
f8579f4f is described below
commit f8579f4f91aa826501528b64a7c6baadf6492986
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Fri Feb 10 19:42:19 2023 +0100
Add Core Extensions 1.1 schema
---
content/resources/xsd/core-extensions-1.1.0.xsd | 59 +++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/content/resources/xsd/core-extensions-1.1.0.xsd b/content/resources/xsd/core-extensions-1.1.0.xsd
new file mode 100644
index 00000000..2381eea9
--- /dev/null
+++ b/content/resources/xsd/core-extensions-1.1.0.xsd
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!-- =================== DO NOT EDIT THIS FILE ==================== -->
+<!-- Generated by Modello 2.0.0, -->
+<!-- any modifications will be overwritten. -->
+<!-- ============================================================== -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/EXTENSIONS/1.1.0" targetNamespace="http://maven.apache.org/EXTENSIONS/1.1.0">
+ <xs:element name="extensions" type="CoreExtensions">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Extensions to load.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="CoreExtensions">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Extensions to load.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="extension" type="CoreExtension" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">A set of build extensions to use from this project.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="CoreExtension">
+ <xs:annotation>
+ <xs:documentation source="version">1.0.0+</xs:documentation>
+ <xs:documentation source="description">Describes a build extension to utilise.</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 group ID of the extension's artifact.</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 artifact ID of the extension.</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 version of the extension.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" name="classLoadingStrategy" type="xs:string" default="self-first">
+ <xs:annotation>
+ <xs:documentation source="version">1.1.0+</xs:documentation>
+ <xs:documentation source="description">The class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file