Hi,
I jsut did the build with the plugin. After googling around for half a day,
I realized that oyu have to set properties for the plugin as follows to get
the MBean generation to work:


build.properties:
maven.xdoclet.jmxdoclet.verbose=true
maven.xdoclet.jmxdoclet.destDir=${maven.build.dir}/xdoclet/
maven.xdoclet.jmxdoclet.fileset.0=true
maven.xdoclet.jmxdoclet.fileset.0.include=**/*java
maven.xdoclet.jmxdoclet.mbeaninterface.0=true


maven.xml:
  <preGoal name="java:compile">
        <attainGoal name="xdoclet:jmxdoclet"/>
  </preGoal>




regards

/peter
> -----Ursprungligt meddelande-----
> Fr�n: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Skickat: den 20 februari 2004 16:38
> Till: [EMAIL PROTECTED]
> �mne: RE: Mbean deployment descriptors
> 
> 
> The only way I've been successful (I've only tried once or 
> twice) was to
> create a custom maven.xml goal to run jmxdoclet via ant (the 
> xdoclet maven
> plugin is pretty hard to understand, much less use, from my 
> perspective). I
> can send you my goal definition from my other email 
> address/computer if
> you'd like...
> 
> -john
> 
> -----Original Message-----
> From: Rich [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 20, 2004 10:36 AM
> To: Maven Users List
> Subject: Mbean deployment descriptors
> 
> Does anyone know how to generate deployment descriptors for Mbeans?
> Can anyone tell me where I should look to find some docs on this?
> Thanks in advance.
> 
> -- 
> Rich
> From his PowerBook G4
> An awesome piece of engineering
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to