You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Tom Widmer (JIRA)" <ji...@apache.org> on 2008/09/23 13:40:44 UTC
[jira] Created: (IVY-914) Properties needed to parse version in POM
Properties needed to parse version in POM
-----------------------------------------
Key: IVY-914
URL: https://issues.apache.org/jira/browse/IVY-914
Project: Ivy
Issue Type: Bug
Components: Maven Compatibility
Affects Versions: 2.0.0-beta-2
Reporter: Tom Widmer
Fix For: 2.0-RC1
The POM file here:
http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
doesn't work with Ivy, since the version is specified as:
<version>${jbosscache-core-version}</version>
e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-914) Properties needed to parse version in
POM
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-914.
-------------------------------
Resolution: Fixed
I've applied your patch and added a junit test into SVN trunk and 2.0.x branch.
Thanks a lot for your contribution!
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0.x
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (IVY-914) Properties needed to parse version in
POM
Posted by "Tom Widmer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Widmer reopened IVY-914:
----------------------------
Bug exists in trunk as of r696442 (which is current I think), and in RC1.
IVY-818 deals with loading properties from the parent POM. This relates to properties defined in the POM being parsed itself. Re-opening.
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0-RC1
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-914) Properties needed to parse version in
POM
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638036#action_12638036 ]
Maarten Coene commented on IVY-914:
-----------------------------------
If we have to make a new RC before the final 2.0 gets released, this fix will be included in it.
I think the discussion for this will start soon on the ant-dev mailing list.
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0.x
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-914) Properties needed to parse version in POM
Posted by "Tom Widmer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Widmer updated IVY-914:
---------------------------
Attachment: load_properties_first.patch
Patch (relative to ivy trunk root) attached that moves property initialisation to the earliest reasonable moment. It is possible that the property loading should be moved into POMReader instead.
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Fix For: 2.0-RC1
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-914) Properties needed to parse version in
POM
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-914.
-------------------------------
Resolution: Duplicate
Assignee: Maarten Coene
Duplicate of IVY-818.
Please reopen if the problem is still present in RC1 version
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0-RC1
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-914) Properties needed to parse version in POM
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-914:
------------------------------
Fix Version/s: (was: 2.0-RC1)
2.0.x
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0.x
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-914) Properties needed to parse version in
POM
Posted by "Chris Herron (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638038#action_12638038 ]
Chris Herron commented on IVY-914:
----------------------------------
Thanks Maarten. This issue is a showstopper for me, and as a result I've been using the head of the 2.0.x branch (successfully). I have my fingers crossed for an RC2. Shall keep an eye on the ant dev-list.
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0.x
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-914) Properties needed to parse version in
POM
Posted by "Chris Herron (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637657#action_12637657 ]
Chris Herron commented on IVY-914:
----------------------------------
Will this make it into another 2.0 release candidate, or the final 2.0 release?
(The fix version suggests it will have to wait until a point release such as 2.0.1).
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0.x
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-914) Properties needed to parse version in POM
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-914:
------------------------------
Fix Version/s: (was: 2.0.x)
2.0-RC2
> Properties needed to parse version in POM
> -----------------------------------------
>
> Key: IVY-914
> URL: https://issues.apache.org/jira/browse/IVY-914
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.0.0-beta-2
> Reporter: Tom Widmer
> Assignee: Maarten Coene
> Fix For: 2.0-RC2
>
> Attachments: load_properties_first.patch
>
>
> The POM file here:
> http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-core/2.1.1.GA/jbosscache-core-2.1.1.GA.pom
> doesn't work with Ivy, since the version is specified as:
> <version>${jbosscache-core-version}</version>
> e.g. it uses a property in the POM. Ivy fails to set up properties until after the version has been parsed, and hence gets the version as ${jbosscache-core-version} rather than 2.1.1.GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.