The source.xml Java example source code
<assembly>
<id>dist
<formats>
<format>zip
<format>tar.gz
</formats>
<fileSets>
<!-- Module POMs -->
<fileSet>
<directory>slf4j-api/
<outputDirectory>slf4j-api/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-jcl/
<outputDirectory>slf4j-jcl/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-jdk14/
<outputDirectory>slf4j-jdk14/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-log4j12/
<outputDirectory>slf4j-log4j12/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-nop/
<outputDirectory>slf4j-nop/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-simple/
<outputDirectory>slf4j-simple/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-android/
<outputDirectory>slf4j-android/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-ext/
<outputDirectory>slf4j-ext/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>jcl104-over-slf4j/
<outputDirectory>jcl104-over-slf4j/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>jcl-over-slf4j/
<outputDirectory>jcl-over-slf4j/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>jul-to-slf4j/
<outputDirectory>jul-to-slf4j/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>log4j-over-slf4j/
<outputDirectory>log4j-over-slf4j/
<includes>pom.xml
</fileSet>
<fileSet>
<directory>osgi-over-slf4j/
<outputDirectory>osgi-over-slf4j/
<includes>pom.xml
</fileSet>
<fileSet>
<directory>slf4j-site/
<outputDirectory>slf4j-site/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>slf4j-migrator/
<outputDirectory>slf4j-migrator/
<includes>
<include>pom.xml
</includes>
</fileSet>
<fileSet>
<directory>integration/
<outputDirectory>integration/
<includes>
<include>pom.xml
<include>build.xml
<include>osgi-build.xml
<include>lib/*
</includes>
</fileSet>
<!-- Module Source directories (includes tests) -->
<fileSet>
<directory>slf4j-api/src/
<outputDirectory>slf4j-api/src/
<excludes>
<exclude>test/output/
</excludes>
</fileSet>
<fileSet>
<directory>slf4j-jcl/src/
<outputDirectory>slf4j-jcl/src/
</fileSet>
<fileSet>
<directory>slf4j-jdk14/src/
<outputDirectory>slf4j-jdk14/src/
</fileSet>
<fileSet>
<directory>slf4j-log4j12/src/
<outputDirectory>slf4j-log4j12/src/
</fileSet>
<fileSet>
<directory>slf4j-nop/src/
<outputDirectory>slf4j-nop/src/
</fileSet>
<fileSet>
<directory>slf4j-simple/src/
<outputDirectory>slf4j-simple/src/
</fileSet>
<fileSet>
<directory>slf4j-android/src/
<outputDirectory>slf4j-android/src/
</fileSet>
<fileSet>
<directory>slf4j-ext/src/
<outputDirectory>slf4j-ext/src/
</fileSet>
<fileSet>
<directory>jcl-over-slf4j/src/
<outputDirectory>jcl-over-slf4j/src/
</fileSet>
<fileSet>
<directory>jul-to-slf4j/src/
<outputDirectory>jul-to-slf4j/src/
</fileSet>
<fileSet>
<directory>log4j-over-slf4j/src/
<outputDirectory>log4j-over-slf4j/src/
</fileSet>
<fileSet>
<directory>osgi-over-slf4j/src/
<outputDirectory>osgi-over-slf4j/src/
</fileSet>
<fileSet>
<directory>slf4j-site/src/
<outputDirectory>slf4j-site/src/
</fileSet>
<fileSet>
<directory>slf4j-migrator/src/
<outputDirectory>slf4j-migrator/src/
</fileSet>
<fileSet>
<directory>integration/src/
<outputDirectory>integration/src/
</fileSet>
<!-- Module JARs -->
<fileSet>
<directory>slf4j-api/target/
<outputDirectory>/
<includes>
<include>slf4j-api-${project.version}-sources.jar
<include>slf4j-api-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-jcl/target/
<outputDirectory>/
<includes>
<include>slf4j-jcl-${project.version}.jar
<include>slf4j-jcl-${project.version}-sources.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-jdk14/target/
<outputDirectory>/
<includes>
<include>slf4j-jdk14-${project.version}-sources.jar
<include>slf4j-jdk14-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-log4j12/target/
<outputDirectory>/
<includes>
<include>slf4j-log4j12-${project.version}.jar
<include>slf4j-log4j12-${project.version}-sources.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-nop/target/
<outputDirectory>/
<includes>
<include>slf4j-nop-${project.version}.jar
<include>slf4j-nop-${project.version}-sources.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-simple/target/
<outputDirectory>/
<includes>
<include>slf4j-simple-${project.version}-sources*.jar
<include>slf4j-simple-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-android/target/
<outputDirectory>/
<includes>
<include>slf4j-android-${project.version}-sources*.jar
<include>slf4j-android-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-ext/target/
<outputDirectory>/
<includes>
<include>slf4j-ext-${project.version}-sources*.jar
<include>slf4j-ext-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>jcl-over-slf4j/target/
<outputDirectory>/
<includes>
<include>jcl-over-slf4j-${project.version}-sources.jar
<include>jcl-over-slf4j-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>jul-to-slf4j/target/
<outputDirectory>/
<includes>
<include>jul-to-slf4j-${project.version}-sources.jar
<include>jul-to-slf4j-${project.version}.jar
</includes>
</fileSet>
<fileSet>
<directory>log4j-over-slf4j/target/
<outputDirectory>/
<includes>
<include>log4j-over-slf4j-${project.version}.jar
<include>log4j-over-slf4j-${project.version}-sources.jar
</includes>
</fileSet>
<fileSet>
<directory>osgi-over-slf4j/target/
<outputDirectory>/
<includes>
<include>osgi-over-slf4j-${project.version}.jar
<include>osgi-over-slf4j-${project.version}-sources.jar
</includes>
</fileSet>
<fileSet>
<directory>slf4j-migrator/target/
<outputDirectory>/
<includes>
<include>slf4j-migrator-${project.version}.jar
</includes>
</fileSet>
<!-- Website -->
<fileSet>
<directory>target/site
<outputDirectory>/site
<excludes>
<exclude>dist/*
</excludes>
</fileSet>
<!-- Parent files -->
<fileSet>
<includes>
<include>src/
<include>README*
<include>LICENSE*
<include>pom.xml
</includes>
</fileSet>
</fileSets>
</assembly>
Other Java examples (source code examples)
Here is a short list of links related to this Java source.xml source code file: