You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2006/04/04 22:38:49 UTC

[jira] Closed: (MNG-2201) Interpolation problem when using surefire

     [ http://jira.codehaus.org/browse/MNG-2201?page=all ]
     
John Casey closed MNG-2201:
---------------------------

    Resolution: Fixed

fixing for 2.0.5, since this requires a new release of plexus-container-default.

The problem is in the handling of parameters of type java.util.Properties. The PropertiesConverter (used in plexus to coerce DOMs into Properties instances) doesn't use the expression evaluator on the values. I've fixed this in SVN, but the newest version of p-c-d could introduce significant risks into the 2.0.4 release of Maven, which is meant to be as quick as possible, to correct two glaring regressions.

> Interpolation problem when using surefire
> -----------------------------------------
>
>          Key: MNG-2201
>          URL: http://jira.codehaus.org/browse/MNG-2201
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4
>     Reporter: Vincent Massol
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0.5

>
> Original Estimate: 4 hours
>         Remaining: 4 hours
>
> I've just tried the cargo build with the latest trunk versions of 2.0.4-SNAPSHOT and surefire plugin, and it seems there's some interpolation issue (I don't know if the problem is with the surefire plugin or with maven core).
> Here's what I have:
> {code:xml}
>   <build>
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <artifactId>maven-surefire-plugin</artifactId>
>           <configuration>
>             <forkMode>pertest</forkMode>
>             <systemProperties>
>               [...]
>               <property>
>                 <name>cargo.target.dir</name>
>                 <value>${project.build.directory}</value>
>               </property>
> [...]
> {code}
> It seems the ${project.build.directory} property is no longer getting resolved as I got a directory named ${project.build.directory} created.
> It used to work fine before.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira