The Axis 2 bin-assembly.xml source code
<assembly>
<id>bin
<includeBaseDirectory>true
<baseDirectory>axis2-${version}
<formats>
<!-- //uncomment,if tar.gz archive needed-->
<format>zip
</formats>
<fileSets>
<!--********************** creating the repository ********************** -->
<fileSet>
<directory>target/tmp-repository
<outputDirectory>repository
<includes>
<include>**/*
</includes>
</fileSet>
<!--********************** creating the bin ********************** -->
<!-- Copy bin scripts -->
<fileSet>
<directory>../../modules/tool/script
<outputDirectory>bin
<includes>
<include>*
</includes>
</fileSet>
<!--********************** creating the conf ********************** -->
<!-- copy the axis2.xml into conf directoy -->
<fileSet>
<directory>../../modules/kernel/conf
<outputDirectory>conf
<includes>
<include>axis2.xml
</includes>
</fileSet>
<!--********************** creating the webappp ********************** -->
<!-- copy the web.xml into webapp/WEB-INF directory -->
<fileSet>
<directory>../../modules/webapp/conf
<outputDirectory>webapp/WEB-INF
<includes>
<include>web.xml
</includes>
</fileSet>
<!-- copy the build.xml into webapp directory -->
<fileSet>
<directory>../../modules/webapp/scripts
<outputDirectory>webapp
<includes>
<include>build.xml
</includes>
</fileSet>
<!-- copy *.properties to webapp/WEB-INF/classes directory -->
<fileSet>
<directory>../../modules/kernel/conf
<outputDirectory>webapp/WEB-INF/classes
<includes>
<include>*.properties
</includes>
</fileSet>
<!-- copy contents of the webapp module -->
<fileSet>
<directory>../../modules/webapp/src/main/webapp
<outputDirectory>webapp
<excludes>
<exclude>project.xml
<exclude>**/*.iml
<exclude>**/.*
<exclude>**/conf/**
<exclude>**/scripts/**
</excludes>
</fileSet>
<fileSet>
<directory>../../modules/webapp/src/main/webapp
<outputDirectory>webapp
<excludes>
<exclude>project.xml
<exclude>**/*.iml
<exclude>**/.*
<exclude>**/conf/**
<exclude>**/scripts/**
</excludes>
</fileSet>
<fileSet>
<directory>../../modules/java2wsdl/target
<outputDirectory>lib
<includes>
<include>axis2-java2wsdl-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/kernel/target
<outputDirectory>lib
<includes>
<include>axis2-kernel-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/adb/target
<outputDirectory>lib
<includes>
<include>axis2-adb-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/codegen/target
<outputDirectory>lib
<includes>
<include>axis2-codegen-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/adb-codegen/target
<outputDirectory>lib
<includes>
<include>axis2-adb-codegen-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/xmlbeans/target
<outputDirectory>lib
<includes>
<include>axis2-xmlbeans-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/jibx/target
<outputDirectory>lib
<includes>
<include>axis2-jibx-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/json/target
<outputDirectory>lib
<includes>
<include>axis2-json-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/tool/target
<outputDirectory>lib
<includes>
<include>axis2-tools-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/spring/target
<outputDirectory>lib
<includes>
<include>axis2-spring-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/soapmonitor/target
<outputDirectory>lib
<includes>
<include>soapmonitor-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/fastinfoset/target
<outputDirectory>lib
<includes>
<include>axis2-fastinfoset-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/jaxbri/target
<outputDirectory>lib
<includes>
<include>axis2-jaxbri-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/jaxws/target
<outputDirectory>lib
<includes>
<include>axis2-jaxws-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/jaxws-api/target
<outputDirectory>lib
<includes>
<include>axis2-jaxws-api-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/jws-api/target
<outputDirectory>lib
<includes>
<include>axis2-jws-api-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/metadata/target
<outputDirectory>lib
<includes>
<include>axis2-metadata-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/clustering/target
<outputDirectory>lib
<includes>
<include>axis2-clustering-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/saaj/target
<outputDirectory>lib
<includes>
<include>axis2-saaj-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/saaj-api/target
<outputDirectory>lib
<includes>
<include>axis2-saaj-api-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/xmlbeans/target
<outputDirectory>lib
<includes>
<include>axis2-xmlbeans-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/tool/axis2-ant-plugin/target
<outputDirectory>lib
<includes>
<include>axis2-ant-plugin-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/mex/target
<outputDirectory>lib
<includes>
<include>mex-impl-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../modules/mtompolicy/target
<outputDirectory>lib
<includes>
<include>axis2-mtompolicy-${version}.jar
</includes>
</fileSet>
<fileSet>
<directory>../../legal
<outputDirectory>lib
<includes>
<include>**/*.txt
</includes>
</fileSet>
<!-- TODO: Need to rename this file to INSTALL.txt -->
<fileSet>
<directory>target/tmp-doc-distro/docs
<outputDirectory>
<includes>
<include>installation-std-bin.txt
</includes>
</fileSet>
<fileSet>
<directory>../../modules/kernel/conf
<outputDirectory>
<includes>
<include>log4j.properties
<include>commons-logging.properties
</includes>
</fileSet>
<fileSet>
<directory>target/tmp-doc-distro/docs
<outputDirectory>
<includes>
<include>LICENSE.txt
<include>NOTICE.txt
<include>README.txt
<include>release-notes.html
</includes>
</fileSet>
<!-- copy samples -->
<fileSet>
<directory>../../modules/samples
<outputDirectory>samples
<includes>
<include>databinding/**/*
<include>faulthandling/**/*
<include>jaxws-calculator/**/*
<include>mtom/**/*
<include>pojo/**/*
<include>pojoguide/**/*
<include>pojoguidespring/**/*
<include>quickstart/**/*
<include>quickstartadb/**/*
<include>quickstartaxiom/**/*
<include>quickstartjibx/**/*
<include>quickstartxmlbeans/**/*
<include>servicelifecycle/**/*
<include>soapwithattachments/**/*
<include>userguide/**/*
<include>version/**/*
<include>wsdl/**/*
<include>yahoojsonsearch/**/*
<include>yahoorestsearch/**/*
</includes>
<excludes>
<exclude>**/*.iml
</excludes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>lib
<excludes>
<exclude>mx4j:mx4j-jmx:jar
<exclude>mx4j:mx4j-impl:jar
<exclude>mx4j:mx4j-remote:jar
<exclude>mx4j:mx4j-tools:jar
<exclude>mx4j:mx4j:jar
<exclude>rome:rome:jar
<exclude>org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar
<exclude>org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar
<exclude>org.apache.geronimo.specs:geronimo-j2ee-jacc_1.0_spec:jar
<exclude>org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar
<exclude>org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar
<exclude>org.apache.geronimo.specs:geronimo-jsp_2.0_spec:jar
<exclude>org.apache.activemq:activemq-console:jar
<exclude>org.apache.activemq:activemq-core:jar
<exclude>org.apache.activemq:activemq-jaas:jar
<exclude>org.apache.activemq:activemq-optional:jar
<exclude>org.apache.activemq:activemq-optional:jar
<exclude>org.apache.activemq:activemq-web:jar
<exclude>org.apache.activemq:activemq-web-demo:war
<exclude>xstream:xstream:jar
<exclude>xom:xom:jar
<exclude>xmlpull:xmlpull:jar
<exclude>xerces:xmlParserAPIs:jar
<exclude>org.apache.xbean:xbean-spring:jar
<!--
<exclude>org.apache.tomcat:tribes:jar
-->
<exclude>org.springframework:spring:jar
<exclude>org.springframework:spring-beans:jar
<exclude>org.springframework:spring-context:jar
<exclude>org.springframework:spring-core:jar
<exclude>org.springframework:spring-web:jar
<exclude>logkit:logkit:jar
<!--
<exclude>org.apache.tomcat:juli:jar
-->
<exclude>javax.xml.bind:jsr173_api:jar
<exclude>jrms:jrms:jar
<exclude>activemq:jmdns:jar
<exclude>org.mortbay.jetty:jetty:jar
<exclude>org.mortbay.jetty:jetty-util:jar
<exclude>jdom:jdom:jar
<exclude>jakarta-regexp:jakarta-regexp:jar
<exclude>com.ibm.icu:icu4j:jar
<exclude>org.apache.bcel:bcel:jar
<exclude>org.apache.activemq:activeio-core:jar
<exclude>org.apache.ant:ant:jar
<exclude>org.apache.ant:ant-launcher:jar
<exclude>aopalliance:aopalliance:jar
<exclude>org.apache.activemq:apache-activemq:jar
<exclude>avalon-framework:avalon-framework:jar
<exclude>axis:axis:jar
<exclude>bsf:bsf:jar
<exclude>commons-beanutils:commons-beanutils:jar
<exclude>commons-collections:commons-collections:jar
<exclude>commons-pool:commons-pool:jar
<exclude>dom4j:dom4j:jar
<exclude>com.sun.xml.fastinfoset:FastInfoset:jar
<exclude>activesoap:jaxp-api:jar
<exclude>rhino:js:jar
<exclude>junit:junit:jar
<exclude>javax.servlet:servlet-api
<exclude>org.mortbay.jetty:servlet-api-2.5:jar:6.0.1
</excludes>
</dependencySet>
</dependencySets>
</assembly>
Other Axis 2 examples (source code examples)
Here is a short list of links related to this Axis 2 bin-assembly.xml source code file: