You don't need to configure it to be included in the application.xml
since it's an ejb-client. Declaring it as a dependency is enough.
http://maven.apache.org/plugins/maven-ear-plugin/howto.html

s/


On 6/7/06, Stefan Arentz <[EMAIL PROTECTED]> wrote:
On 6/7/06, Roland Asmann <[EMAIL PROTECTED]> wrote:
> The problem is the fact that you try to add it as a JAR (<javaModule>), but 
you have a dependency on it as
> an ejb-client (<type>ejb-client</type>).
> Should it be just a jar, then you should remove the <type>, if it should be an EJB, 
replace <javaModule> with
> <ejbModule>.

Ok I have the right solution.

Keep the dependency type set to 'ejb-client'.

Then use:

<ejbClientModule>
   <groupId>project1</groupId>
   <artifactId>project1-ejb</artifactId>
   <includeInApplicationXml>true</includeInApplicationXml>
</ejbClientModule>

Maybe we should start a paypal fund and get someone to write real
documentation. Little things like this take hours to figure out. Big
waste of time.

 S.

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




--
.::You're welcome ::.

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

Reply via email to