Hi together,
I am building an Jira pluging and try to avoid some resources being copied into final jar file when I use atlas-package.
Basically I want to adopt my pom file so that the following works:
- atlas-run uses all files in my resource directory
- atlas-package exludes some files when creating jar file
I tried to exclude file with the following section, but without any success. Excluded files still are contained in my jar file.
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>myfile</exclude>
</excludes>
</resource>
...
</resources>
Would appreciate any hint how to setup my pom file correctly.
Regards
Christoph