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 2008/11/02 23:44:51 UTC

[jira] Closed: (MASSEMBLY-308) Syntax Problem in Example Doco

     [ http://jira.codehaus.org/browse/MASSEMBLY-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MASSEMBLY-308.
-------------------------------------

      Assignee: Dennis Lundberg  (was: John Casey)
    Resolution: Fixed

Patch applied in r709972. Thanks!

> Syntax Problem in Example Doco
> ------------------------------
>
>                 Key: MASSEMBLY-308
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-308
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>         Environment: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html
>            Reporter: Andrew Hughes
>            Assignee: Dennis Lundberg
>            Priority: Minor
>             Fix For: 2.2-beta-3
>
>         Attachments: massembly308.patch
>
>
> There's a problem with the examples....
> {noformat}
> <includes>*.txt</includes>
> {noformat}
> should read
> {noformat}
> <includes>
>     <include>*.txt</include>
> </includes>
> {noformat}
> in the example...
> {noformat}
> <assembly>
>   <id>distribution</id>
>   <formats>
>     <format>jar</format>
>   </formats>
>   <fileSets>
>     <fileSet>
>       <directory>${basedir}</directory>
>       <includes>*.txt</includes>
>       <excludes>
>         <exclude>README.txt</exclude>
>         <exclude>NOTICE.txt</exclude>
>       </excludes>
>     </fileSet>
>   </fileSets>
>   <files>
>     <file>
>       <source>README.txt</source>
>       <outputDirectory>/</outputDirectory>
>       <filtered>true</filtered>
>     </file>
>     <file>
>       <source>NOTICE.txt</source>
>       <outputDirectory>/</outputDirectory>
>       <filtered>true</filtered>
>     </file>
>   </files>
> </assembly>
> {noformat}

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