Re-hi,
Thank's for the answer, but my variable is initialize in a the goal "
scm:parse-connection" on the scm plugin.
Have you any idea ? 
Thank's..

 


-----Message d'origine-----
De�: Eric Giguere [mailto:[EMAIL PROTECTED] 
Envoy�: mercredi 7 avril 2004 15:23
��: Maven Users List
Objet�: Re: Newbie prereqs questions

Hi

The plugin properties in can be seen as variable declaration. In order 
to get the values during execution, you must get it from the plugin's 
context.

You can do this with such a line in your maven.xml (anywhere... not 
required to be in a goal):
<j:set var="aVariable" 
value="${pom.getPluginContext('maven-scm-plugin').getVariable('maven.scm.cvs
.root)}"/>

Hope it helps.
Eric.

Menetrieux Remy wrote:

>For my goal I needs to get the cvs root and the cvs module. For this I call
>scm:parse-connection in the prereqs section. But when I read the
>maven.scm.cvs.root or maven.scm.cvs.module they are empty. How can I get
>this variable? 
>
>thanks
>
><goal name="truc:report" prereqs="xdoc:init,scm:parse-connection"
>description="Generate file change report beetween release">
>
>    <echo>repository : ${maven.scm.cvs.root}</echo>
>
>    <echo>repository : ${maven.scm.cvs.module}</echo>
>
> </goal>   
>
>
>The information transmitted is intended only for the person or entity to
>which it is addressed and may contain confidential and/or privileged
>material. Any review, retransmission, dissemination or other use of, or
>taking of any action in reliance upon, this information by persons or
>entities other than the intended recipient is prohibited and may be a
>violation of law. If you received this transmission in error, please
contact
>the sender by reply e-mail and delete and destroy all copies of the
>material, including all copies stored in the recipient's computer, printed
>or saved to disk. Thank you.
>Software virus: Europcar has taken precautions to minimize the risk of
>transmitting software viruses, but we advise you to carry out your own
virus
>checks on any attachment to this message. Europcar cannot accept liability
>for any loss or damage caused by software viruses.
>Intellectual Property: Europcar has built up a significant reputation in
the
>name "Europcar" and has a number of trademark applications and
registrations
>in many countries. No trademarks, service marks, and trade names owned or
>licensed by Europcar or its affiliates may be copied, reproduced,
>republished, uploaded, posted, transmitted, or distributed in any way,
>without the prior written consent of Europcar.
>
>
>  
>


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

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited and may be a
violation of law. If you received this transmission in error, please contact
the sender by reply e-mail and delete and destroy all copies of the
material, including all copies stored in the recipient's computer, printed
or saved to disk. Thank you.
Software virus: Europcar has taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own virus
checks on any attachment to this message. Europcar cannot accept liability
for any loss or damage caused by software viruses.
Intellectual Property: Europcar has built up a significant reputation in the
name "Europcar" and has a number of trademark applications and registrations
in many countries. No trademarks, service marks, and trade names owned or
licensed by Europcar or its affiliates may be copied, reproduced,
republished, uploaded, posted, transmitted, or distributed in any way,
without the prior written consent of Europcar.


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

Reply via email to