[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Import EjbProject creates EjbProjectClient
|
Hi,
It being at a point where I'm not trying to deal with EARs (yet) the
"Add project to an EAR" is a pretty misleading check box, but it is at
least one that works! Thanks for the help, over and out!
Sander.
Sander Verhagen
[ Verhagen@xxxxxxxxxx ]
On 26-8-2013 7:26, Roberto Sanchez Herrera/Mexico/IBM wrote:
In RAD, you can go to Windows > Preferences > Java EE > Project and
uncheck the option "Add project to an EAR" to prevent this.
Regards,
*Roberto Sanchez Herrera*
From: Fred Bricon <fbricon@xxxxxxxxx>
To: Maven Integration for Eclipse users mailing list
<m2e-users@xxxxxxxxxxx>
Date: 24-08-13 10:32
Subject: Re: [m2e-users] Import EjbProject creates EjbProjectClient
Sent by: m2e-users-bounces@xxxxxxxxxxx
------------------------------------------------------------------------
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 <_verhagen@sander.com_
<mailto:verhagen@xxxxxxxxxx>> 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
[ Verhagen@xxxxxxxxxx ]
_______________________________________________
m2e-users mailing list_
__m2e-users@eclipse.org_ <mailto:m2e-users@xxxxxxxxxxx>_
__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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users