<assembly>
  <id>bin</id>
  <formats>
    <format>zip</format>
    <format>tar.gz</format>
  </formats>
  <fileSets>
    <fileSet>
      <includes>
        <include>README*</include>
        <include>LICENSE*</include>
        <include>NOTICE*</include>
        <include>JBossORG-EULA.txt</include>
        <include>lgpl.txt</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>target/dist</directory>
      <outputDirectory>lib</outputDirectory>
      <includes>
        <include>*.jar</include>
      </includes>
      <excludes>
        <exclude>*-sources.jar</exclude>
        <exclude>*-javadoc.jar</exclude>
        <exclude>*-tlddoc.jar</exclude>
      </excludes>
    </fileSet>
    <fileSet>
      <directory>target/apidocs</directory>
      <outputDirectory>apidocs</outputDirectory>
      <excludes>
        <exclude>**/META-INF</exclude>
      </excludes>
    </fileSet>
    <fileSet>
      <directory>target/tlddoc</directory>
      <outputDirectory>tlddoc</outputDirectory>
    </fileSet>
    <fileSet>
      <directory>target/docs</directory>
      <outputDirectory>docs</outputDirectory>
    </fileSet>
  </fileSets>
  <dependencySets>
    <dependencySet>
      <outputDirectory>/lib</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
      <includes>
          <include>org.richfaces.framework:richfaces-api</include>
          <include>org.richfaces.framework:richfaces-impl</include>
          <include>org.richfaces.framework:richfaces-test</include>
      </includes>
      <excludes>
        <exclude>junit:junit</exclude>
        <exclude>*:xml-apis</exclude>
      </excludes>
    </dependencySet>
  </dependencySets>
 </assembly>