Hi Barrie, 2008/12/14 Barrie Treloar <[email protected]>: > After reading the recent post for "New namespaces for Maven Settings > and Profiles XSD" I went to update my assembly xml files. > > http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html > doesn't list what version it uses and http://maven.apache.org/xsd/ > lists a choice of two: > assembly-1.0.0.xsd > assembly-1.1.0.xsd
Its main page specifies which version you need to use: http://maven.apache.org/plugins/maven-assembly-plugin/index.html Section Assembly Descriptor Schemas (XSD) It speaks of SNAPSHOT so the documentation needs to be updated. > (MASSEMBLY-296 also lists 1.0.0 as being obsolete) > > Having a look at > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-plugin > and src/main/mdo/descriptor.mdo it uses: > > <model > xsd.namespace="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" > > xsd.target-namespace="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"> > > > So am I right in that the namespace for assembly xml files should be > > <settings > xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 > http://maven.apache.org/xsd/assembly-1.1.0.xsd"> > > If this is right, I can update the examples in the documentation to > include namespaces. Feel free to do it. Cheers, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
