What are the differences between these two maven resource definitions?



Could somebody explain me the differences between these two Resource definitions? Why the jar files are excluded but in the second resource included? I dont understand these two declarartions:



<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>**/*.jar</exclude>
<exclude>myDummyPath/war/l10n/*.*</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
</resources>

No comments:

Post a Comment