<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
   <id>packaging</id>
   <includeBaseDirectory>false</includeBaseDirectory>
   <formats>
     <format>zip</format>
   </formats>
   <dependencySets>
     <dependencySet>
       <outputDirectory>webapps</outputDirectory>
       <includes>
         <include>org.exoplatform.addons.onlyoffice:exo-onlyoffice-editor-webapp:war</include>
       </includes>
       <outputFileNameMapping>onlyoffice.war</outputFileNameMapping>
       <scope>provided</scope>
       <fileMode>0644</fileMode>
     </dependencySet>
     <dependencySet>
       <!-- Dependencies for deployment to Platform 4 instance -->
       <outputDirectory>lib</outputDirectory>
       <useTransitiveDependencies>true</useTransitiveDependencies>
       <includes>
         <include>org.exoplatform.addons.onlyoffice:exo-onlyoffice-editor-*:jar</include>
       </includes>
       <scope>provided</scope>
       <fileMode>0644</fileMode>
       <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
     </dependencySet>
   </dependencySets>
</assembly>
