Lets have a look at:
http://jakarta.apache.org/commons/jelly/apidocs/org/apache/commons/jelly/JellyContext.html#getVariables()
You can try it in the maven.xml file:
<echo>
  context.variables=${context.variables}
</echo>

For plugins, having a look on this piece of code:
<maven:pluginVar plugin="AGIVENPLUGIN" property="MYPROPERTY" var="MYVALUE" />
<maven:set plugin="AGIVENPLUGIN" property="MYPROPERTY" value="MYVALUE"/>      
<maven:get var="AGIVENPLUGIN" plugin="MYPROPERTY" property="MYVALUE"/>

Cheers,

Vincent

On Tue, 22 Feb 2005 14:18:12 -0500, Russ Jubenville
<[EMAIL PROTECTED]> wrote:
> Is there some way to display all "variable" names and their values for a
> given scope point?
> 
> I guess it's more than just variables.  I'm interested in dumping, for
> debugging and learning purposes, the list of all name/value pairs,
> regardless of their source, that are defined and available to me
> (whether read-only or modifiable) at a given point.
> 
> So, for example, within a given maven.xml file, I'd like to be able to
> dump all names and values of anything that is defined through any
> *.properties files, project.xml files, maven.xml files, plugins, etc.,
> etc., ideally including an indication of the value's source, and whether
> it overrides an inherited value.
> 
> This would help enormously in debugging problems, as well as in knowing
> what values I can leverage within my scripts, rather than re-inventing
> them.  (I've been through the Maven documentation, and have come across
> some lists of variables, but nowhere have I seen a comprehensive list,
> and especially the ability to display all names, values and inheritance
> status within the present scope.)
> 
> Is this a pipe dream?  Or is there some special plugin / tag / sweet bit
> of script that will do the trick?
> 
> Thanks in advance!
> 
> Russ Jubenville
> 
> #####################################################################################
> This e-mail message has been scanned for Viruses and Content and cleared
> by NetIQ MailMarshal
> #####################################################################################
> 
>

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

Reply via email to