I kinda remember RAD has an option to automatically generate an EJB client
for all EJB projects, somewhere in the preferences.
Someone from the RAD team can probably confirm / give you better
instructions.

You can find some doc about RAD/m2e integration over
http://wiki.eclipse.org/M2E-WTP_FAQ#How_to_use_M2E-WTP_in_IBM_RAD.3F


On Sat, Aug 24, 2013 at 2:04 AM, Sander Verhagen <verha...@sander.com>wrote:

> Hi group,
>
>
> When I import a project (let's say EjbProject) which is a Maven EJB
> project into Eclipse/RAD using m2e (Import, "Existing Maven Projects") it
> imports reasonably nicely, but then:
>
> 1. Creates a client project (let's say EjbProjectClient) that is mostly
> empty, except for a MANIFEST.MF.
>
> 2. Complains within the main project (let's say EjbProject) as follows:
> Missing classpath entry to project "CONWAY_OPERATIONS_EJBClient" should be
> added because it is defined as a Java EE Module dependency.
>
> Below follow some snippets from my EJB project's POM.
>
> I don't want these new client projects since I have my own client
> projects. Your help appreciated.
>
> Best regards, Sander.
>
> (P.S.: I appreciate this may not be a m2e problem, but I have to start
> somewhere!)
>
>
>
>
> <packaging>ejb</packaging>
> ...
> <build>
>         <sourceDirectory>ejbModule</**sourceDirectory>
>         <outputDirectory>${project.**basedir}/bin</outputDirectory>
>         <resources>
>                 <resource>
>                         <directory>ejbModule</**directory>
>                         <excludes>
>                                 <exclude>**/*.java</exclude>
>                                 <exclude>**/*.class</exclude>
>                         </excludes>
>                 </resource>
>         </resources>
> ...
>         <plugin>
>                 <groupId>org.apache.maven.**plugins</groupId>
>                 <artifactId>maven-ejb-plugin</**artifactId>
>                 <version>2.3</version>
>                 <configuration>
>                         <archive>
>                         <manifest>
>                         <addClasspath>true</**addClasspath>
>                         </manifest>
>                         </archive>
>                         <excludes>
>                         <exclude>**/*.java</exclude>
>                         </excludes>
>                 </configuration>
>         </plugin>
>
>
> Sander Verhagen
> [ verha...@sander.com ]
> ______________________________**_________________
> m2e-users mailing list
> m2e-users@eclipse.org
> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to