You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Burger (JIRA)" <ji...@codehaus.org> on 2008/05/09 11:20:27 UTC
[jira] Created: (MONE-26) Goal one:convert ignores extend tag in
project.xml
Goal one:convert ignores extend tag in project.xml
--------------------------------------------------
Key: MONE-26
URL: http://jira.codehaus.org/browse/MONE-26
Project: Maven 2.x One Plugin
Issue Type: Bug
Affects Versions: 1.2
Environment: Maven version: 2.0.9
Java version: 1.6.0_05
OS name: "mac os x" version: "10.5.2" arch: "x86_64" Family: "mac"
Reporter: Martin Burger
I tried to convert a Maven 1 project.xml (v3 pom) to a Maven 2 pom.xml (v4 pom). In project.xml, I use <extend> to inherit some values from a "project_base.xml" file. The goal one:convert seems to ignore the base file, so no configuration values from that base file are present in the generated pom.xml file.
--
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: (MONE-26) Goal one:convert ignores extend tag in
project.xml
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MONE-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147979#action_147979 ]
Dennis Lundberg commented on MONE-26:
-------------------------------------
To me this is the desired behavior. Each project.xml is converted separately into a pom.xml file. That way you can maintain the separation of configuration found in your existing inheritance structure.
> Goal one:convert ignores extend tag in project.xml
> --------------------------------------------------
>
> Key: MONE-26
> URL: http://jira.codehaus.org/browse/MONE-26
> Project: Maven 2.x One Plugin
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Maven version: 2.0.9
> Java version: 1.6.0_05
> OS name: "mac os x" version: "10.5.2" arch: "x86_64" Family: "mac"
> Reporter: Martin Burger
>
> I tried to convert a Maven 1 project.xml (v3 pom) to a Maven 2 pom.xml (v4 pom). In project.xml, I use <extend> to inherit some values from a "project_base.xml" file. The goal one:convert seems to ignore the base file, so no configuration values from that base file are present in the generated pom.xml file.
--
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: (MONE-26) Goal one:convert ignores extend tag in
project.xml
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MONE-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MONE-26:
--------------------------------
Issue Type: Improvement (was: Bug)
Right, if you wanted to move away from the inheritance all together it would be a nice feature.
Changing from "bug" to "improvement".
> Goal one:convert ignores extend tag in project.xml
> --------------------------------------------------
>
> Key: MONE-26
> URL: http://jira.codehaus.org/browse/MONE-26
> Project: Maven 2.x One Plugin
> Issue Type: Improvement
> Affects Versions: 1.2
> Environment: Maven version: 2.0.9
> Java version: 1.6.0_05
> OS name: "mac os x" version: "10.5.2" arch: "x86_64" Family: "mac"
> Reporter: Martin Burger
>
> I tried to convert a Maven 1 project.xml (v3 pom) to a Maven 2 pom.xml (v4 pom). In project.xml, I use <extend> to inherit some values from a "project_base.xml" file. The goal one:convert seems to ignore the base file, so no configuration values from that base file are present in the generated pom.xml file.
--
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: (MONE-26) Goal one:convert ignores extend tag in
project.xml
Posted by "Martin Burger (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MONE-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147987#action_147987 ]
Martin Burger commented on MONE-26:
-----------------------------------
So, some "merge" option / switch would be useful. Then you could select your preferred behavior.
> Goal one:convert ignores extend tag in project.xml
> --------------------------------------------------
>
> Key: MONE-26
> URL: http://jira.codehaus.org/browse/MONE-26
> Project: Maven 2.x One Plugin
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Maven version: 2.0.9
> Java version: 1.6.0_05
> OS name: "mac os x" version: "10.5.2" arch: "x86_64" Family: "mac"
> Reporter: Martin Burger
>
> I tried to convert a Maven 1 project.xml (v3 pom) to a Maven 2 pom.xml (v4 pom). In project.xml, I use <extend> to inherit some values from a "project_base.xml" file. The goal one:convert seems to ignore the base file, so no configuration values from that base file are present in the generated pom.xml file.
--
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