On 10/3/07, Chris Helck <[EMAIL PROTECTED]> wrote:

> In maven2 how can I have snapshots websites deploy to one URL and
> releases deploy to another?

The site plugin uses both <distributionManagement><site> and a
configuration element <stagingSiteURL>.

I don't know of a way to get it to automatically do one thing for
snapshots and another for releases, but if you can adjust your process
to do either site:deploy or site:stage, then you can get that result.

Maybe you will 'stage' the snapshot sites and 'deploy' the sites for
releases.  In the Maven Plugins parent pom [1] that Tim mentioned,
we're trying out configuration that uses ${artifactId}-${version} in
the staging url.

[1] http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml

HTH,
-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to