Create third jar artifact containing common code.  war and ejb include
common jar as dependencies.

On 1/26/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote:

The common code needs to into war file too. How could I do that without
using two copies of the common code?

Thanks

Maruf



Niels Gylling wrote:
> ejbs can only depend on jars, so create a shared module artifact
> containing common code.
>
> /Niels
>
> Maruf Aytekin wrote:
>> Hi
>>
>> I have a multi module project as below:
>>
>> main/pom
>> ---------
>>   |----war/ pom
>>   |---- ejb/pom
>>
>> ejb and war project are the subprojects for main. some classes in ejb
>> depends on the classes in war project. Since packaging is war for
>> this project howshould i define this dependency? Is there a standart
>> way to do this?
>>
>> Many thanks in advance
>>
>> Maruf
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

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


Reply via email to