I don't think so. You need to create a multi-module project, where you have at least one war module and one ear module. Preferably, you also move the java code to a separate jar module.
/Anders On Thu, Mar 10, 2011 at 22:30, Sonam Nepali <sonam.nep...@imail.org> wrote: > Hello > > I have one Maven project which contains the java source code and webapp > folder. Is there a way to build a JEE ear file using just this project? I > have tried maven-ear-plugin but it does not work. > > Thanks > > Sonam >