You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sh...@wipro.com on 2010/05/05 06:23:52 UTC

Ant to Maven migration

Hi,

 

I have a build.xml for my project. War file is generated using ant.

Is it possible to convert my project to maven project using maven ant
run plugin.

Please help me out.

 

Regards,

Shalini.

 

 


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

Re: Ant to Maven migration

Posted by Anders Hammar <an...@hammar.net>.
Many things are technically possible. But likely not the best way. If you
have a not too complicated project, I would suggest creating correctly Maven
structured project(s) using proper Maven plugins (like the war plugin). Will
make your Maven life easier in the long run and you get a standardized
structure, which Maven is much about.

/Anders

On Wed, May 5, 2010 at 06:23, <sh...@wipro.com> wrote:

> Hi,
>
>
>
> I have a build.xml for my project. War file is generated using ant.
>
> Is it possible to convert my project to maven project using maven ant
> run plugin.
>
> Please help me out.
>
>
>
> Regards,
>
> Shalini.
>
>
>
>
>
>
> 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
>

Re: Ant to Maven migration

Posted by Kalpak Gadre <ka...@gmail.com>.
Hi Shalini,

You can! But then you are really not using Maven. You are just using 
Maven to invoke your Ant.

I recommend you read more about Maven to really understand how you can 
do it effectively using Maven.

After you have read the basics you can look at this 
http://maven.apache.org/guides/mini/guide-webapp.html

Thanks,

Kalpak


> Hi,
>
>
>
> I have a build.xml for my project. War file is generated using ant.
>
> Is it possible to convert my project to maven project using maven ant
> run plugin.
>
> Please help me out.
>
>
>
> Regards,
>
> Shalini.
>
>
>
>
>
>
> 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
>
>