Skip to content

Commit

Permalink
[MASSEMBLY-991] - Add links to XSDs for 2.2.0
Browse files Browse the repository at this point in the history
Add links to the assembly-2.2.0.xsd and assembly-component-2.2.0.xsd.
Also fix example in using-container-descriptor-handlers.apt.vm to use mdoVersion.
  • Loading branch information
rmgrimm authored and slawekjaranowski committed Jun 18, 2023
1 parent cb696ac commit 4d0130c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ public class MyCustomDescriptorHandler implements ContainerDescriptorHandler {
<<<test.properties>>>. With the following descriptor format

+-----
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<assembly xmlns="http://maven.apache.org/ASSEMBLY/${mdoVersion}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/${mdoVersion} http://maven.apache.org/xsd/assembly-${mdoVersion}.xsd">
<id>dist</id>
<formats>
<format>zip</format>
Expand Down
3 changes: 3 additions & 0 deletions src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ ${project.name}

* Assembly and Component Descriptor Schemas (XSD)

* {{{/xsd/assembly-2.2.0.xsd}https://maven.apache.org/xsd/assembly-2.2.0.xsd}},
{{{/xsd/assembly-component-2.2.0.xsd}https://maven.apache.org/xsd/assembly-component-2.2.0.xsd}} (for version 3.6.0 and higher)

* {{{/xsd/assembly-2.1.1.xsd}https://maven.apache.org/xsd/assembly-2.1.1.xsd}},
{{{/xsd/assembly-component-2.1.1.xsd}https://maven.apache.org/xsd/assembly-component-2.1.1.xsd}} (for version 3.4.0 and higher)

Expand Down

0 comments on commit 4d0130c

Please sign in to comment.