You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by copernic Jeremy <co...@gmail.com> on 2007/05/04 16:38:17 UTC

Generating ejb-client jar using ejb 3.0??

Hy everyone,

Is there any way to generate an ejb-client jar with EJB 3.0? I have tried
these following configuration using the maven-ejb-plugin
2.1-Snapshotwithout success :
Note that I have a dependency on javax.ejb.

Thanks in advance!
Copernic

...
 <dependency>
        <groupId>javax.ejb</groupId>
    <artifactId>ejb</artifactId>
    <version>3.0</version>
 </dependency>
....

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
        <configuration>
           <ejbVersion>3.0</ejbVersion>
            <generateClient>true</generateClient>
        </configuration>
      </plugin>
</build>