You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Hughes (JIRA)" <ji...@codehaus.org> on 2008/04/14 06:15:58 UTC

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

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
            Priority: Minor


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

        

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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Petar Tahchiev (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petar Tahchiev updated MASSEMBLY-308:
-------------------------------------

    Attachment: massembly308.patch

Here is the patch for this issue. Please apply and close it.

> 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
>            Priority: Minor
>         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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-308:
---------------------------------

    Fix Version/s: 2.2-beta-3

> 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: John Casey
>            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