You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Barend Garvelink (JIRA)" <ji...@codehaus.org> on 2008/04/04 14:49:58 UTC

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

    [ http://jira.codehaus.org/browse/MNG-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129797#action_129797 ] 

Barend Garvelink commented on MNG-3238:
---------------------------------------

Could this be related to MNG-3269?

> property not resolved in <dependency><optional> for war projects
> ----------------------------------------------------------------
>
>                 Key: MNG-3238
>                 URL: http://jira.codehaus.org/browse/MNG-3238
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>            Reporter: Jerome Lacoste
>             Fix For: 2.0.x
>
>         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