maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MASSEMBLY-374) useProjectArtifact is missing from XSD file
Date Thu, 03 Feb 2011 21:13:22 GMT

     [ 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

        

Mime
View raw message