Case against Maven?

Time and time again I read and heard how people were upset about Maven and how difficult it was. And it’s much easier to use Ant to create code.

However, to:

  • Compile code
  • Running tests
  • Deployment Package

This is all you need from Maven:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>type something here</groupId>
  <artifactId>type something here</artifactId>
  <version>type something here</version>
</project>

What will be the minimum Ant build file?

+3
source share
4 answers

ant. Maven, RoRspeak, . , , , , . , , , .

, , , , - , , ant ( , ), : , , . , , maven. , maven , , ant.

maven , maven, ant .

UPDATE

: , , Maven , , ant. maven, , , ant: (.. , , ant), ( ), , /... ant , , , .

+6

, Maven , , , .

Ant - , ( Ivy , Maven, Ant). , , . , , . , , , , ( , ).

Maven "" , , , . - . Maven , , 8 Fallalies of Distributed Computing. , . , - Maven, , . , , , Maven.

Maven , , , . , , . Maven . , , ? 6 ? , .

, Maven , Maven, , . , , Maven . Maven .

, Maven , - . Maven , . , .

Maven - , , , , .

Ant , , , , - . , . Ant . - (, Maven?) Ant . Ant (, XML), , , , . , Ant , , .

+8

Maven , , . ant , .

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

, Maven , antrun.

, , , Maven, Ant build script.

+4

( ) : Ant, POM, , Maven, Ant , , , , lingua franca , , Ant Maven .

Ant , Maven? -, , , Maven ( " Ant , , - Ant, Ant , Maven, , , , , , , Maven ." ) FUD. Maven Ant , ( Maven , Ant + ).

? . ( ), () Maven , . , , , Maven ( , ) ( Maven , strong > ). , Maven , , .

So, at the end (no offense here) such questions do not change anything, and I will simply quote the Maven and Ant guys: youll never agree. Nothing. Period. Deal with it !. (recommended post) to conclude:

All I say is: stop ranting. Either come up with non-abstract solutions, or shut up. Retelling is easy. Decision making using your own decisions to a lesser extent.

+3
source

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


All Articles