Convention is at the heart of Maven. Convention over configuration is a popular aphorism these days, and Maven fully embraces this concept. Convention over configuration is at the central philosophy of frameworks such as Ruby on Rails, and more recently, the EJB3 specification. In its most basic sense it means that, while configuration is certainly necessary, the majority of users will never utilize such edge-cases those complex configurations provide. Although a powerful framework certainly needs to have the power to configure when necessary, it is certainly reasonable to create defaults to allow the 95% of similar use-cases to work without defining anything at all... the system can assume these defaults. In other words, the system has its own convention. Because of this, the monstrous configurations required of build tools like Ant (where a majority of Ant scripts are cut-and-pasted from existing projects) are non-existent for those projects that follow Maven's conventions.
Another driving force behind the popularity of convention over configuration is the speed at which new users may pick up a new technology, or the speed by which a seasoned user may begin using the tool without concerning him/herself with details that need not come up until later in the development process. The computer world is finally beginning to embrace the idea that ease of use and reduced configurations do not have to interfere with the power of advanced configurability. Convention and configuration reside together within the Maven world, each providing their own unique perspective of a power tool.
分享到:
相关推荐
Maven: The Complete Reference The essential reference for anyone working with Apache Maven. Explore the details of the POM, Maven Settings, Maven Archetypes.
maven the complete refrence 英文版
maven Maven 是一种流行且功能强大的项目管理工具,主要用于构建、发布和管理 Java 项目。本文将介绍 Maven 的基本概念、核心功能和优势,以及它在项目开发中的重要作用。 第一部分:Maven 的基本概念 解释 Maven...
Maven: the complete reference
Maven: The Complete Reference 英文版的 学习Maven很好的书啊
对应Maven信息:groupId:commons-configuration,artifactId:commons-configuration,version:1.10 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的...
如何输入关键字,寻找需要依赖jar的MAVEN坐标,需要提供确切的MAVEN坐标 1.Sonatype Nexus 地址: https://repository.sonatype.org 2. Jarvana 地址: http://www.jarvana.com/jarvana 3.MVNbrowser 地址: ...
maven:modbus.jar modbus4j
datax_maven:“ before_maven:1)Datax:将各个阅读器和写入器目录下的文件,分别放到datax源码的对应目录下2)maven:修改maven安装包的配置文件,或者.m2下的配置文件。-然后2.after_maven:1)...
Maven更新问题 今天Maven在更新的时候发现一直更新不成功,总结下解决方法。 在apache-maven-3.5.2/conf/setting.xml中加入以下配置即可解决 alimaven aliyun maven ...
Maven坐标:commons-configuration:commons-configuration:1.7; 标签:commons、configuration、中文文档、jar包、java; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 ...
本书采用示例的方式介绍了Maven的相关核心概念 This book is an introduction to Apache Maven which uses a set of examples to demonstrate core concepts. Starting with a simple Maven project which contains...
Maven坐标:commons-configuration:commons-configuration:1.7; 标签:commons、configuration、中英对照文档、jar包、java; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。...
魅力Maven插件 该插件在Maven构建过程中通过生成Allure报告。入门pom.xml添加到pom.xml构建部分: <plugin><groupId>io.qameta.allure</groupId><artifactId>allure-maven</artifactId><version>2.9</version></...
赠送Maven依赖信息文件:commons-configuration2-2.1.1.pom; 包含翻译后的API文档:commons-configuration2-2.1.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.apache.commons:commons-configuration2:...
标签:configuration、commons、jar包、java、中英对照文档; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,...
rules_maven 规则 Maven 规则用于处理传递Maven依赖项。...load ( "@org_pubref_rules_maven//maven:rules.bzl" , "maven_repositories" ) maven_repositories () 2a。 定义一个初始的maven_repository
阿尔法雷德Alfred3工作流程以搜索Maven依赖项安装使用npm $ npm install --global alfred-maven需要 4+和Alfred 。 或从下载alfredworkflow文件强调更快,更准确。 组和版本搜索。 将依赖项复制到剪贴板。 在浏览器...