You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/02/03 22:13:22 UTC
[jira] Closed: (MASSEMBLY-374) useProjectArtifact is missing from
XSD file
[ http://jira.codehaus.org/browse/MASSEMBLY-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MASSEMBLY-374.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.2
In the 1.1.2 xsd this has been fixed.
http://maven.apache.org/xsd/assembly-1.1.2.xsd
> 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
> Fix For: 2.2
>
>
> 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