You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2009/12/30 20:17:56 UTC

[jira] Closed: (MNG-3238) property not resolved in for war projects

     [ http://jira.codehaus.org/browse/MNG-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-3238.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.2.x)

> property not resolved in <dependency><optional> for war projects
> ----------------------------------------------------------------
>
>                 Key: MNG-3238
>                 URL: http://jira.codehaus.org/browse/MNG-3238
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: POM
>            Reporter: Jerome Lacoste
>         Attachments: optional-properties-taken-from-pom.tar
>
>
> I am trying to make some sort of custom skinny war files without having to use profiles which tend to be very verbose.
> So I am using <optional>true</optional> to make those dependencies not being packaged.
> In order to make this conditional, I tried to use a <property> to define the default value, which I can override in the command line.
> This doesn't work. See attached test case.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira