That's how I build my J2EE projects, too. I usually have a couple
/jarN and /ejb directories under there too.

Wayne

On 6/27/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
I don't know if it would be a best practice, but I've been creating projects
that contains 3 poms...

/pom.xml
/war/pom.xml
/ear/pom.xml

First pom only references the other two poms as modules.
The entire project can be built from the first pom.


On 6/27/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I have dozens of web services that are being created as WAR's. For
> consistency, each WAR that is deployed on seperate machines will be
> packaged
> as an EAR. Thus, each war also needed to be packaged into an EAR.
>
> Is there a better more "Best-Practices" way of doing this?
>
>
>
>
> On 6/27/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Why?? While you might be able to configure this with some complex pom
> > file, I don't see the point when it is far easier (and actually
> > supported) to do this in 2 pom.xml files.
> >
> > Wayne
> >
> > On 6/27/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > I want to create a war and an ear in one module (pom.xml)
> > >
> > > --
> > > ---
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/djmick_dot_com
> > > http://www.myspace.com/sexybeotches
> > > http://www.thumpradio.com
> > > ---
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> ---
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to