Hi Raja,

Having done this several times, with projects of varying complexity, I am sorry 
to say that AFAIK there is no automated way to do it. The problem is that ant 
is a very free form scripting language that allows you to describe builds - but 
ant writers cannot be guaranteed to do everything the same way.

Ant does not require any particular conventions for organizing source trees, 
invocation of external programs to process code, or even require a single 
source tree to map to a single artifact. Bottom line is, you're going to have 
to do the change manually. Now if your project is simple, turning it into a 
maven build is trivial. But I've spent a couple of works converting one 
project, and am in the middle of a massive one with a couple of hundred ant 
scripts and a few dozen special processing steps, that I expect to take several 
months to convert.

Do you have any specific questions about converting your build? How complex is 
it?

- Russ


On Jun 13, 2013, at 9:30 PM, RajaPrlabu <[email protected]> wrote:

> Hi, all:Sorry for my entry-level question. Is it possible for me to convert
> from an Ant project to A Maven project from within NetBeans IDE or Eclipse
> IDE.which is the best IDE.Or, is there any method to convert from an Ant
> project to a Maven project using some command line method? Or, any standard
> method to do so?1.How to convert Spring MVC Project using Ant convert into
> Maven nexus.could u please provide me Following Steps.ThanksRaja k
> 
> 
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Ant-Project-Convert-To-Maven-tp5759284.html
> Sent from the Maven - Users mailing list archive at Nabble.com.

-----------------
Come read my webnovel, Take a Lemon <http://www.takealemon.com>, 
and listen to the Misfile radio play 
<http://www.gold-family.us/audio/misfile.html>!




Reply via email to