-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Modello improvement, change namespace for xsd
- all Modello source will have the same version of model - generate Modello documentation in model directory - we have the same report name as documentation for model - change name space to https://www.mojohaus.org/VERSIONS/... - preserver old version of rule.xsd
- Loading branch information
1 parent
12ea57c
commit 4cd4065
Showing
8 changed files
with
153 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
title: XML schemas | ||
author: Slawomir Jaranowski | ||
date: 2022-10-17 | ||
|
||
<!-- GitHub pages doesn't generate index page ... we need prepare one --> | ||
|
||
# Versions - XML schemas | ||
|
||
## dependency-updates-report.xsd | ||
|
||
- [dependency-updates-report-2.1.0.xsd](dependency-updates-report-2.1.0.xsd) | ||
|
||
## plugin-updates-report.xsd | ||
|
||
- [plugin-updates-report-2.1.0.xsd](plugin-updates-report-2.1.0.xsd) | ||
|
||
## rule.xsd | ||
|
||
- [rule-2.0.0.xsd](rule-2.0.0.xsd) | ||
- [rule-2.1.0.xsd](rule-2.1.0.xsd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
<?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://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" targetNamespace="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0"> | ||
<xs:element name="ruleset" type="RuleSet"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description"> | ||
Describes a set of rules for how versions of artifacts should be handled. | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:complexType name="RuleSet"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description"> | ||
Describes a set of rules for how versions of artifacts should be handled. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:all> | ||
<xs:element minOccurs="0" name="ignoreVersions"> | ||
<xs:annotation> | ||
<xs:documentation source="version">2.0.0+</xs:documentation> | ||
<xs:documentation source="description">Version patterns to ignore for all artifacts.</xs:documentation> | ||
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="ignoreVersion" minOccurs="0" maxOccurs="unbounded" type="IgnoreVersion"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element minOccurs="0" name="rules"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="rule" minOccurs="0" maxOccurs="unbounded" type="Rule"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:all> | ||
<xs:attribute name="comparisonMethod" type="xs:string" use="required"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description">The comparison method to use when no rule matches.</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
</xs:complexType> | ||
<xs:complexType name="IgnoreVersion"> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:annotation> | ||
<xs:documentation source="version">2.0.0+</xs:documentation> | ||
<xs:documentation source="description">A version to ignore.</xs:documentation> | ||
</xs:annotation> | ||
<xs:attribute name="type" type="xs:string" default="exact" use="optional"> | ||
<xs:annotation> | ||
<xs:documentation source="version">2.0.0+</xs:documentation> | ||
<xs:documentation source="description">The type of ignore mechanism to use. Allowed values are 'exact' and 'regex'.</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:complexType name="Rule"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description"> | ||
Describes a rule for how versions of artifacts should be handled. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:all> | ||
<xs:element minOccurs="0" name="ignoreVersions"> | ||
<xs:annotation> | ||
<xs:documentation source="version">2.0.0+</xs:documentation> | ||
<xs:documentation source="description">Version patterns to ignore for this rule.</xs:documentation> | ||
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="ignoreVersion" minOccurs="0" maxOccurs="unbounded" type="IgnoreVersion"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:all> | ||
<xs:attribute name="groupId" type="xs:string" use="required"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description"> | ||
The for groupId to which this rule applies. Wildcards with ? and * are valid. | ||
A rule applies to all child groupIds unless overridden by a subsequent rule. | ||
A rule without wildcards will override a rule with wildcards. | ||
A rule with ? wildcards will override a rule with * wildcards. | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
<xs:attribute name="artifactId" type="xs:string" use="optional"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description"> | ||
The artifactId to which this rule applies. Wildcards with ? and * are valid. | ||
A rule without wildcards will override a rule with wildcards. | ||
A rule with ? wildcards will override a rule with * wildcards. | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
<xs:attribute name="comparisonMethod" type="xs:string" use="required"> | ||
<xs:annotation> | ||
<xs:documentation source="version">1.0.0+</xs:documentation> | ||
<xs:documentation source="description">The comparison method that this rule specifies.</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
</xs:complexType> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters