maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Punzalan <epunza...@exist.com>
Subject Re: M2 - Dependent Jars for EJB
Date Wed, 22 Jun 2005 03:08:56 GMT
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.
>
>
> JWiegman@lis.state.oh.us 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>  
>>
>

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


Mime
View raw message