The following configuration generates descriptor that contains ‘library-directory’ element, which is not defined by XSD for J2EE 1.4:
version = “1.4”
displayName = project.name
If I omit libDirName, then libraries are put into ‘lib’ folder, not into ‘APP-INF/lib’ as required by WebLogic to which I deploy the EAR.
I’m trying to use withXml to fix, but in any case it seems that this behaviour is a bug since it generates an invalid descriptor.