Yes I have noticed the docs, and configured my such that it executes the xdoclet plugin.
But I can't find anything in the docs about how the generation of the jboss descriptors is trigered.
What it does currently is generating the MBean interface for me, since I want to create a mxbean, this is somewhat useless to me.
Here's the relevant part of my pom:
<plugin>
<groupId>xdoclet</groupId>
<artifactId>maven2-xdoclet2-plugin</artifactId>
<configuration>
<configs>
<config>
<!-- here's where you specify which xdoclet-plugin to run, by its class name -->
<plugin>org.xdoclet.plugin.jmx.MBeanPlugin</plugin>
<!-- here's some config for your plugin-->
<params>
<destdir>${basedir}/target/xdoclet/src</destdir>
</params>
</config>
<!-- run multiple plugins by repeating this <config> element -->
</configs>
</configuration>
<dependencies>
<!-- here's where you specify which xdoclet-plugin you need, by its groupId/artifactId,
and any additional dependency it might have - although you'll most likely already
have these in your project, so no need to repeat them here -->
<dependency>
<groupId>xdoclet-plugins</groupId>
<artifactId>xdoclet-plugin-jmx</artifactId>
<version>1.0.4-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>xdoclet</goal>
</goals>
</execution>
</executions>
</plugin>
Here's the relevant section of the class level javadoc:
* @jmx.mbean description = "Manager of binding files"
* name = "epo.AMF:service=BindingFileManager"
* @jboss.xmbean
And following is a section of an attribute def:
* @jmx.managed-attribute description = "Full path to the binding file administration file"
* access = "read-write"
* value = "bvla"
[EMAIL PROTECTED] wrote on 25-04-2006 18:55:00:
>
>
> --- Marcel Dullaart <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I am working on an model mbean that will be deployed
> > on JBoss.
> > Therefor I'd like xdoclet to generate the xmbean
> > descriptors and the
> > jboss-service.xml.
>
> Well, there is jmx plugin for xdoclet-2,
> documentation about plugin itself and tags is
> available on xdoclet.codehaus.org
>
>
> > I was wondering if anyone could help me out in
> > generating the jboss
> > descriptors using the jmx plugin for maven 2.
>
> I'm not sure that maven 2 plugin is fully optional,
> but you may give it a try.
>
> And I do not use maven 2 myself [yet], so my knowlege
> is really limited.
>
> regards,
>
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> Still using XDoclet 1.x? XDoclet 2 is released and of production quality.
> check it out: http://xdoclet.codehaus.org
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
- [xdoclet-plugins-interest] Jmx plugin generating JBos... Marcel Dullaart
- Re: [xdoclet-plugins-interest] Jmx plugin genera... Konstantin Priblouda
- Re: [xdoclet-plugins-interest] Jmx plugin ge... Marcel Dullaart