Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e-wtp: wrong EJB-client dependency usage inside eclipse

Hello Fred,

On 27 August 2011 05:48, Fred Bricon <fbricon@xxxxxxxxx> wrote:
> Sorry, but ejb-client is not supported yet in m2e-wtp (See
> https://issues.sonatype.org/browse/MECLIPSEWTP-26)
> In order to implement proper ejb-client support, Eclipse WTP needs to open
> up it's API (https://bugs.eclipse.org/bugs/show_bug.cgi?id=330894)

Thank you for this info.


> One possible workaround for you is to create a new dedicated module
> containing your interfaces (and any relevant classes) and acting as your ejb
> client. All other modules would depend on it. I know it's not perfect but it
> should work.

What kind of maven-packaging has this dedicated module to be?
- I tried "jar", but the final ear uses the ear plugin and refuses a jar.
- I tried "ejb", but then I have to add an annotated EJB, because
empty ejb-archives are refused by the app-server


> Other users might know & share better workarounds.


Regards,
Lars


Back to the top