maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Updated: (MNG-299) ${basedir} is not interpolated when passed to the plugins
Date Wed, 13 Apr 2005 05:21:44 GMT
     [ ]

Brett Porter updated MNG-299:

    Fix Version: 2.0-alpha-2

> ${basedir} is not interpolated when passed to the plugins
> ---------------------------------------------------------
>          Key: MNG-299
>          URL:
>      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 works but fails with 
> > (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:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message