You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Harper, Brad" <br...@fiserv.com> on 2009/05/01 16:43:59 UTC

Reporting Question

It's established that links won't work for deployment of multi-module
sites [1], i.e. links don't work for

 

   % mvn site site:deploy

 

But I can get

 

   % mvn site:stage-deploy

 

to deploy a 'staged' site to a remote URL [even the same URL specified
by ${project.distributionManagement.site.url}] and the site links
*work*.

 

First question ...

 

If links can be made to work using 'site:stage-deploy', why can't they
be made to work for 'site:deploy'?

 

Second Question ...

 

If I configure an execution of the 'stage-deploy' goal with

 

 
<stagingSiteURL>${project.distributionManagement.site.url}</stagingSiteU
RL>

 

I'm prompted for an LDAP password at multiple steps during the
deployment. This does not occur when using the simple 'deploy' goal, by
virtue of a settings.xml <server> element with <username> and <password>
defined for the target host.

 

Why is this?

 

[1] http://maven.apache.org/plugins/maven-site-plugin/ (multiple
references)

 

Thanks.

 

Brad


RE: Reporting Question

Posted by Martin Gainty <mg...@hotmail.com>.
it seems that project.distributionManagement.site.url is a production site guarded by LDAP authentication 
at the very min you will need these details from LDAP admin
hostname
port
authdn e.g. uid=admin,ou=system
and passwd 
from LDAP admin

I found this tutorial of LDAP plugin helpful
http://ldap-plugin.btmatthews.com/usage.html

Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.






> Subject: Reporting Question
> Date: Fri, 1 May 2009 09:43:59 -0500
> From: brad.harper@fiserv.com
> To: users@maven.apache.org
> 
> It's established that links won't work for deployment of multi-module
> sites [1], i.e. links don't work for
> 
>  
> 
>    % mvn site site:deploy
> 
>  
> 
> But I can get
> 
>  
> 
>    % mvn site:stage-deploy
> 
>  
> 
> to deploy a 'staged' site to a remote URL [even the same URL specified
> by ${project.distributionManagement.site.url}] and the site links
> *work*.
> 
>  
> 
> First question ...
> 
>  
> 
> If links can be made to work using 'site:stage-deploy', why can't they
> be made to work for 'site:deploy'?
> 
>  
> 
> Second Question ...
> 
>  
> 
> If I configure an execution of the 'stage-deploy' goal with
> 
>  
> 
>  
> <stagingSiteURL>${project.distributionManagement.site.url}</stagingSiteU
> RL>
> 
>  
> 
> I'm prompted for an LDAP password at multiple steps during the
> deployment. This does not occur when using the simple 'deploy' goal, by
> virtue of a settings.xml <server> element with <username> and <password>
> defined for the target host.
> 
>  
> 
> Why is this?
> 
>  
> 
> [1] http://maven.apache.org/plugins/maven-site-plugin/ (multiple
> references)
> 
>  
> 
> Thanks.
> 
>  
> 
> Brad
> 

_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009