[
http://jira.codehaus.org/browse/MASSEMBLY-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114766
]
Manfred Geiler commented on MASSEMBLY-212:
------------------------------------------
Hmm, no idea how modello generates the "targetNamespace".
Is it derived from the rootElement class definition?
Any modello expert here?
I would guess that the following "patch" could do the job:
<class rootElement="true" xml.tagName="assembly">
<name>Assembly</name>
<description>
<![CDATA[
An assembly defines a collection of files usually distributed in an
archive format such as zip, tar, or tar.gz that is generated from a
project. For example, a project could produce a ZIP assembly which
contains a project's JAR artifact in the root directory, the
runtime dependencies in a lib/ directory, and a shell script to launch
a stand-alone application.
]]>
</description>
- <version>1.0.0+</version>
+ <version>1.1.0+</version>
<fields>
But perhaps that could have the sideeffect that 1.0.0 assemblies could not
longer be read?
> Assembly Descriptor Schemas (XSD) have wrong targetNamespace
> ------------------------------------------------------------
>
> Key: MASSEMBLY-212
> URL: http://jira.codehaus.org/browse/MASSEMBLY-212
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.1, 2.2-beta-1, 2.2-beta-2, 2.2
> Reporter: Manfred Geiler
> Priority: Minor
> Fix For: 2.2
>
>
> There are two versions of Assembly XSDs on the website:
> http://maven.apache.org/plugins/maven-assembly-plugin/
> Both define a targetNamespace "http://maven.apache.org/POM/4.0.0" which is
> wrong because those XSDs define the Schema for the Assembly Descriptor and
> not the POM.
> Proposed fix for assembly-1.0.0.xsd:
> Change targetNamespace and xmlns to something like
> "http://maven.apache.org/Assembly/1.0.0"
> Proposed fix for assembly-1.1.0-SNAPSHOT.xsd:
> Change targetNamespace and xmlns to something like
> "http://maven.apache.org/Assembly/1.1.0"
> Regards,
> Manfred
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira