useProjectArtifact is missing from XSD file
-------------------------------------------
Key: MASSEMBLY-374
URL: http://jira.codehaus.org/browse/MASSEMBLY-374
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Environment: N/A
Reporter: Chris Graham
The field useProjectArtifact is missing from the following XSD files:
http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd
http://maven.apache.org/xsd/assembly-1.0.0.xsd
I found a reference to it in:
http://books.sonatype.com/maven-book/reference/assemblies.html
Here is a working example that uses it:
<?xml version='1.0' encoding='UTF-8'?>
<assembly>
<id></id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory></outputDirectory>
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
</dependencySets>
</assembly>
There are other missing attributes (useProjectAttachments at least) as well.
Using these XSD files to validate assembly xml files that use these fields will
incorrectly fail.
-Chris
--
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