English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Maven is a Yiddish word, meaning the accumulation of knowledge. Maven is a tool used to build and manage Java-based projects. In simple terms, it is a way to manage dependencies for Java-based projects. When building projects using POM (Project Object Model) on large projects, Maven can be used.
The following are the goals that can be achieved using Maven-
Easier and more unified build process.
Provide high-quality project information
Easy to install
Best Practice Development
Manage dependencies
Let's understand one by one
Easier and more solid build process-
Maven provides the pom.xml configuration file, where all projects share all the information, such as the construction directory, source directory, and the set of source directories for test plugins, etc.
Provide high-quality project information-
Maven provides information that exists in the pom. It provides unit test reports, mailing list lists, dependency lists, cross-references sources, and more.
Simple Documentation-
It will automatically manage the build, compilation, documentation, and other related project tasks for Selenium test projects. It helps to create an appropriate project structure and add and manage jar files in the project build path.
Best Practice Development-
通过收集当前最佳实践开发的原则,它可以轻松地指导项目。测试源代码保存在单独但并行的源树中。命名约定用于查找和执行测试用例。通过适当的项目结构,我们可以轻松导航到使用Maven的其他项目。
By collecting the principles of current best practices for development, it can easily guide the project. Test source code is stored in a separate but parallel source tree. Naming conventions are used to locate and execute test cases. Through an appropriate project structure, we can easily navigate to other projects using Maven.-
Manage dependencies2According to the WebDriver version, Maven is named m