Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A34D010ACD for ; Fri, 14 Jun 2013 04:12:35 +0000 (UTC) Received: (qmail 64435 invoked by uid 500); 14 Jun 2013 04:12:33 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 64234 invoked by uid 500); 14 Jun 2013 04:12:32 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 63941 invoked by uid 99); 14 Jun 2013 04:12:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 04:12:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [24.37.79.202] (HELO smtp.artifact-software.com) (24.37.79.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 04:12:26 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.artifact-software.com (Postfix) with ESMTP id 365716A7B6A for ; Fri, 14 Jun 2013 00:12:04 -0400 (EDT) X-Virus-Scanned: amavisd-new at artifact-software.com Received: from smtp.artifact-software.com ([127.0.0.1]) by localhost (smtp.artifact-software.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6mM1X2dw4fb8 for ; Fri, 14 Jun 2013 00:11:56 -0400 (EDT) Received: from [192.168.3.170] (unknown [192.168.3.170]) by smtp.artifact-software.com (Postfix) with ESMTP id B95516A7B3D for ; Fri, 14 Jun 2013 00:11:56 -0400 (EDT) Message-ID: <51BA9809.2090406@artifact-software.com> Date: Fri, 14 Jun 2013 00:11:53 -0400 From: Ron Wheeler Reply-To: rwheeler@artifact-software.com Organization: Artifact Software User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: Ant Project Convert To Maven References: <1371173444429-5759284.post@n5.nabble.com> <93212ABE-04C3-4449-91BA-DB0CB8D45F4E@gold-family.us> In-Reply-To: <93212ABE-04C3-4449-91BA-DB0CB8D45F4E@gold-family.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Start by scanning a few of the free books and articles about Maven. This will give you a good overview of the Maven way of looking at things. I use Eclipse/STS from SpringSource http://www.springsource.org/sts. It is a very good Maven IDE and comes ready to go with a single download. I am sure that you will find a lot of Netbeans users here who are also happy. Maven is driven by convention and is very set in its ways. Forget anything that you know about Ant and be prepared to completely rethink your build processes. If you try to make Maven into an advanced Ant build, you will have a big fight on your hands until you change your mind. Maven will not change its mind about building software no matter how hard you try to bend it to your will. Start out with a simple Maven project model and get it working before you try to optimize your process. A lot of people get into trouble by trying to implement advanced automation before they get their project to build as a simple Maven project. In the end, you will have a much more repeatable build process that can be shared with your team without having to explain the steps. It is pretty easy and safe to pick up someone's maven project and rebuild it without having to read their POM files. Ron On 13/06/2013 11:50 PM, Russell Gold wrote: > 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 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 , > and listen to the Misfile radio play ! > > > > > -- Ron Wheeler President Artifact Software Inc email: rwheeler@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org