`
lingqi1818
  • 浏览: 252226 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

使用maven的好处

阅读更多
John Casey
standardization
reuse
consistency wrt build output
dependency management
scalability (lower level of additional info/code to add a new step to the build process)
Ashley williams
Dependency management
Build lifecycle management
Large existing repository
Eclipse aware (sort of)
Well documented (hopefully soon)
Eric Hartmann
One directory layout,
A single way to define dependencies,
Setting up a project is really fast,
99% of my needs are available out of the box,
Transitive dependencies ! :-)
Vincent Massol
common build structure
build best practices enforcement (shared build meme)
automated build of application, from source code to pre-production platform => fast time to market with reduced risks
works well with distributed teams ;-) Location doesn't matter.
Compared to Ant:

Higher level of reusability between builds
Faster turn around time to set up a powerful build (once you're used to Maven)
Less maintenance
Shared build meme. I know how to build any maven project
Greater momentum: Ant is now legacy and not moving fast ahead. Maven is forging ahead fast and there's a potential of having lots of high-value tools around Maven (CI, Dashboard project, IDE integration, etc).
Emmanuel Venisse
All artifacts are versionned and store in a repository
build process is standardized for all projects
a lot of goals are available so it isn't necessary to develop some specific build process part contrary to ANT we can reuse existing ANT tasks in build process with antrun plugin
it provide quality project information with generated site
Easy to learn and use
David Jackman
Dependency management
Makes the build process much easier at the project level (i.e. don't have to create very much for each project for Maven to build it correctly, and those things you do create are more declarative than functional)
Automatic project web sites with consistent information about each project
Recommended standards and best practices for project layout and definition
Jesse Mcconnell
Promotes modular design of code. by making it simple to manage mulitple projects it allows the design to be laid out into muliple logical parts, weaving these parts together through the use of dependency tracking in pom files.
Enforces modular design of code. it is easy to pay lipservice to modular code, but when the code is in seperate compiling projects it is impossible to cross pollinate references between modules of code unless you specifically allow for it in your dependency management... there is no 'I'll just do this now and fix it later' implementations.
Dependency Management is clearly declared. with the dependency management mechanism you have to try to screw up your jar versioning...there is none of the classic problem of 'which version of this vendor jar is this?' And setting it up on an existing project rips the top off of the existing mess if it exists when you are forced to make 'unknown' versions in your repository to get things up and running...that or lie to yourself that you know the actual version of ABC.jar.
strong typed life cycle there is a strong defined lifecycle that a software system goes thru from the initiation of a build to the end... and the users are allowed to mix and match their system to the lifecycle instead of cobble together their own lifecycle.. this has the additional benefit of allowing people to move from one project to another and speak using the same vocabulary in terms of software building
Henning
quick project setup, no complicated build.xml files, just a POM and go
all developers in a project use the same jar dependencies due to centralized POM.
getting a number of reports and metrics for a project "for free"
reduce the size of source distributions, because jars can be pulled from a central location
Roberto Castro
Consistency in artifact naming
Use of remote repository
Web site generation
分享到:
评论

相关推荐

    使用Maven整合ssm

    通过以上步骤,我们可以成功地使用Maven构建并整合SSM框架,实现一个功能完善的Java Web应用。在整个过程中,Maven扮演了重要的角色,它管理了项目的所有依赖,简化了项目的构建和部署流程,使得SSM框架的集成变得...

    Maven 3.6.3文件 setting文件已替换华为云maven镜像

    使用华为云Maven镜像的主要好处有以下几点: 1. **速度优化**:华为云Maven镜像位于国内,对于国内开发者来说,访问速度通常会比直接连接到国外的Maven中央仓库更快,减少了下载依赖时的网络延迟。 2. **稳定性...

    maven 3.6.1.zip

    **正文** Maven 3.6.1 是一个流行的Java项目管理和综合工具,它通过提供一个标准化的构建过程,简化了项目的构建、依赖...在实际开发中,理解并熟练运用Maven的各种功能,将对提高团队协作和项目管理带来显著的益处。

    自己使用的maven本地仓库2

    在实际开发中,维护这样一个个人的Maven本地仓库有以下好处: - **依赖版本控制**:可以方便地管理不同项目对相同依赖的不同版本需求,避免版本冲突。 - **快速构建**:本地仓库中的依赖可以直接使用,无需每次都从...

    maven随堂笔记 技术重点 知识点

    使用 Maven,可以实现项目的自动构建、测试、打包、部署等操作,从而提高项目的开发效率和质量。 Maven 的核心 Maven 的核心功能是依赖管理和项目构建。依赖管理是指 Maven 管理项目中的 jar 包依赖关系,确保项目...

    maven的基本使用和配置

    ### Maven 的基本使用和配置 #### Maven 介绍 Maven 是 Apache 软件基金会支持的一个项目管理工具,主要用于 Java 项目的构建与依赖管理。它通过一个项目对象模型(POM)来管理项目的构建、报告和文档。Maven 的...

    apache-maven-3.8.6

    1. **加速下载**:使用阿里云的Maven镜像可以显著提高下载依赖的速度,因为镜像服务器位于国内,减少了网络延迟和带宽限制。 2. **稳定性**:相比于直接连接到官方的Maven Central Repository,使用国内镜像能提供更...

    maven 3.3.9版本

    如果你尚未使用Maven,或者正在使用旧版本,升级到3.3.9将为你带来诸多益处。同时,提供的"apache-maven-3.3.9.000001"压缩包文件包含了完整的Maven 3.3.9安装包,你可以直接下载并安装,开始体验其强大功能。

    apache-maven-3.2.5-bin

    maven入门 一、Maven的基本概念  Maven是跨平台的项目管理工具。主要服务于基于Java平台的...1.3、使用Maven的好处  Maven中使用约定,约定java源代码代码必须放在哪个目录下,编译好的java代码又必须放到哪个目录

    Maven高级适合学习使用''

    ### Maven高级:聚合...这样做的好处是显而易见的:一方面,可以更好地组织和管理代码;另一方面,也有助于团队成员之间的协作和分工。对于大型项目而言,合理利用Maven的聚合特性,能够显著提升开发效率和代码质量。

    maven-3/3.9.4

    **使用Maven的益处:** 1. **简化项目构建**:通过标准的目录结构和构建生命周期,使得项目构建变得简单易懂。 2. **自动化**:自动处理依赖关系、编译、测试和打包等任务,减轻开发者的负担。 3. **共享和重用**:...

    maven-repository 包

    使用Maven-repository包的好处包括: 1. **自动化依赖管理**:Maven自动下载、管理和解决依赖冲突,减少了手动操作。 2. **标准化项目结构**:Maven提供了一套通用的项目目录结构,使得代码组织更加有序。 3. **构建...

    maven总监的一些坑

    【描述】:“maven从配置到一些坑的总结对接下来的使用maven有好处” 正确配置和使用Maven对于项目的顺利进行至关重要。从Maven的初始配置开始,我们需要关注的是设置本地仓库路径,确保它不会与项目目录混淆,从而...

    Gradle使用Maven仓库的方法

    使用Maven仓库对Gradle构建的好处包括但不限于以下几点: 1. **依赖解析速度提升**:如果Gradle项目中已经使用Maven仓库进行了依赖下载,那么Gradle可以直接复用这些依赖,无需重新下载。这可以大幅提高依赖解析的...

    eclipse maven 离线插件

    离线使用Eclipse Maven插件有以下好处: 1. **提高效率**:在网络环境差时,避免了频繁的网络请求,减少了构建时间。 2. **稳定性**:不受网络波动影响,保证构建和开发的稳定性。 3. **离线开发**:在没有网络的...

    maven-3.5.0

    Maven的核心理念是通过使用一个标准的项目对象模型(Project Object Model,POM)来描述项目,并提供一套自动化构建规则。POM包含了项目的基本信息、依赖关系、构建过程和插件配置等,使得开发者能够轻松管理项目的...

    maven安装及使用

    Maven使用了一组定义良好的规则来构建项目,这些规则包含在标准目录布局和一个默认的构建生命周期中,提供了跨平台的构建解决方案。Maven不仅负责构建项目,还可以管理项目依赖、插件和运行一些测试。 关于在...

    apache-maven3.5资源

    - **设置全局 MAVEN_HOME**:将Maven安装目录添加到系统环境变量,使得在任何地方都能使用Maven命令。 - **pom.xml**:项目的配置文件,定义项目信息、依赖、构建规则等。 - **clean, compile, test, package, ...

Global site tag (gtag.js) - Google Analytics