
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
  <id>distr</id>
  
  <includeBaseDirectory>false</includeBaseDirectory>
  <includeSiteDirectory>false</includeSiteDirectory>

  <formats>
    <format>tar.gz</format>
  </formats>
  <fileSets>
    <fileSet>
      <directory>${project.basedir}</directory>
      <outputDirectory>/project</outputDirectory>
      <excludes>
        <exclude>target/</exclude>
        <exclude>texts/</exclude>
        <exclude>nbactions.xml</exclude>
        <exclude>catalog.xml</exclude>
        <exclude>**/.*</exclude>
      </excludes>
    </fileSet>
    <fileSet>
      <outputDirectory>/lib</outputDirectory>
      <directory>${project.basedir}/target</directory>
      <includes>
        <include>${project.build.finalName}.jar</include>
      </includes>
    </fileSet>
    <fileSet>
      <outputDirectory>/lib</outputDirectory>
      <directory>${project.basedir}</directory>
      <includes>
        <include>pom.xml</include>
      </includes>
    </fileSet>
    <fileSet>
      <outputDirectory>/</outputDirectory>
      <directory>${basedir}/texts</directory>
      <includes>
        <include>*.*</include>
      </includes>
    </fileSet>
  </fileSets>
</assembly>