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