<assembly>
	<id>dist</id>
	<formats>
		<format>zip</format>
		<format>tar.gz</format>
	</formats>
	<fileSets>
		<!-- Module POMs -->
		<fileSet>
			<directory>logback-core/</directory>
			<outputDirectory>logback-core/</outputDirectory>
			<includes>
				<include>
					pom.xml
				</include>
			</includes>
			<excludes>
				<exclude>*.bak</exclude>
			</excludes>
		</fileSet>
    <fileSet>
      <directory>logback-classic/</directory>
			<outputDirectory>logback-classic/</outputDirectory>
			<includes>
				<include>pom.xml</include>
				<include>osgi-build.xml</include>
				<include>integration.xml</include>
			</includes>
			<excludes>
				<exclude>*.bak</exclude>
			</excludes>
		</fileSet>
		<fileSet>
			<directory>logback-access/</directory>
			<outputDirectory>logback-access/</outputDirectory>
			<includes>
				<include>
					pom.xml
				</include>
			</includes>
			<excludes>
				<exclude>*.bak</exclude>
			</excludes>
		</fileSet>
		<fileSet>
			<directory>logback-examples/</directory>
			<outputDirectory>logback-examples/</outputDirectory>
			<includes>
				<include>
					pom.xml
				</include>
			</includes>
			<excludes>
				<exclude>*.bak</exclude>
			</excludes>
		</fileSet>
		<fileSet>
			<directory>logback-site/</directory>
			<outputDirectory>logback-site/</outputDirectory>
			<includes>
				<include>
					pom.xml
				</include>
			</includes>
			<excludes>
				<exclude>*.bak</exclude>
			</excludes>
		</fileSet>
		<!-- Module Source directories -->
		<fileSet>
			<directory>logback-core/src/</directory>
			<outputDirectory>logback-core/src/</outputDirectory>
			<excludes>
				<exclude>
					test/output/
				</exclude>
			</excludes>
		</fileSet>
		<fileSet>
			<directory>logback-classic/src/</directory>
			<outputDirectory>logback-classic/src/</outputDirectory>
		</fileSet>
		<fileSet>
			<directory>logback-access/src/</directory>
			<outputDirectory>logback-access/src/</outputDirectory>
		</fileSet>
		<fileSet>
			<directory>logback-examples/src/</directory>
			<outputDirectory>logback-examples/src/</outputDirectory>
			<excludes>
				<exclude>
					main/resources/
				</exclude>
			</excludes>
		</fileSet>
		<!--fileSet>
			<directory>logback-examples/src/main/resources</directory>
			<outputDirectory>logback-examples/</outputDirectory>
		</fileSet -->
		<fileSet>
			<directory>logback-site/src/</directory>
			<outputDirectory>logback-site/src/</outputDirectory>
		</fileSet>
		<!-- We also include the classes of the examples module -->
		<fileSet>
			<directory>logback-examples/target/</directory>
			<outputDirectory>logback-examples/</outputDirectory>
      <includes>
				<include>logback-examples-${project.version}.jar</include>
      </includes>
		</fileSet>
		<fileSet>
			<directory>logback-examples/lib/</directory>
			<outputDirectory>logback-examples/lib</outputDirectory>
		</fileSet>
		<fileSet>
			<directory>logback-examples/target/classes</directory>
			<outputDirectory>logback-examples/</outputDirectory>
      <includes>
				<include>setClasspath.sh</include>
				<include>setClasspath.cmd</include>
      </includes>
		</fileSet>
 		
		<!-- Module JARs -->
		<fileSet>
			<directory>logback-core/target/</directory>
			<outputDirectory>/</outputDirectory>
			<includes>
				<include>logback-core-${project.version}.jar</include>
			</includes>
		</fileSet>
		<fileSet>
			<directory>logback-classic/target/</directory>
			<outputDirectory>/</outputDirectory>
			<includes>
				<include>logback-classic-${project.version}.jar</include>
			</includes>
		</fileSet>		
		<fileSet>
			<directory>logback-access/target/</directory>
			<outputDirectory>/</outputDirectory>
			<includes>
				<include>logback-access-${project.version}.jar</include>
			</includes>
		</fileSet>		
		<!-- Module Source JARs -->
		<fileSet>
			<directory>logback-core/target/</directory>
			<outputDirectory>/</outputDirectory>
			<includes>
				<include>logback-core-${project.version}-sources.jar</include>
			</includes>
		</fileSet>
		<fileSet>
			<directory>logback-classic/target/</directory>
			<outputDirectory>/</outputDirectory>
			<includes>
				<include>logback-classic-${project.version}-sources.jar</include>
			</includes>
		</fileSet>		
		<fileSet>
			<directory>logback-access/target/</directory>
			<outputDirectory>/</outputDirectory>
			<includes>
				<include>logback-access-${project.version}-sources.jar</include>
			</includes>
		</fileSet>	

				 
		<!-- Website -->
		<fileSet>
			<directory>target/site</directory>
			<outputDirectory>docs/</outputDirectory>
      <excludes>
        <exclude>dist/*</exclude>
        <exclude>**/apidocs/**</exclude>
        <exclude>**/testapidocs/**</exclude>
        <exclude>**/xref/**</exclude>
        <exclude>**/xref-test/**</exclude>
      </excludes>
		</fileSet>
		
		<!-- Parent files -->
		<fileSet>
			<includes>
				<include>src/</include>
				<include>README*</include>
				<include>LICENSE*</include>
				<include>pom.xml</include>
			</includes>
			<excludes>
				<exclude>*.bak</exclude>
			</excludes>
		</fileSet>
	</fileSets>
	
	<!--
	<dependencySets>
		<dependencySet>
			<outputDirectory>/lib</outputDirectory>
			<unpack>false</unpack>
			<scope>test</scope>
			<excludes>

					There is little documentation on this format.
					It is of the form of DefaultArtifact.getDependencyConflictId()
					which is <groupId>:<artifactId>:<type>:<classifier>
					or we can use the short form (hard coded into assembly) of
					<groupId>:<artifactId>
					This is a String equality match not a pattern match.
				
				<exclude>ch.qos.logback:logback-core</exclude>
				
			</excludes>
		</dependencySet>
	</dependencySets>
	-->
</assembly>