In your mojo try something like 

    /**
     * @component
     * @required
     * @readonly
     */
    private Prompter prompter;
Or longer one 

    /**
     * @component role="org.codehaus.plexus.components.interactivity.Prompter" 
role-hint="default"
     * @required
     * @readonly
     */
    private Prompter prompter;

--
Olivier

-----Message d'origine-----
De : Roland Asmann [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 9 mars 2007 17:54
À : users@maven.apache.org
Objet : Using the plexus-interactivity jars

Hi,

I'm working on a plugin that I want to make interactive. I've looked into the 
release-plugin for some samples, but I just can't figure out how the Prompter 
gets set! The method 'setPrompter' seems to be only used by the tests...

I tried just calling a 'new Prompter()', but then the internals are still 
empty...

Could somebody tell me how to best initialize the Prompter so that I can work 
with it?

Thanks,

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 
A-1010 Wien FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

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


This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-------------------------------------------------------------------------------------------------------------


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

Reply via email to