m2e-wtp doesn't do any deployment by itself. This is the server adapter responsibility to unpack archives during deployment. I *think*, you should ask on https://forums.oracle.com/forums/forum.jspa?forumID=578 or whatever place you can find support for the glassfish server adapter (let me know if you find out)
Regards, Fred Bricon On Tue, Sep 25, 2012 at 2:38 PM, Steve Hostettler <steve.hostett...@b-i.com>wrote: > Hello, > > first let me thanks the m2e* team for the great job. I work on a rather > large project organized as follow: > > -EAR > > -EJB A1 > -EJB A2 > -WAR A3 > > > -EJB C1 > -EJB C2 > -WAR C3 > > -EJB C1 > -EJB C2 > -WAR C3 > > Developers usually only work on one or two projects. Say EJB A2 and WAR > A3. The other dependencies are pulled from the nexus. > > Now the problem is that I would like to test the whole thing (that is the > ear). When deploying the ear on glassfish under eclipse I get the following > error message: > "Expected to find an expanded directory for submodule {0} but found a JAR. > If this is a directory deployment be sure to expand all submodules." > > I tried to put <unpack>true</unpack> on all modules of the pom.xml but it > did not solve the problem > > This comes from the fact that m2e-wtp do not unpack the jars/wars that are > not part of the workspace. > > > Have someone any idea on how to solve that? > > > Many thanks in advance > Steve > _______________________________________________ > m2e-users mailing list > m2e-users@eclipse.org > 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