File corrupted after antrun

146 Views Asked by At

I'm having a problem with my pom file, I need filtering option to be on, but I want to exclude this option on mp3 files which are placed in resource folder. Right now after antrun command files are corrupted and unplayable. I've done something like this:

<resources>
  <resource>
    <directory>src/main/resources</directory>
      <filtering>true</filtering>
  </resource>
  <resource>
    <directory>src/main/resources/sounds</directory>
    <excludes>
       <exclude>**/*.mp3</exclude>
    </excludes>
  </resource>
</resources>

any ideas?

0

There are 0 best solutions below