Hello all,  

I have updated the website to point the source repository to the new Apache Git 
location.

But in order to do that I had to add the following to the root pom.xml :

<distributionManagement>
    <site>
        <id>website</id>
        <!-- we put a fake URL here for staging to work -->
        <url>scp://www.mycompany.com/www/docs/project/</url>
    </site>
</distributionManagement>

We don’t use the site:deploy anyway so this is just to be able to run site:site 
and site:stage. We deploy the site using the 
mvn scm-publish:publish-scm Maven plugin goal (see the root 
generate-site-and-upload.sh script).

Does anybody know a cleaner way of achieving this ? 

cheers,
  Serge… 

Reply via email to