For anyone who is looking for the *solution* here you go...

<project>
    .....
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <version>2.0-beta-6</version>
                <configuration>
                    <stagingSiteURL>

scp://maven.mycompany.com/var/www/maven/sites/staging/${project.groupId}/${
project.version}/${project.artifactId}
                    </stagingSiteURL>
                </configuration>
            </plugin>
        </plugins>
    </build>
    .....
</project>

***NOTE: there is a problem I am having with the site.xml output, I don't
know if they are linked to 2.0-beta-6 but I will take it to another thread


On Feb 13, 2008 2:23 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:

> Andrew Hughes wrote:
> > Howdy,
> >
> > I can't see any documentation indicating where/if I can put a
> > <stagingSiteURL> inside the pom.xml (<distrobutionManagement>).
> >
> >
> http://maven.apache.org/plugins/maven-site-plugin/stage-deploy-mojo.html#stagingSiteURL
> >
> > Could anyone provide me with an usage example from a pom.xml
> >
> >
> > Cheers,
> > AH
> >
>
> The <stagingSiteURL> shouldn't be in <distributionManagement>. It's a
> configuration parameter for the site plugin. See this page for a
> (completely different) example of where in your pom you should configure
> such parameters.
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to