У меня следующая синтаксическая проблема.
У меня есть файл jar, созданный из других распакованных файлов jar.
Я пытаюсь исключить какой-либо пакет из нового файла JAR.
Вот мой дескриптор сборки
<assembly>
<id>gs-jar</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<unpack>true</unpack>
<scope>runtime</scope>
<includes>
<include>com.delver:shci-commons</include>
<include>com.delver:shci-model</include>
<include>com.delver:gigaspaces-persistence</include>
<include>com.delver:gigaspaces-mirror</include>
<include>com.delver:recommendation</include>
</includes>
<unpackOptions>
<excludes>
<exclude>
Ohio.Model*
</exclude>
<exclude>log4j.properties</exclude>
<exclude>gslicense.xml</exclude>
</excludes>
</unpackOptions>
</dependencySet>
</dependencySets>
</assembly>
Как вы видите, я пытаюсь исключить пакет, который начинается с Ohio.Model, но все равно каким-то образом он включается.
Что-то не так с синтаксисом?