java - Is Maven better than the ant building tool for deploy an EAR project -


i using ant 1.8 in ear project jboss 4.0.5 technology using jee 1.5 struts 1.2

i have 3 jars deployed in ear directory of jboss.

currently ant used building project , takes around 30second build 1gb project.

i want change building tool ant maven ?

will maven more full , faster ?

i think, in case, gradle suits particular needs better maven.

faster builds

will maven more full , faster ?

incremental builds feature helps making build faster, maven doesn't support them. know there exists plugins offers out of box incremental builds have not use them.

instead gradle scales well , offers state-of-art in incremental building: "incremental builds" other multi-project builds feature big time saver larger builds.

reusing ant deploy targets

i have 3 jars deployed in ear directory of jboss.

don't worry if think gradle isn't mature maven when comes release deployment: gradle first build integration tool. can reuse favourite reliabile ant deploy targets gradle, , can extend them importing them in gradle , writing extension directly in gradle domain specific language, without touching ant script

when comes more mature days in deploying gradle can modify task in build.gradle deleting ant deploy target import , using new deploy gradle plugin: gradle task chain remain same when used ant.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -