facebook

myeclipse und m2eclipse maven plugin

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #285187 Reply

    stephan.k
    Member

    Hallo!
    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
    -stephan

    #285211

    Riyad Kalla
    Member

    This message has not been recovered.

    #285521

    Michael Laccetti
    Participant

    Are there Maven-related features in 6.5 GA that aren’t in 6.5m1?

    #285550

    Riyad Kalla
    Member

    Yes, 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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: myeclipse und m2eclipse maven plugin

You must be logged in to post in the forum log in