[ http://jira.codehaus.org/browse/MNG-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3238: ------------------------------ Fix Version/s: 2.0.x check for bug - but is this better achieved with profiles? > 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