Diogo,

In maven2, there's no more properties file. All definitions stay in the pom.xml.

With or without the 
<config><plugin>org.xdoclet.plugin.ejb.EjbConfig</plugin></config>, I have the 
same result.

[]s
Thiago.

-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nome de
Diogo Quintela (EF)
Enviada em: quinta-feira, 27 de abril de 2006 06:31
Para: xdoclet-plugins-interest@lists.sourceforge.net
Assunto: RE: [xdoclet-plugins-interest] maven2 plugin + ejb plugin


EjbConfig and EjbJarXmlPlugin
must be running in the same xdoclet run

I haven't used maven2 plugin yet but as I recall in maven1 plugin you needed
to define the plugin definitions in a single property line (separated by
',')

Regards
Diogo

-----------------------------------
Diogo Bacelar Quintela
EF - Tecnologias de Informação, Lda.
Av. António Serpa, 26 - 4º Dto.
1050-027 Lisboa, Portugal
Tel: (+351) 217 827 800
Fax: (+351) 217 827 830
Email: [EMAIL PROTECTED]
PGP: 0xF51A5AB9 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Thiago Gozzi Prado
> Sent: quarta-feira, 26 de Abril de 2006 22:34
> To: xdoclet-plugins-interest@lists.sourceforge.net
> Subject: [xdoclet-plugins-interest] maven2 plugin + ejb plugin
> 
> Hello folks,
> 
> I'm trying to generate EJB stuff with ejb-plugin and maven2.
> 
> I've followed the Maven2 plugin page step by step. It worked fine
> for xdoclet-plugin-web (org.xdoclet.plugin.web.TaglibPlugin) and
> xdoclet-plugin-hibernate
> (org.xdoclet.plugin.hibernate.HibernateMappingPlugin),
> 
> but it didn't work for xdoclet-plugin-ejb
> (org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin).
> 
> Here the "plugins" section of my pom.xml:
> 
>  <plugins>
>   <plugin>
>     <groupId>xdoclet</groupId>
>     <artifactId>maven2-xdoclet2-plugin</artifactId>
>     <configuration>
>       <configs>
>           <config>
>             <plugin>org.xdoclet.plugin.ejb.EjbConfig</plugin>
>           </config>
>           <config>
> 
> <plugin>org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin</plugin>
>           </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-ejb</artifactId>
>           <version>1.0.4-SNAPSHOT</version>
>         </dependency>
>         <dependency>
>           <groupId>javax.ejb</groupId>
>           <artifactId>ejb</artifactId>
>           <version>2.1</version>
>         </dependency>
>       </dependencies>
> 
>     <executions>
>       <execution>
>         <goals>
>           <goal>xdoclet</goal>
>         </goals>
>       </execution>
>     </executions>
>   </plugin>
>  </plugins>
> 
> And here the message I've got:
> 
> [INFO] -------------------------------------------------------------------
> -----
> [ERROR] BUILD ERROR
> [INFO] -------------------------------------------------------------------
> -----
> [INFO] XDoclet plugin failed:
> org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin has unsatisfied
> dependency: class org.xdoclet.plugin.ejb.EjbConfig among unsatisfiable
> dependencies: [[class org.generama.JellyTemplateEngine, interface
> org.generama.QDoxCapableMetadataProvider, interface
> org.generama.WriterMapper, class org.xdoclet.plugin.ejb.EjbConfig]]
> where [EMAIL PROTECTED] was the
> leaf container being asked for dependenciess.
> 
> Any ideas?
> 
> --
> []s
> Thiago.
> 
> 


-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to