Hi Joachim,

yes, I use XDoclet, Maven 1.0 and JBoss plugin successfully. I use a self compiled version (because of custom plugins) of the 1.2.2 SNAPSHOT version of XDoclet and everything works.

The problem either lies in you dependency list or your properties. E.g. I think it should be

maven.xdoclet.ejbdoclet.jboss.0.Version=3.2     (capital V)
maven.xdoclet.ejbdoclet.jboss.0.validateXML=true
maven.xdoclet.ejbdoclet.jboss.0.preferredRelationMapping

according to my plugin.jelly script (you better check your script file).

Your dependencies are almost like mine, besides I would not include the maven-xdoclet-plugin 1.2.2-SNAPSHOT as dependency (because thats the plugin itself), and I have declared xdoclet-web-module and xdoclet-apache-module as additional dependencies.

Give it a try, perhaps it solves your problem.

Leander


Joachim Bader schrieb:
Hi,

is anybody working with XDoclet, Maven and the JBoss plugin? On the maven user list are two people with the same problem.

The borland module is working but if the jboss module is added XDoclet dies during build without a error message. Below are the mails from the maven user list.

regards,
Joachim

On Wednesday 15 September 2004 10:37, Jose Gonzalez Gomez wrote on the maven user list:

   I'm trying to generate the ejb jboss descriptor using Maven and
XDoclet with no success. I had success generating all the other stuff
(home and remote interfaces, util classes, standard descriptor...) but
whenever I try to modify project.xml, or project.properties to add
xdoclet-jboss stuff the build dies without giving me any clue (already
tried maven -X).

   Could somebody doing the same share with me the plugin version used,
dependencies and properties needed for this to work?


sorry, I have no solution, yet. But I have the same problem.

the total crazy thing is:
the borland module is working. It creates a ejb-borland.xml deployment descriptor.
If I add the jboss module the build is broken.


My maven options:
-Xmx512m to prevent OutOfMemoryErrors (but I have never seen one)

I tested it with 1.2.2-SNAPSHOT and 1.2 of xdoclet.
my dependencies:
j2ee 1.3.1
xdoclet-ejb-module 1.2.2-SNAPSHOT
maven-xdoclet-plugin 1.2.2-SNAPSHOT as type plugin
xjavadoc 1.0.3 xdoclet-jmx-module 1.2.2-SNAPSHOT
xdoclet-jboss-module 1.2.2-SNAPSHOT
xdoclet-objectweb-module 1.2.2-SNAPSHOT
xdoclet-borland-module 1.2.2-SNAPSHOT
xdoclet-xdoclet-module 1.2.2-SNAPSHOT
xdoclet 1.2.2-SNAPSHOT


commons-collections 2.0
commons-logging 1.0.2
log4j 1.2.8

my properties:
maven.xdoclet.ejbdoclet.valueobject.0=true
maven.xdoclet.ejbdoclet.dataobject.0=true
maven.xdoclet.ejbdoclet.utilobject.0.includeGUID=true
maven.xdoclet.ejbdoclet.utilobject.0.cacheHomes=true
maven.xdoclet.ejbdoclet.entityfacade.0=true

maven.xdoclet.ejbdoclet.borland.0=true
maven.xdoclet.ejbdoclet.borland.0.destDir=${maven.build.dir}/xdoclet/ejb META-INF maven.xdoclet.ejbdoclet.borland.0.version=5.1


maven.xdoclet.ejbdoclet.jboss.0=true
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/
META-INF maven.xdoclet.ejbdoclet.jboss.0.version=3.2
maven.xdoclet.ejbdoclet.jboss.0.unauthenticatedPrincipal=nobody
maven.xdoclet.ejbdoclet.jboss.0.validatexml=true
maven.xdoclet.ejbdoclet.jboss.0.preferredrelationmapping=relation-table


regards,
Joachim


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



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to