sorry, the artifact ID should be:

 <artifactId>maven-ejb-plugin</artifactId>



Edwin Punzalan wrote:


I maybe wrong but I think for the client jars to be included in the ejb jar, you should configure your ejb plugin to do so like:

....
 <plugins>
   ....
       <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-parent</artifactId>
           <configuration>
               <generateClient>true</generateClient>
           </configuration>
       </plugin>
   ....
   </plugins>

By default, <generateClient> is false.


[EMAIL PROTECTED] wrote:

For some reason my dependent jars aren't being included in my EJB jar when I
issue an "m2 package" command.  Here are the pertinent entries in my
pom.xml:

<packaging>ejb</packaging>

EXAMPLE dependent jar entry (on local repository only, not remote):
    <dependency>
      <groupId>lis</groupId>
      <artifactId>lis-model</artifactId>
      <version>SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>

Everything compiles fine, but all of the dependent jars under "compile"
scope don't get included in the EJB jar. Does anyone happen to know why this is?

Thanks!

Joel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to