[ https://jira.codehaus.org/browse/MEAR-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=300555#comment-300555 ]
Peter H commented on MEAR-151: ------------------------------ related to MEAR-78 > Allow empty library-directory element in application.xml > -------------------------------------------------------- > > Key: MEAR-151 > URL: https://jira.codehaus.org/browse/MEAR-151 > Project: Maven 2.x Ear Plugin > Issue Type: Bug > Affects Versions: 2.7 > Reporter: Peter H > > Currently it's only possible to add the library-directory element into the > application.xml if it's supposed to contain some value. > However it's allowed to use the empty element to disable the related > functionality: > http://java.sun.com/xml/ns/javaee/application_6.xsd > The library-directory element specifies the pathname > of a directory within the application package, relative > to the top level of the application package. All files > named "*.jar" in this directory must be made available > in the class path of all components included in this > application package. If this element isn't specified, > the directory named "lib" is searched. *An* *empty* *element* > *may* *be* *used* *to* *disable* *searching*. > That's exactly what we need, so please allow the empty library-directory in > application.xml, the simple form <library-directory/> would be the preferred > one. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira