maven-dev mailing list archives

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


Mime
View raw message