发布于 2017-11-02 08:53:09 | 132 次阅读 | 评论: 0 | 来源: 网友投递
Apache Maven 项目构建工具
Maven是一个项目管理工具,它包含了一个项目对象模型 (Project Object Model),一组标准集合,一个项目生命周期(Project Lifecycle),一个依赖管理系统(Dependency Management System),和用来运行定义在生命周期阶段(phase)中插件(plugin)目标(goal)的逻辑。当你使用Maven的时候,你用一个明确定义的项目对象模型来描述你的项目,然后Maven可以应用横切的逻辑,这些逻辑来自一组共享的(或者自定义的)插件。
Maven 3.5.2 已发布, Apache Maven 是一个项目管理和构建工具。基于项目对象模型(POM)的概念, Maven 可以从中心位置管理项目的构建、报告和文档。
该版本包含大量修复和改进:
修复
MNG-5935 - Optional true getting lost in managed dependencies when transitive
MNG-6127 - Fix plugin execution configuration interference
MNG-6148 - Can’t package and assemble with JDK9/Jigsaw
MNG-6149 - MetadataResolutionResult#getGraph() never resolves request type ‘test’
MNG-6205 - Non-ascii chars in name element are displayed as question marks in Win CLI output (regression)
MNG-6210 - can’t load @SessionScoped/@MojoExecutionScoped components from .mvn/extensions.xml
MNG-6223 - mvn -f outputs invalid error when specifying POM directory
MNG-6224 - Regression 6182a208: library.jansi.path does not point to proper directory
MNG-6233 - maven-resolver-provider mixes JRS 330 and Plexus annotations
MNG-6240 - Duplicate components in plugin extension realm when plugin depends on maven-aether-resolver
MNG-6242 - No color for maven on Cygwin
Sub-tasks
MNG-6186 - switch to improved HawtJNI
MNG-6280 - ArrayIndexOutOfBoundsException caused by pom.xml with process instructions
改进
MNG-5457 - Show repository id when downloading or uploading from/to a remote repository
MNG-6025 - Add a ProjectArtifactsCache similar to PluginArtifactsCache
MNG-6123 - detect self references in POM and fail fast
MNG-6174 - Clean Up Maven Model
MNG-6196 - Update slf4j and simplify its color integration
MNG-6203 - Minor cleanup in MavenCli.java
MNG-6206 - We should produce a WARNING by using RELEASE, LATEST as versions
MNG-6207 - Create WARNINGs in case of using system scope
MNG-6228 - Optionality not displayed in dependency tree when run in debug mode
新特性
Tasks
MNG-6167 - Clean up dependency mess (reported by dependency:analyze)
MNG-6258 - Upgrade to Maven Resolver 1.1.0
下载地址:
http://maven.apache.org/download.cgi