Hi JB, 

The problem is that site:site will not run without the distributionManagement 
configuration. 

cheers,
  Serge… 


> On 24 nov. 2015, at 14:21, Jean-Baptiste Onofré <[email protected]> wrote:
> 
> Hi Serge,
> 
> I don't think we need the distributionManagement for the site. Just a note to 
> inform that site:site and scm-publish:publish-scm is required.
> 
> Just my $0.02.
> 
> Regards
> JB
> 
> On 11/24/2015 02:17 PM, Serge Huber wrote:
>> 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…
>> 
> 
> -- 
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Reply via email to