diff --git a/changes/plugin.jelly b/changes/plugin.jelly index d901bc8c..7cc44105 100644 --- a/changes/plugin.jelly +++ b/changes/plugin.jelly @@ -24,6 +24,7 @@ xmlns:define="jelly:define" xmlns:util="jelly:util" xmlns:c="changes:transform" + xmlns:plugin="plugin" xmlns:doc="doc"> @@ -77,6 +78,24 @@ + + + + + + schema=${plugin.resources}/xsd/changes.xsd + file=${maven.docs.src}/changes.xml + + + + + + diff --git a/changes/src/plugin-resources/xsd/changes.xsd b/changes/src/plugin-resources/xsd/changes.xsd new file mode 100644 index 00000000..1084b143 --- /dev/null +++ b/changes/src/plugin-resources/xsd/changes.xsd @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/changes/xdocs/changes.xml b/changes/xdocs/changes.xml index 333aac36..89d0c2c2 100644 --- a/changes/xdocs/changes.xml +++ b/changes/xdocs/changes.xml @@ -25,6 +25,7 @@ + Validate changes.xml. Add multiple due-to/due-to-email support. Add multiple issue support. The encoding of changes.xml is not preserved after scm:prepare-release. diff --git a/changes/xdocs/goals.xml b/changes/xdocs/goals.xml index e7a29f4f..419457d4 100644 --- a/changes/xdocs/goals.xml +++ b/changes/xdocs/goals.xml @@ -43,7 +43,15 @@ project releases. - + + changes:validate + + Validates the changes.xml file. Note that this validates + against the new form of the action element as described + here, i.e., the description + of the change has to be contained in a description element. + + diff --git a/changes/xdocs/index.xml b/changes/xdocs/index.xml index 8043ff84..4cd11662 100644 --- a/changes/xdocs/index.xml +++ b/changes/xdocs/index.xml @@ -74,7 +74,7 @@ ]]> -

+

An alternative form of the <action> element allows you to specify several issues and/or several due-to elements: