Maven is a good / common practice to use it only for mgmt dependency and then let ant do the rest ..?

I am new to maven.

Besides using for dependency management, I use it a little.

It was hard to write pom.xml that I generated ant build.xml from one of the maven tasks (which is a good convenient task ...) I had to configure the build.xml file that maven created. And now all my compilation, testing, etc. Executed using this build.xml ..

Is such a combination common? I am thinking of making it permanent in my project.

+3
source share
8 answers

Besides using for dependency management, I use it a little.

, :) - Maven, Maven . Maven: :

Maven - , , , , . Maven, , Maven ( ) .

Maven ( , , , ), Maven ( Ant, , , , .. , script, , ), Maven maven ( DRY-, , / ), Maven , ( , , , , ...).

, Maven lingua franca , Maven vs. Ant (+ Ivy, ), Maven vs. Buildr, Maven vs. Gradle , .

? , .

, , . ( , , , Ant), Maven. , Maven, , , , . , , SO, Maven .. .

+8

, , Maven , Ant pom.xml?

Dep-Mgmt, Maven , jar . .

pom.xml Ant. Ant pom.xml, , .

pom.xml?

, . , IDE pom.xml, .

+3

Maven, , ... . , , . , Maven - . , , Maven, .

, Maven , , Apache; , , , "jar version hell". , , .

: , , . Maven , Ant. , Maven, , , "" Maven, Ant. , , , , .

, .

+2

Maven, . , ( ):

  • , Ant, , . Any, , Ant . Maven. , Maven, , ( Ant) , . ( , ...).
  • !... . , Maven (, Hadoop), . , - , , . - Maven, Nexus. .
  • Maven - . , .
+2

pom.xml, ant build.xml maven ( ...) build.xml maven. , .. build.xml..

. maven archetype pom:)

? , .

JBoss Seam Maven Maven. , Ant, Maven, .

+1

Ant, Ivy. Maven - .

Maven , , , ( ). , , , Ivy + Ant.

0

, , Maven, , . , , , Maven , -, , . , -, "" (/ ..), -

  • ,
  • , " maven" ( , , "" ),
  • maven, , , .

I would really like to have a command line tool that can implement the Maven function, which I need as a dependency, and I get it, possibly even using pom.xml files of various packages. Then I could just use this in the Makefile and be happy :)

0
source

A simple answer to the question: YES <- click on the link for detailed information and reasoning.

0
source

Source: https://habr.com/ru/post/1722138/


All Articles