jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Assembly Plugin
  • Maven 2.x Assembly Plugin
  • MASSEMBLY-308

Syntax Problem in Example Doco

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.2-beta-2
  • Fix Version/s: 2.2-beta-3
  • Component/s: None
  • Labels:
    None
  • Environment:
    http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html
  • Number of attachments :
    1

Description

There's a problem with the examples....

<includes>*.txt</includes>

should read

<includes>
    <include>*.txt</include>
</includes>

in the example...

<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>
  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    massembly308.patch
    29/Sep/08 8:32 AM
    0.5 kB
    Petar Tahchiev

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Petar Tahchiev added a comment - 29/Sep/08 8:32 AM

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

Show
Petar Tahchiev added a comment - 29/Sep/08 8:32 AM Here is the patch for this issue. Please apply and close it.
Hide
Permalink
Dennis Lundberg added a comment - 02/Nov/08 4:43 PM

Patch applied in r709972. Thanks!

Show
Dennis Lundberg added a comment - 02/Nov/08 4:43 PM Patch applied in r709972. Thanks!

People

  • Assignee:
    Dennis Lundberg
    Reporter:
    Andrew Hughes
Vote (0)
Watch (1)

Dates

  • Created:
    13/Apr/08 11:15 PM
    Updated:
    02/Nov/08 4:43 PM
    Resolved:
    02/Nov/08 4:43 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.