<!--

    Copyright (C) 2009 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
  <id>binary</id>
  <formats>
    <format>jar</format>
  </formats>
   <includeBaseDirectory>false</includeBaseDirectory>
   <dependencySets>
      <dependencySet>
         <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
         <outputDirectory>/</outputDirectory>
         <unpack>true</unpack>
         <useProjectArtifact>false</useProjectArtifact>
         <scope>compile</scope>
         <useTransitiveDependencies>false</useTransitiveDependencies>        
      </dependencySet>
      <dependencySet>
         <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
         <outputDirectory>/</outputDirectory>
         <unpack>true</unpack>
         <scope>test</scope>
         <includes>
             <include>org.slf4j:slf4j-log4j12</include>
         </includes>
         <useTransitiveDependencies>false</useTransitiveDependencies>
      </dependencySet>
      <dependencySet>
         <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
         <outputDirectory>/</outputDirectory>
         <unpack>true</unpack>
         <!-- useTransitiveDependencies>true</useTransitiveDependencies -->
         <!-- useTransitiveFiltering>true</useTransitiveFiltering -->
         <includes>
           <!--  eXo Deserializer deps -->
           <include>picocontainer:picocontainer</include>
           <!--  eXo logging deps -->
           <include>org.slf4j:*</include>
           <include>log4j:log4j</include>
           <include>commons-logging:commons-logging</include>
           <!-- runtime deps of exo.ws.commons -->
           <include>javax.xml.stream:stax-api</include>
           <include>xpp3:xpp3</include>
        </includes>
     </dependencySet> 
  </dependencySets>
  <fileSets>
    <fileSet>
      <directory>${basedir}/src/main/resources</directory>
      <outputDirectory>/</outputDirectory>
    </fileSet>
  </fileSets>
</assembly>
