[ 
http://jira.codehaus.org/browse/MNG-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90587
 ] 

Andris Rauda commented on MNG-2046:
-----------------------------------

I'd say that this IS a problem.

In my case - I'm trying to read build.number property from file, generated by 
Bamboo integration server for each build.
When using Ant, it is possible to read property file using -propertyfile.

Spent few hours Googling - it seams that there is actually NO WAY to read a 
custom properties file, except for, maybe, writing special plugin for this.
I found few unanswered posts on this issue.
I found, that this was listed as a problem Nr 1. on Andreas Schaefer's "Short 
Review of Maven 2" (written more than year ago!)
http://weblogs.java.net/blog/schaefa/archive/2005/12/a_short_review_1.html


> External property file in command line
> --------------------------------------
>
>                 Key: MNG-2046
>                 URL: http://jira.codehaus.org/browse/MNG-2046
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 2.0.2
>            Reporter: Raphaƫl Corre
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> It would be great to allow the option "-propertyfile" in the command line, 
> like Ant does to load multi properties. For the moment, it's possible to do 
> "'D", but for a single property.

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