-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Modello improvement, change namespace for xsd #766
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really want to change the namespace of the reports with every new release of the plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is
version
of model formmodello-maven-plugin
configuration - it is not project version