[
http://jira.codehaus.org/browse/MSITE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169907#action_169907
]
Wendy Smoak commented on MSITE-295:
-----------------------------------
Did you try it with the build helper plugin and ${buildNumber} in the url?
Or with another property, and then passing it in with -Dpropname=value on the
command line?
I routinely use ${project.version} in the site url to publish docs for each
version (to /docs/1.0-SNAPSHOT most of the time, then to /docs/1.0/ from the
tag, without changing anything.)
> Make the distributionManagement.site.url configurable from the command line
> ---------------------------------------------------------------------------
>
> Key: MSITE-295
> URL: http://jira.codehaus.org/browse/MSITE-295
> Project: Maven 2.x Site Plugin
> Issue Type: Improvement
> Components: site:deploy
> Affects Versions: 2.0-beta-6
> Reporter: Gabriel Falkenberg
>
> It should be possible to override the attribute
> distributionManagement.site.url from the command line like this:
> mvn site:site site:deploy
> -DdistributionManagement.site.url=file:///some/local/or/external/path/
> This would not really be necessary if site:stage worked like it should but is
> needed since it does not.
--
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