You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas FRANK <nf...@financeactive.com> on 2003/04/14 19:20:18 UTC

How to define a compile dependency on an ejb ?

I need to compile an ejb E1 which depend on an other ejb E2, but I don't want
E2 to be include in my ejb-E1.jar. I know this is not a good practice (I
should have a client jar), but as ejb-E2 is only accessible on server side
and that te all stuff will be put in the same ear I don't want to bother with
this right now... Is there a way to do it, as the dependency mechanism seems
to only allow to use <jar> for compile dependency (I don't want to use
bundle.ejb as this will include it)? ?

Thank's.

Nicolas

Example:
<dependency>
      <groupId>myGroup</groupId>
      <artifactId>ejb-E2</artifactId>
      <jar>ejb-E2.jar</jar>
</dependency>

Requires me to put the ejb in jars but I would like something like :
<dependency>
      <groupId>myGroup</groupId>
      <artifactId>ejb-E2</artifactId>
      <ejb>ejb-E2.jar</ejb>
</dependency>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org