Skip to content

Commit 4d0130c

Browse files
rmgrimmslawekjaranowski
authored andcommitted
[MASSEMBLY-991] - Add links to XSDs for 2.2.0
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.
1 parent cb696ac commit 4d0130c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/site/apt/examples/single/using-container-descriptor-handlers.apt.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ public class MyCustomDescriptorHandler implements ContainerDescriptorHandler {
309309
<<<test.properties>>>. With the following descriptor format
310310

311311
+-----
312-
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
313-
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
312+
<assembly xmlns="http://maven.apache.org/ASSEMBLY/${mdoVersion}" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
313+
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/${mdoVersion} http://maven.apache.org/xsd/assembly-${mdoVersion}.xsd">
314314
<id>dist</id>
315315
<formats>
316316
<format>zip</format>

src/site/apt/index.apt.vm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ ${project.name}
115115

116116
* Assembly and Component Descriptor Schemas (XSD)
117117

118+
* {{{/xsd/assembly-2.2.0.xsd}https://maven.apache.org/xsd/assembly-2.2.0.xsd}},
119+
{{{/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)
120+
118121
* {{{/xsd/assembly-2.1.1.xsd}https://maven.apache.org/xsd/assembly-2.1.1.xsd}},
119122
{{{/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)
120123

0 commit comments

Comments
 (0)