You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 04:42:19 UTC

[jira] Commented: (MPH-60) help:effective-pom should be available through an API

    [ 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