[
http://jira.codehaus.org/browse/MSITE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123757
]
Yongshin Yu commented on MSITE-295:
-----------------------------------
Is there a way that I could set the site url to be dynamic? I would like to
publish to a folder based on a buildNumber generated by the
maven-buildnumber-plugin. Please let me know. Otherwise I am going to be forced
to open up a new issue. Thanks.
<distributionManagement>
<site>
<id>buildsite</id>
<name>Build Site</name>
<url>
scp://mycompany.com/buildrepository/builds/${buildNumber}
</url>
</site>
</distributionManagement>
> 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