You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Smith (JIRA)" <ji...@codehaus.org> on 2008/09/08 18:17:48 UTC

[jira] Created: (MNG-3745) help:effective-pom should be available through an API

help:effective-pom should be available through an API
-----------------------------------------------------

                 Key: MNG-3745
                 URL: http://jira.codehaus.org/browse/MNG-3745
             Project: Maven 2
          Issue Type: Improvement
          Components: General
            Reporter: Jason Smith


When building tools around Maven 2, you need to be able to read the effective POM.  Currently, the only obvious way to do this is to run help:effective-pom as a process and capture the output, parsing out the XML portion.

It would be useful to have an API version of effective-POM, which returned the effective POM of an artifact either as a String or a DOM Document.  Take your pick.  I'm not choosy.

And if this already exists, it probably ought to be documented a little better.  :-)

Thanks.  

-- 
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] Closed: (MPH-60) help:effective-pom should be available through an API

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MPH-60.
---------------------------

    Resolution: Won't Fix
      Assignee: Brett Porter

This is better addressed at the Maven API level

> help:effective-pom should be available through an API
> -----------------------------------------------------
>
>                 Key: MPH-60
>                 URL: http://jira.codehaus.org/browse/MPH-60
>             Project: Maven 2.x Help Plugin
>          Issue Type: Improvement
>            Reporter: Jason Smith
>            Assignee: Brett Porter
>
> When building tools around Maven 2, you need to be able to read the effective POM.  Currently, the only obvious way to do this is to run help:effective-pom as a process and capture the output, parsing out the XML portion.
> It would be useful to have an API version of effective-POM, which returned the effective POM of an artifact either as a String or a DOM Document.  Take your pick.  I'm not choosy.
> And if this already exists, it probably ought to be documented a little better.  :-)
> Thanks.  

-- 
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: (MPH-60) help:effective-pom should be available through an API

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPH-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158416#action_158416 ] 

Brett Porter commented on MPH-60:
---------------------------------

it's a cleaned up version of ${project.model}.

You could get this directly by instantiating the effective pom mojo, but I'll leave it here for consideration about separating these tools

> help:effective-pom should be available through an API
> -----------------------------------------------------
>
>                 Key: MPH-60
>                 URL: http://jira.codehaus.org/browse/MPH-60
>             Project: Maven 2.x Help Plugin
>          Issue Type: Improvement
>            Reporter: Jason Smith
>
> When building tools around Maven 2, you need to be able to read the effective POM.  Currently, the only obvious way to do this is to run help:effective-pom as a process and capture the output, parsing out the XML portion.
> It would be useful to have an API version of effective-POM, which returned the effective POM of an artifact either as a String or a DOM Document.  Take your pick.  I'm not choosy.
> And if this already exists, it probably ought to be documented a little better.  :-)
> Thanks.  

-- 
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] Moved: (MPH-60) help:effective-pom should be available through an API

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MNG-3745 to MPH-60:
--------------------------------------

    Component/s:     (was: General)
            Key: MPH-60  (was: MNG-3745)
        Project: Maven 2.x Help Plugin  (was: Maven 2)

> help:effective-pom should be available through an API
> -----------------------------------------------------
>
>                 Key: MPH-60
>                 URL: http://jira.codehaus.org/browse/MPH-60
>             Project: Maven 2.x Help Plugin
>          Issue Type: Improvement
>            Reporter: Jason Smith
>
> When building tools around Maven 2, you need to be able to read the effective POM.  Currently, the only obvious way to do this is to run help:effective-pom as a process and capture the output, parsing out the XML portion.
> It would be useful to have an API version of effective-POM, which returned the effective POM of an artifact either as a String or a DOM Document.  Take your pick.  I'm not choosy.
> And if this already exists, it probably ought to be documented a little better.  :-)
> Thanks.  

-- 
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