<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>src</id>
    <formats>
      <format>zip</format>
      <format>tar.gz</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>

    <moduleSets>
      <moduleSet>
	<includes>
	  <include>org.apache.jdo:parent-pom</include>
	</includes>
	<sources>
	  <includeModuleDirectory>false</includeModuleDirectory>
	  <fileSets>
	    <fileSet>
	      <outputDirectory>parent-pom</outputDirectory>
	      <includes>
		<include>pom.xml</include>
	      </includes>
	    </fileSet>
	  </fileSets>
	</sources>
      </moduleSet>
      <moduleSet>
	<includes>
	  <include>javax.jdo:jdo-api</include>
	</includes>
	<sources>
	  <includeModuleDirectory>false</includeModuleDirectory>
	  <fileSets>
	    <fileSet>
	      <outputDirectory>api</outputDirectory>
	      <includes>
		<include>src/**</include>
		<include>test/**</include>
		<include>pom.xml</include>
	      </includes>
	    </fileSet>
	  </fileSets>
	</sources>
      </moduleSet>
      <moduleSet>
	<includes>
	  <include>org.apache.jdo:jdo-exectck</include>
	</includes>
	<sources>
	  <includeModuleDirectory>false</includeModuleDirectory>
	  <fileSets>
	    <fileSet>
	      <outputDirectory>exectck</outputDirectory>
	      <includes>
		<include>src/**</include>
		<include>pom.xml</include>
	      </includes>
	    </fileSet>
	  </fileSets>
	</sources>
      </moduleSet>
      <moduleSet>
	<includes>
	  <include>org.apache.jdo:copy-jdori-jars</include>
	</includes>
	<sources>
	  <includeModuleDirectory>false</includeModuleDirectory>
	  <fileSets>
	    <fileSet>
	      <outputDirectory>copyjdorijars</outputDirectory>
	      <includes>
		<include>src/**</include>
		<include>pom.xml</include>
	      </includes>
	    </fileSet>
	  </fileSets>
	</sources>
      </moduleSet>
      <moduleSet>
	<includes>
	  <include>org.apache.jdo:jdo-tck</include>
	</includes>
	<sources>
	  <includeModuleDirectory>false</includeModuleDirectory>
	  <fileSets>
	    <fileSet>
	      <outputDirectory>tck</outputDirectory>
	      <includes>
		<include>src/**</include>
		<include>pom.xml</include>
		<include>RunRules.html</include>
	      </includes>
	    </fileSet>
	  </fileSets>
	</sources>
      </moduleSet>
    </moduleSets>
    <fileSets>
      <fileSet>
	<outputDirectory>.</outputDirectory>
	<includes>
	  <include>LICENSE.txt</include>
	  <include>NOTICE.txt</include>
	  <include>README.html</include>
	  <include>assembly.xml</include>
	  <include>pom.xml</include>
	  <include>lib/ext</include>
	  <include>lib/iut</include>
	  <include>lib/jdori</include>
	</includes>
      </fileSet>
    </fileSets>

</assembly>
