You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stéphane Nicoll (JIRA)" <ji...@codehaus.org> on 2012/08/15 17:59:21 UTC

[jira] (MEAR-151) Allow empty library-directory element in application.xml

     [ https://jira.codehaus.org/browse/MEAR-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stéphane Nicoll updated MEAR-151:
---------------------------------

    Fix Version/s: 2.8
    
> 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
>             Fix For: 2.8
>
>
> 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