Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the diff between ANT and MAVEN?

Answers were Sorted based on User's Feedback



what is the diff between ANT and MAVEN?..

Answer / vijaya

Apache Ant
•Ant doesn't have formal conventions like a common project
directory structure or default behavior. You have to tell
Ant exactly where to find the source and where to put the
output. Informal conventions have emerged over time, but
they haven't been codified into the product.

•Ant is procedural. You have to tell Ant exactly what to do
and when to do it. You have to tell it to compile, then
copy, then compress.

•Ant doesn't have a lifecycle. You have to define goals and
goal dependencies. You have to attach a sequence of tasks
to each goal manually.

Apache Maven
•Maven has conventions. It knows where your source code is
because you followed the convention. Maven's Compiler
plugin put the bytecode in target/classes, and it produces
a JAR file in target.

•Maven is declarative. All you had to do was create a
pom.xml file and put your source in the default directory.
Maven took care of the rest.

•Maven has a lifecycle which was invoked when you executed
mvn install. This command told Maven to execute a series of
sequential lifecycle phases until it reached the install
lifecycle phase. As a side-effect of this journey through
the lifecycle, Maven executed a number of default plugin
goals which did things like compile and create a JAR.

Is This Answer Correct ?    45 Yes 6 No

what is the diff between ANT and MAVEN?..

Answer / sethu

Dependency management in ant is nightmare. One should know complete knowledge(or depending on Dev. Team) to build a classpath. Maven solves all dependency issues itself via inheritence.

Versioning of artifacts in Ant nearly not possible(unless managing it independently). Maven by default does it.

Is This Answer Correct ?    8 Yes 2 No

Post New Answer

More Scripts AllOther Interview Questions

how can we move to the next column in excel sheet in file operation using descriptive programming inQTP?

0 Answers   HP,


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

0 Answers  


I Am Planning to Write ISTQB foundation level Ceritification of inida. can Any Body let me know how to prepare for it & Any Study material can you provide or Any other E-books i should need to Study. Please Mail to me ajaybe_2004@yahoo.co.in THnaks in advance Ajay

0 Answers  


can I name the build.xml with any name? if so how can I invoke ?

0 Answers  


what we will test in functionality testing

1 Answers  


How do you insert record into scripting using siebel crm

0 Answers   KPIT,


How to Communicate with JavaScript?

1 Answers  


what will this do? function show_alert value="Show User" eval("x=10; y=20; document.write(x*y)");

1 Answers  


If we add regular expressions to a script recorded in QTP, will it effect the performance of the script?

0 Answers  


a="10.20.30.1" replace 1 with 45 in python using reg ex

0 Answers   HCL,


What is a Scripting Language?

2 Answers  


database acl level has manager access.his name is listed in author and Reader fields. but he didn't sea a documents what is the reason?

0 Answers  


Categories