You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/04/13 07:21:44 UTC

[jira] Updated: (MNG-299) ${basedir} is not interpolated when passed to the plugins

     [ http://jira.codehaus.org/browse/MNG-299?page=history ]

Brett Porter updated MNG-299:
-----------------------------

    Fix Version: 2.0-alpha-2

> ${basedir} is not interpolated when passed to the plugins
> ---------------------------------------------------------
>
>          Key: MNG-299
>          URL: http://jira.codehaus.org/browse/MNG-299
>      Project: m2
>         Type: Bug
>   Components: maven-plugin
>     Versions: 2.0-alpha-1
>     Reporter: Vincent Massol
>      Fix For: 2.0-alpha-2

>
>
> From mailing list:
> "
> Ideally configuration would be declared as a file, in which case it is resolved to the basedir. But that's obviously not possible with generic types like properties.
> It seems that we need to amalgamate the expression handling the model interpolator, and the expression hangling in the plugin expression evaluator, and make sure both will substitute "basedir" when found. At the moment, only ${project.*} variables are being interpolated.
> - Brett
> Vincent Massol wrote:
> >Hi,
> >
> >I have modified the surefire plugin to accept system properties. 
> >
> >However when I use the new configuration in my project it works if I 
> >use http://rafb.net/paste/results/qVjiw978.html works but fails with 
> >http://rafb.net/paste/results/LuSmSw40.html (the difference is that in 
> >the second URL I use ${basedir}).
> >
> >I've printed the propery value that gets set in the surefire plugin and 
> >I can see that ${basedir} is not expanded before it is handed over to 
> >the plugin. Is that normal behavior?
> >
> >Note that the reason I wanted to use ${basedir} is because without it 
> >my module builds fine but it fails when built by the parent project 
> >(because the resources dir is not correctly set).
> >
> >Any idea?
> >
> >Thanks
> >-Vincent
> "

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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