Hmm, possibly. But that's not the Maven way. So don't go there!

/Anders

On Mon, Nov 23, 2009 at 11:21, <pinky.muralid...@wipro.com> wrote:

> Thanks. It was helpful. Is there any way to make projA as war.
>
>
> Thanks,
> Pinky Muralidhar.
>
> -----Original Message-----
> From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On
> Behalf Of Anders Hammar
> Sent: Monday, November 23, 2009 12:24 PM
> To: Maven Users List
> Subject: Re: Building sub projects pom from parent's pom.
>
> projA should not be a war project, it should merely be a aggregation
> pom.
> Move your war project to a sub-project.
> Read this:
> http://www.sonatype.com/books/maven-book/reference/multimodule.html
>
> /Anders
>
> On Mon, Nov 23, 2009 at 07:45, <pinky.muralid...@wipro.com> wrote:
>
> >
> > Hi,
> >
> > I am new to maven.  Anyways I was able to build my war using maven
> > build. I wanted to move forward from where I need to call other
> > dependent sub project's maven.cmd first from my pom.xml.
> >
> >
> > My project structure looks like this :
> >
> > projA
> > |
> > |-subProjA
> > |     |-pom.xml
> > |     |- maven.cmd
> > |
> > |-subProjB
> > |     |-pom.xml
> > |     |- maven.cmd
> > |
> > |-subProjC
> > |     |-pom.xml
> > |     |- maven.cmd
> > |
> > |-pom.xml
> > |- maven.cmd
> >
> > projA's pom.xml must be able to call all subProj's maven.cmd before
> > building the projA.war. Please guide me.
> >
> > Thanks in Advance,
> > Pinky Muralidhar.
> >
> >
> >
> > Please do not print this email unless it is absolutely necessary.
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive use of the
> > addressee(s) and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, you should not
> > disseminate, distribute or copy this e-mail. Please notify the sender
> > immediately and destroy all copies of this message and any
> attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient
> > should check this email and any attachments for the presence of
> > viruses. The company accepts no liability for any damage caused by any
>
> > virus transmitted by this email.
> >
> > www.wipro.com
> >
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to