On Mon, Dec 15, 2008 at 12:58 AM, Vincent Siveton
<[email protected]> wrote:
> Hi,
>
> MNG-2636 points that settings-1.0.0.xsd (and also profiles-1.0.0.xsd)
> uses the same namespace than Maven. This issue was similar to
> MASSEMBLY-296.
> So, I fixed the modello files to include new namespaces for settings
> and profiles:
> http://maven.apache.org/PROFILES/1.0.0
> http://maven.apache.org/SETTINGS/1.0.0


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

(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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to