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:18:48 UTC
[jira] Created: (MNG-2201) Interpolation problem when using
surefire
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
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.
--
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
[jira] Closed: (MNG-2201) Interpolation problem when using surefire
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MNG-2201) Interpolation problem when using surefire
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=all ]
Jason van Zyl closed MNG-2201.
------------------------------
Resolution: Fixed
Proven to be fixed with it0104.
> Interpolation problem when using surefire
> -----------------------------------------
>
> Key: MNG-2201
> URL: http://jira.codehaus.org/browse/MNG-2201
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0, 2.0.1, 2.0.3, 2.0.2, 2.0.4
> Reporter: Vincent Massol
> Assigned To: Jason van Zyl
> Priority: Critical
> Fix For: 2.0.5
>
> Original Estimate: 4 hours
> Remaining Estimate: 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
[jira] Updated: (MNG-2201) Interpolation problem when using
surefire
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=all ]
John Casey updated MNG-2201:
----------------------------
Priority: Critical (was: Blocker)
Assign To: John Casey
Version: 2.0
2.0.1
2.0.2
2.0.3
Fix Version: 2.0.5
Complexity: Expert (was: Intermediate)
Remaining Estimate: 4 hours
Original Estimate: 4 hours
test is it0104.
> 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
[jira] Reopened: (MNG-2201) Interpolation problem when using
surefire
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=all ]
Wendy Smoak reopened MNG-2201:
------------------------------
Re-opening as I'm seeing the same behavior again.
${basedir} works fine, as does ${project.build.finalName}, but if I use ${project.build.directory}, it is not expanded.
In http://svn.apache.org/repos/asf/shale/framework/trunk/shale-apps/shale-usecases/pom.xml if I change to:
{noformat}
<property>
<name>cargo.deployable</name>
<value>${project.build.directory}/${artifactId}.war</value>
</property>
{noformat}
It results in
[INFO] deployable: ${project.build.directory}/shale-usecases.war
> Interpolation problem when using surefire
> -----------------------------------------
>
> Key: MNG-2201
> URL: http://jira.codehaus.org/browse/MNG-2201
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0, 2.0.1, 2.0.3, 2.0.2, 2.0.4
> Reporter: Vincent Massol
> Assigned To: John Casey
> Priority: Critical
> Fix For: 2.0.5
>
> Original Estimate: 4 hours
> Remaining Estimate: 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
[jira] Updated: (MNG-2201) Interpolation problem when using
surefire
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MNG-2201) Interpolation problem when using
surefire
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=all ]
Jason van Zyl updated MNG-2201:
-------------------------------
Fix Version/s: (was: 2.0.5)
2.0.6
> Interpolation problem when using surefire
> -----------------------------------------
>
> Key: MNG-2201
> URL: http://jira.codehaus.org/browse/MNG-2201
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0, 2.0.1, 2.0.3, 2.0.2, 2.0.4
> Reporter: Vincent Massol
> Assigned To: John Casey
> Priority: Critical
> Fix For: 2.0.6
>
> Original Estimate: 4 hours
> Remaining Estimate: 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
[jira] Updated: (MNG-2201) Interpolation problem when using
surefire
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=all ]
Jason van Zyl updated MNG-2201:
-------------------------------
Fix Version/s: (was: 2.0.6)
2.0.5
Word is this works in 2.0.4 and now doesn't so that's bad. Checking now, putting back in 2.0.5 so I don't forget.
> Interpolation problem when using surefire
> -----------------------------------------
>
> Key: MNG-2201
> URL: http://jira.codehaus.org/browse/MNG-2201
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0, 2.0.1, 2.0.3, 2.0.2, 2.0.4
> Reporter: Vincent Massol
> Assigned To: John Casey
> Priority: Critical
> Fix For: 2.0.5
>
> Original Estimate: 4 hours
> Remaining Estimate: 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
[jira] Commented: (MNG-2201) Interpolation problem when using
surefire
Posted by "Emmanuel Hugonnet (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=comments#action_82875 ]
Emmanuel Hugonnet commented on MNG-2201:
----------------------------------------
I have seen it too in SURFIRE 2.2 with Mavn 2.0x built the 16/12/2006 and you don't have this problem with environmentVariables which means it is a Properties interpolation issue only.
Sorry for the http://jira.codehaus.org/browse/SUREFIRE-60 that duplicates this issue.
Emmanuel
> Interpolation problem when using surefire
> -----------------------------------------
>
> Key: MNG-2201
> URL: http://jira.codehaus.org/browse/MNG-2201
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0, 2.0.1, 2.0.3, 2.0.2, 2.0.4
> Reporter: Vincent Massol
> Assigned To: John Casey
> Priority: Critical
> Fix For: 2.0.5
>
> Original Estimate: 4 hours
> Remaining Estimate: 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
[jira] Updated: (MNG-2201) Interpolation problem when using
surefire
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-2201:
-----------------------------------
Fix Version/s: (was: 2.0.5)
2.0.9
The corresponding IT shows this doesn't work until 2.0.9. As John's fix to the {{PropertiesConverter}} in [r3112|http://fisheye.codehaus.org/changelog/plexus/?cs=3112] isn't part of plexus-container-default:1.0-alpha-9-stable-1, I guess it's merely the ModelInterpolator that fixed that.
> Interpolation problem when using surefire
> -----------------------------------------
>
> Key: MNG-2201
> URL: http://jira.codehaus.org/browse/MNG-2201
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4
> Reporter: Vincent Massol
> Assignee: Jason van Zyl
> Priority: Critical
> Fix For: 2.0.9
>
> Original Estimate: 4 hours
> Remaining Estimate: 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