You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yongshin Yu <yo...@gmail.com> on 2008/02/15 20:50:13 UTC
deploy site to a url based on expression
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>
Regards,
Yongshin Yu
--
Regards,
Yongshin Yu
http://yongshin.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: deploy site to a url based on expression
Posted by Wendy Smoak <ws...@gmail.com>.
On Fri, Feb 15, 2008 at 12:50 PM, Yongshin Yu <yo...@gmail.com> wrote:
> 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.
Well, what happened when you tried it? :)
I use ${project.version} in the site url regularly, but I haven't
tried using a property generated during the build.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org