[ 
http://jira.codehaus.org/browse/MPH-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202447#action_202447
 ] 

Jon Lorusso commented on MPH-71:
--------------------------------

I concur with previous comments. 

I need a way to do something like this:

mvn help:evaluate -Dexpression=project.version

So that I can get at the pom's version, without (as has been said above) 
parsing the pom myself. I am fairly surprised this type of functionality does 
not exist in this or any other of the many many plugins out there.

> call help:evaluate in batch mode
> --------------------------------
>
>                 Key: MPH-71
>                 URL: http://jira.codehaus.org/browse/MPH-71
>             Project: Maven 2.x Help Plugin
>          Issue Type: Wish
>    Affects Versions: 2.1
>            Reporter: Galak
>            Priority: Minor
>
> The help:evaluate goal is designed to be called in interactive mode.
> I would like to call this goal in batch mode, passing the expression to 
> evaluate in a property (on the command line).
> The final purpose is to evaluate predefined expressions inside a script 
> (unfortunately, the script is a batch file in my case...)

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

        

Reply via email to