About build tools
Gradle and Maven are two popular build tools. Build tools are software that automates the project build process. Such as compile code, download dependencies, run tests, package jar, release artifact ..., build tools encapsulate these reusable commands and processes into simpler commands, making project builds more standardized and consistent.
How is maven ?
Maven is a long-established and classic Java project build tool. Its core idea is convention over configuration .
Maven specifies that configuration files should be written in XML and specifies a standard directory structure.
βββ src/main/java βββ src/test/java βββ pom.xml
Enter fullscreen mode
Exit fullscreen mode
<dependencies> <dependency> <groupId> org.springframework </groupId> <artifactId> spring-core </artifactId> <version> 6.0.0 </version> </dependency> </dependencies>
Enter fullscreen mode
Exit fullscreen mode
Therefore, its advantages are standardization, high readability, and ease of unifying enterpriseβ¦