Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-308

Syntax Problem in Example Doco

    XMLWordPrintableJSON

Details

    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>
      

      Attachments

        1. massembly308.patch
          0.5 kB
          Petar Tahchiev

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            ahughes Art Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: