jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Surefire
  • SUREFIRE-60

systemProperties not correctly evaluated

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: Backlog
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven 2.04 and 2.0.x
  • Complexity:
    Intermediate

Description

I have a MOJO that sets a property for the project: project.getProperties().put(propertyName, value);
When I reference this property in the <systemProperties> element of my surfire configuration it is not correctly evaluated even if it is a String. But if I use a direct project property (like basedir) ${basedir}/target is correctly evaluated.
In another MOJO, used as a parameter this property is correctly evaluated.

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. MNG-2201 Interpolation problem when using surefire

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Emmanuel Hugonnet added a comment - 18/Dec/06 4:34 AM

If I use a Map like environmentVariables for example, the property is correctly evaluated.
This look more like a maven issue than a surfire one.

Show
Emmanuel Hugonnet added a comment - 18/Dec/06 4:34 AM If I use a Map like environmentVariables for example, the property is correctly evaluated. This look more like a maven issue than a surfire one.
Hide
Permalink
Emmanuel Hugonnet added a comment - 18/Dec/06 9:51 AM

This is a duplicate of :
http://jira.codehaus.org/browse/MNG-2201 which has been reopened the 16/12/2006

Show
Emmanuel Hugonnet added a comment - 18/Dec/06 9:51 AM This is a duplicate of : http://jira.codehaus.org/browse/MNG-2201 which has been reopened the 16/12/2006
Hide
Permalink
Dan Fabulich added a comment - 23/Nov/07 10:56 PM

Seems to be a duplicate of MNG-2201

Show
Dan Fabulich added a comment - 23/Nov/07 10:56 PM Seems to be a duplicate of MNG-2201

People

  • Assignee:
    Unassigned
    Reporter:
    Emmanuel Hugonnet
Vote (0)
Watch (2)

Dates

  • Created:
    15/Dec/06 8:25 AM
    Updated:
    23/Nov/07 10:56 PM
    Resolved:
    23/Nov/07 10:56 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.