What you describe is the preferred way to stage a site. Go ahead and
update the docs.
James Carman wrote:
All,
I propose changing the release preparation documents. Currently is says:
Maven 2 builds should temporarily add a site location to the
<distributionManagement>:
<distributionManagement>
<id>stagingSite</id>
<url>scp://people.apache.org/home/<apacheuser>/public_html/foo-1.2rc1/site</url>
</distributionManagement>
Rather than temporarily changing a pom (it just seemed "hacky" to me),
why not suggest this:
Maven 2 builds should perform a stage-deploy by supplying an alternate
staging site url:
mvn site:stage-deploy
-DstagingSiteURL=scp://people.apache.org/home/<apacheuser>/public_html/foo-1.2rc1/site
Does that sound reasonable? That's what I did for proxy and I didn't
have to change any files in my rc1 tag. I deployed as-is.
James
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]