In the class WarPackageMojo:
1. The expression of parameters "libDirectory" and "scriptsDirectory" is the same
2. The parameter useArtifactId has no expression
3. Plugin crashes if do not exists "src/main/javascript" directory (war-package goal), if you only want to copy javascript dependencies the javascript directory is not useful.
(Patch attached)