How to set maven assembly.xml fileSet separately

  Kiến thức lập trình

I want to put start.sh in tar.gz and start.bat in zip.
What part of assemply.xml below should I change?

<formats>
    <format>zip</format>
    <format>tar.gz</format>
</formats>

<fileSets>
 <fileSet>
   <directory>${basedir}</directory>
   <includes>
     <include>start.sh</include>
   </includes>
 </fileSet>
</fileSets>

LEAVE A COMMENT