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 2 & 3
  • MNG-2745

Do not allow System properties to be interpolated in the POM

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0.4
  • Fix Version/s: None
  • Component/s: Inheritance and Interpolation
  • Labels:
    None
  • Environment:
    Windows using JDK 1.4.2
  • Complexity:
    Intermediate

Description

There is an XML library which is inserting a property version=2.4.1 and it is completely screwing up the interpolation of ${version} in any POM.

1) We should force fully qualified references anyway so ${pom.version} and not allow ${version}
2) Totally shut out System properties from all internal operations. We can still take -D from the command line and turn them into execution properties but we should just ignore all Sytem properties in the core.

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MNG-2339 ${project.*} are interpreted in the wrong place

  • 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

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Andreas Knuth added a comment - 02/Feb/07 9:13 AM
  • Are there any workarounds ?
  • Which XML Library is meant to be ?
  • How does this library do this ?

This problem occurs e.g. using cargo-core-containers-0.8.pom !

Show
Andreas Knuth added a comment - 02/Feb/07 9:13 AM
  • Are there any workarounds ?
  • Which XML Library is meant to be ?
  • How does this library do this ?
This problem occurs e.g. using cargo-core-containers-0.8.pom !

People

  • Assignee:
    Jason van Zyl
    Reporter:
    Jason van Zyl
Vote (0)
Watch (0)

Dates

  • Created:
    07/Jan/07 1:49 PM
    Updated:
    12/Jun/08 5:51 PM
    Resolved:
    16/Jun/07 4:56 AM
  • 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.