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

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

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

Vincent Massol updated MNG-2201:
--------------------------------

       Priority: Blocker  (was: Major)
    Description: 
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.


  was:
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:

  <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>
[...]

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.



> 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.4
>     Reporter: Vincent Massol
>     Priority: Blocker

>
>
> 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