[
http://jira.codehaus.org/browse/MNG-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142977#action_142977
]
cyberguide commented on MNG-2046:
---------------------------------
I understand that mvn tries to avoid having unresolvable content in the pom
(property expressions that cannot be resolved out of context). However, I found
myself in a situation where I need to forward a dynamically generated list of
offlinelink parameters that I need to pass to the javadoc configuration in the
pom. That is quite easily be done via property usage in the pom file and
providing the property on the mvn command line is not big deal either. However,
the issue comes when the list of offlinelinks grows in size so that command
line gets too long. Simply cannot see how to pass in the property once the
command line outgrows the os buffer. property file would be ideal for this
situation.
Btw, tried to load the properties from an antrun plugin configuration, however,
passing that to the javadoc configuration seems not possible by setting the
property.
Any idea to solve this in a different way is welcome as well.
> 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
>
>
> 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