Вы, вероятно, хотите использовать некоторую кодировку символов Unicode, например UTF-8 и htmlspecialchars. Поскольку нет никакой потребность генерировать "объекты HTML" для "всех применимых символов" (именно это htmlentities делает согласно документации), если это уже находится в Вашем наборе символов.
I see you are using a custom assembly descriptor. But the plugin's documentation page has this to say about the
element:
At this point, only the jar assembly format supports the
configuration element. By definition, directory-based assembly mojos - assembly:directory, assembly:directory-inline, and assembly:directory-single - do not produce a jar-format archive, and therefore do not support the
element.