Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsWTP 3.0 and Maven2 for J2EE/JEE?
https://www.eclipse.org/forums/index.php/mv/msg/70199/219732/#msg_219732
3.0 but also build our J2EE/JEE project with Maven.
I have a set of eclipse projects in a flat structure using m2eclipse
working just fine.
i.e.
foo
foo-ear
foo-ejb
foo-war
However the problem is that these Eclipse projects are generic
m2eclipse/Java projects. They don't have the capabilities of the WTP EAR,
WAR, and EJB projects (no context menu etc.).
Is there a way to add WTP capabilities to these projects or convert them
to WTP projects while still having the maven dependency management work?
I've searched all over and see various people talking about it but have
yet to find a straightforward example of combining WTP 3.0 with Maven2 to
develop a standard J2EE/JEE application. I'm wondering if I'm approaching
it incorrectly.
If you have any suggestions / references they would be greatly appreciated.]]>Rich2008-08-28T16:35:31-00:00Re: WTP 3.0 and Maven2 for J2EE/JEE?
https://www.eclipse.org/forums/index.php/mv/msg/70199/219765/#msg_219765
The m2eclipse project [1] is in a process of moving to Eclipse [2] and
you can address your question to eclipse.technology.m2e group.
There is already support for WAR projects in m2eclipse [3] and we are
working on extending WTP integration to handle EJB and EAR projects.
I posted some questions to everyone interested in such support to
eclipse.technology.m2e group and if you could answer those or have test
projects that you can share with us, it would be a great help.
Rich wrote:
> I'm trying to find a basic example of how to use the sweet features in
> WTP 3.0 but also build our J2EE/JEE project with Maven.
> I have a set of eclipse projects in a flat structure using m2eclipse
> working just fine. i.e.
> foo
> foo-ear
> foo-ejb
> foo-war
>
> However the problem is that these Eclipse projects are generic
> m2eclipse/Java projects. They don't have the capabilities of the WTP
> EAR, WAR, and EJB projects (no context menu etc.).
>
> Is there a way to add WTP capabilities to these projects or convert
> them to WTP projects while still having the maven dependency
> management work?
> I've searched all over and see various people talking about it but
> have yet to find a straightforward example of combining WTP 3.0 with
> Maven2 to develop a standard J2EE/JEE application. I'm wondering if
> I'm approaching it incorrectly.
>
> If you have any suggestions / references they would be greatly
> appreciated.
>
>
>]]>Eugene Kuleshov2008-08-29T04:43:12-00:00Re: WTP 3.0 and Maven2 for J2EE/JEE?
https://www.eclipse.org/forums/index.php/mv/msg/70199/219831/#msg_219831
to it using the Maven context menu on the project.
You can also (hackishly) create a project with the natures in it that you
want and then merge files from that project into your .settings, .project,
and .classpath for the projects you want to add those natures to, because
eclipse uses text files for its project metadata. You may need to restart
eclipse afterwards.
> I'm trying to find a basic example of how to use the sweet features in
> WTP 3.0 but also build our J2EE/JEE project with Maven. I have a set of
> eclipse projects in a flat structure using m2eclipse working just fine.
> i.e.
> foo
> foo-ear
> foo-ejb
> foo-war
>
> However the problem is that these Eclipse projects are generic
> m2eclipse/Java projects. They don't have the capabilities of the WTP
> EAR, WAR, and EJB projects (no context menu etc.).
>
> Is there a way to add WTP capabilities to these projects or convert them
> to WTP projects while still having the maven dependency management work?
> I've searched all over and see various people talking about it but have
> yet to find a straightforward example of combining WTP 3.0 with Maven2
> to develop a standard J2EE/JEE application. I'm wondering if I'm
> approaching it incorrectly.
>
> If you have any suggestions / references they would be greatly
> appreciated.
>
>
--
--
Dobes Vandermeer
Technical Director, Habitsoft Inc. http://www.habitsoft.com]]>Dobes Vandermeer2008-08-30T00:51:40-00:00Re: WTP 3.0 and Maven2 for J2EE/JEE?
https://www.eclipse.org/forums/index.php/mv/msg/70199/219906/#msg_219906
https://bugs.eclipse.org/154251
There is a lot discussed there already.
"Rich " <rt@relativity.org> wrote in message
news:8be5b927a7bf8c9e49e74f28df0034ba$1@www.eclipse.org...
> I'm trying to find a basic example of how to use the sweet features in WTP
> 3.0 but also build our J2EE/JEE project with Maven.
> I have a set of eclipse projects in a flat structure using m2eclipse
> working just fine. i.e.
> foo
> foo-ear
> foo-ejb
> foo-war
>
> However the problem is that these Eclipse projects are generic
> m2eclipse/Java projects. They don't have the capabilities of the WTP EAR,
> WAR, and EJB projects (no context menu etc.).
>
> Is there a way to add WTP capabilities to these projects or convert them
> to WTP projects while still having the maven dependency management work?
> I've searched all over and see various people talking about it but have
> yet to find a straightforward example of combining WTP 3.0 with Maven2 to
> develop a standard J2EE/JEE application. I'm wondering if I'm approaching
> it incorrectly.
>
> If you have any suggestions / references they would be greatly
> appreciated.
>
>
>]]>Kaloyan Raev2008-09-02T09:01:27-00:00