- This topic has 3 replies, 3 voices, and was last updated 17 years, 1 month ago by
Riyad Kalla.
-
AuthorPosts
-
stephan.kMemberHallo!
I dug through a lot of post concerning myeclipse an maven integration without no real result
I’m coming form wtp and trying myeclipse because the glassfish connector seams much better engineered than the wtp one. (It’s capable of exploded deploys, it can deploy a ejbs without a ear).
The m2eclipse plugin is quit ok integrated in wtp, just mark the maven dependency container as export and everything works fine.
It works the same way in myeclipse, if you add a jar (f.g. commons collections) to the pom and mark the maven container as export, it is deployed correctly to the /lib directory of the ear.
In wtp I use m2eclipse plugin also to add depended projects (if you open maven dependencies of the project, this is displayed with a folder icon instead of the jar icon) after adding a project reference to my .pom file, myeclipse stops deploying the project:test-ear could not be redeployed because it could no be completely removed in the undeployment phase. The most common cause of this problem is attempting to redeploy thile the server is running, which has locked one or more files.
Start-Stop-redeploy does not help until I remove the project reference form the pom.
WTP packages the depended project as a separate jar file inside the ear.I’m trying to follow Sahoo’s advice (form glassfish dev team) and produced this structure with m2eclipse and wtp.
lib/entities.jar
lib/ejb-interfaces.jar
ejbs.jar
web-app2.war
appclient.jar(http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html)
How to get this in myeclipse with m2eclipse, any chance?
BTW, i’m getting myeclipse from pulse, this combination seams to rock a lot.
Thanks
-stephanMay 21, 2008 at 12:05 pm #285211
Riyad KallaMemberThis message has not been recovered.
May 31, 2008 at 11:23 pm #285521
Michael LaccettiParticipantAre there Maven-related features in 6.5 GA that aren’t in 6.5m1?
June 2, 2008 at 11:50 am #285550
Riyad KallaMemberYes, none of the Maven work made it into M1. It will be a bit trimmed back, but it’s the first cut at Maven support for us, we need to take it slowly and safely to make sure we don’t break something big.
-
AuthorPosts