Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Glassfish, EAR, m2e/wtp and all that

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

Back to the top