Ok, I found the solution to the problem here : http://www.nabble.com/Re:-maven-2.0.6-and-xdoclet-maven-plugin-p9839377s177.html
I needed to add a dependency to ant : <dependencies> <dependency> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> </dependency> </dependencies> -----Message d'origine----- De : COPPENS, Fabien [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 11:51 À : Maven Users List Objet : RE: Xdoclet plugin for generating EJB sources of ejbdoclet project Hi. You are right it xdoclet 1.2.3. I have already tried what you suggest, but I get this kind of error : [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet': Unable to find the mojo 'org.codehaus.mojo:x doclet-maven-plugin:1.0-alpha-2:xdoclet' in the plugin 'org.codehaus.mojo:xdoclet-maven-plugin' org/apache/tools/ant/PropertyHelper -----Message d'origine----- De : Bob Allison [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septembre 2007 01:32 À : Maven Users List Objet : Re: Xdoclet plugin for generating EJB sources of ejbdoclet project Are you sure that you are using XDoclet 1.3.2 and not 1.2.3? I do not see a version 1.3.x on the XDoclet home page. In my projects that use XDoclet, I specify: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xdoclet-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> <configuration> <tasks> <ejbdoclet ... > ... ... ... </ejbdoclet> </tasks> </configuration> </execution> </executions> </plugin> Using this downloads all of the correct bits and pieces from the repository for XDoclet 1.2.3 HTH ----- Original Message ----- From: "COPPENS, Fabien" <[EMAIL PROTECTED]> To: <users@maven.apache.org> Sent: Wednesday, September 05, 2007 10:36 AM Subject: Xdoclet plugin for generating EJB sources of ejbdoclet project I am trying to automate the build of an EJB project that was generated in Eclipse 3.2.2 using the Web Tools Platform (WTP 1.5.4) wizard for ejbdoclet projects. This WTP service is based on xdoclet 1.3.2 (I see that in the project facets). I get a failure when trying to use the plugin xdoclet-maven-plugin because it is apparently expecting xdoclet v2. When I look at repo1.maven.org/maven2/xdoclet-plugins, I see that there are many different xdoclet plugins, including one called xdoclet-plugin-ejb. Can someone point me to a xdoclet plugin that will be compatible with xdoclet 1.3.2 so that I can automate my EJB project build ? Fabien This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]