[
https://issues.apache.org/jira/browse/MNG-3535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hervé Boutemy updated MNG-3535:
-------------------------------
Description:
In 2.0.9 properties which look self referential but would otherwise resolve to
a system property are failing due to fixes for MNG-2339. Current example is
any version of jruby shared pom at
http://repo1.maven.org/maven2/org/jruby/shared/1.0.1/shared-1.0.1.pom
which contains:
{code:xml}<java.specification.version>${java.specification.version}</java.specification.version>{code}
The question is whether this should be valid or not, but it has worked in every
version up to and including 2.0.8 because System properties were available in
the first interpolate step. In 2.0.9 this first pass does not include the
system props and an exception is thrown because of the self reference check.
was:
In 2.0.9 properties which look self referential but would otherwise resolve to
a system property are failing due to fixes for MNG-2339. Current example is
any version of jruby shared pom at
http://repo1.maven.org/maven2/org/jruby/shared/1.0.1/shared-1.0.1.pom
which contains:
<java.specification.version>${java.specification.version}</java.specification.version>
The question is whether this should be valid or not, but it has worked in every
version up to and including 2.0.8 because System properties were available in
the first interpolate step. In 2.0.9 this first pass does not include the
system props and an exception is thrown because of the self reference check.
> Valid properties which look self referential fail to resolve
> ------------------------------------------------------------
>
> Key: MNG-3535
> URL: https://issues.apache.org/jira/browse/MNG-3535
> Project: Maven
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0.9
> Reporter: Chris Custine
> Assignee: John Casey
> Fix For: 2.1.0-M1
>
> Attachments: model-int.patch
>
>
> In 2.0.9 properties which look self referential but would otherwise resolve
> to a system property are failing due to fixes for MNG-2339. Current example
> is any version of jruby shared pom at
> http://repo1.maven.org/maven2/org/jruby/shared/1.0.1/shared-1.0.1.pom
> which contains:
> {code:xml}<java.specification.version>${java.specification.version}</java.specification.version>{code}
> The question is whether this should be valid or not, but it has worked in
> every version up to and including 2.0.8 because System properties were
> available in the first interpolate step. In 2.0.9 this first pass does not
> include the system props and an exception is thrown because of the self
> reference check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)