<assembly>
  <id>src</id>
  <formats>
    <format>jar</format>
  </formats>
  <includeBaseDirectory>true</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <directory>${project.basedir}</directory>
      <outputDirectory>/</outputDirectory>
      <excludes>
        <exclude>**/*.log</exclude>
        <exclude>%regex[(?!((?!target/)[^/]+/)*src/).*target.*]</exclude>
      </excludes>
    </fileSet>
  </fileSets>
</assembly>
