You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Kenney Westerhof <ke...@apache.org> on 2007/06/03 13:16:13 UTC

Re: Plugin parameter missing


Hi,

Timothy Reilly wrote:
> I'm not sure how to tell what happened, or if this is intended behavior / keywords in plugin parameters?
>  
>  
> Within my FoobarMojo I declare:
>  
> /**
> *  @parameter expression="${ws.config.root" default-value="${was.home}/config"

                                            ^ missing } here

> */
>  
> protected String wsConfigRoot
>  
> And when I run mvn -X FoobarMojo:compile  .. I do not see the DEBUG (f) wasConfigRoot = XYZ it seems to be missing. But, by changing the parameter to .dir instead of .root .....
>  
> /**
> *  @parameter expression="${ws.config.dir}" default-value="${was.home}/config"
> */
> protected String wsConfigDir
>  
>  
> Everything is okay.
>  
> DEBUG (f) wasConfigDir = XYZ
>  
> Is root is a reserved parameter name?

Nope, see typo above.

-- Kenney

>  
> TIA
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org