On Wed, 2004-01-14 at 17:55, Gilles Dodinet wrote:
> Ebersole, Steven wrote:
> 
> > actually, my bad.  it does not work.  it is maven.build.dest that works, not 
> > maven.test.dest
> 
> 
> heres my understanding of it, i may be wrong - correct me if am :
> 
> maven.build.dest should always be available (core behavorial property), 
> maven.test.dest is being made available by the test plugin,
> so to look it up we have to use the context of the test plugin.. 
> however, if specified in build.properties, this late property becomes
> always available. the few tests ive just made tend to confirm it (using 
> both ${maven.test.dest} and ${pom.getPluginContext...) and
> <j:set xmlns:mytest="test" var="testDestProp" 
> value="${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.dest')}"/>
> does work just fine for me, returning the expected result.

There is also the relatively new pluginVar tag to help with this:

<maven:pluginVar 
  var="varName" 
  plugin="maven-test-plugin" 
  property="maven.test.dest"/>


> 
> -- gd
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to