Hi Serge,

just a short sample how i accessed simple properties:

    <c:useBean
      var="myBean"
      versionProperty="${pom.currentVersion}"
      someOtherProperty="${maven.plugin.property}"
      class="my.package.BeanClass" />

Hope this helps,
-Stefan




> -----Original Message-----
> From: Serge Huber [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 14, 2004 7:27 PM
> To: Maven Users List
> Subject: Accessing Maven properties from a Jelly Bean ?
> 
> 
> 
> Hi all,
> 
> I'm a beginner, trying to develop my first Maven plugin, and I'm a 
> little lost :)
> 
> I need to develop some functionality through a Jelly Bean, but I also 
> need to access some Maven properties (especially POM properties) from 
> the bean. Basically what I need to access in my Jelly Bean is :
> 
> - the POM's dependencies
> - other project related properties.
> 
> I understand that I can pass parameters through to the JellyBean via 
> XML attributes, but can I pass a list of dependencies or 
> something like 
> that ? What is the recommended way of developing this functionality ?
> 
> Thanks a lot,
>    Serge Huber.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to