OK, I guess we need to back one step. Do you have the basic understanding of
Maven? If not, I kindly ask you to read in the Maven definitve guide (
http://www.sonatype.com/books/maven-book/reference/) first so you understand
the basics.
If you're going to use Maven, you are going to create at least one Maven
project. A Maven project forms around the pom (pom.xml), that's how it
works. If you today have your source and everything in the tomcat structure,
I would suggest you move it out of there and deploy the built web app to
tomcat instead.

Oh, and so there are no misunderstandings, you are moving from ant to maven,
right?

/Anders

On Fri, Aug 21, 2009 at 09:25, Venkat.krsna <[email protected]>wrote:

>
> Hi thanks for your response. I am not creating any maven project. I just
> having my java-tomcat web project in tomcat webapps folder. I just map this
> java sources in maven2 tool for build my web project through maven2. Where
> i
> am going to map my tomcat web application java sources into maven 2?
>
>
>
> Jochen Wiedmann wrote:
> >
> > Use the Tomcat sysdeo plugin and configure it to use to configure
> > Tomcat that your webapp is not in its own webapps folder, but in
> > <YourProject>/target/<YourWebApp>.
> >
> >
> > On Fri, Aug 21, 2009 at 9:11 AM,
> > Venkat.krsna<[email protected]> wrote:
> >>
> >> Hi,
> >>       I am new to maven tool. My objective is i am having a tomcat web
> >> project and build the java source files using apache-ant-1.7
> >> (C:\apache-ant-1.7.1). I have to use the maven2 tool for build purpose.
> >> But
> >> I dont know how to configure the project in my tomcat folder in maven
> >> pom.xml file.
> >>      Please take this criteria. I am having a web project AAA in my
> >> tomcat
> >> installed folder.
> >> I want to build the project AAA
> >> (which is in the location C:\Program Files\Apache Software
> >> Foundation\Tomcat
> >> 5.5\webapps\AAA ) through maven2. maven installed location is C:\Program
> >> Files\Apache Software Foundation\apache-maven-2.2.1.
> >>
> >>    Please help me.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Maven-for-java-tomcat-webproject-tp25075210p25075210.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
> >
> >
> > --
> > Base64 decoding, 300% faster than sun.misc.BASE64Decoder:
> > http://archive.netbsd.se/?ml=commons-dev&a=2008-05&t=7522166
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Maven-for-java-tomcat-webproject-tp25075210p25075351.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to