Home
  • HOME
  • STORE
  • PRODUCTS
  • SOLUTIONS
  • BLOGS
  • ABOUT

Maven: The Definitive Guide

Part II. Maven Reference  TOC  9.2. POM

Chapter 9. 项目对象模型

9.1. 简介
9.2. POM
9.2.1. 超级POM
9.2.2. 最简单的POM
9.2.3. 有效POM
9.2.4. 真正的POM
9.3. POM语法
9.3.1. 项目版本
9.3.1.1. 版本构建号
9.3.1.2. SNAPSHOT版本
9.3.1.3. LATEST 和 RELEASE 版本
9.3.2. 属性引用
9.4. 项目依赖
9.4.1. 依赖范围
9.4.2. 可选依赖
9.4.3. 依赖版本界限
9.4.4. 传递性依赖
9.4.4.1. 传递性依赖和范围
9.4.5. 冲突解决
9.4.6. 依赖管理
9.5. 项目关系
9.5.1. 坐标详解
9.5.2. 多模块项目
9.5.3. 项目继承
9.6. POM最佳实践
9.6.1. 依赖归类
9.6.2. 多模块 vs. 继承
9.6.2.1. 简单项目
9.6.2.2. 多模块企业级项目
9.6.2.3. 原型父项目

9.1. 简介

本章讨论Maven的核心概念——项目对象模型。在POM中,项目的坐标和结构被声明,构建被配置,与其它项目的关联也被定义。pom.xml文件定义了一个Maven项目。


Prev  Home  Next
Part II. Maven Reference  Sponsored by Sonatype  9.2. POM

Maven Book

  • Maven Chinese Blog





  • Nexus Project
  • Nexus Professional
  • Evaluate Nx Pro
  • About
  • Privacy Policy
  • Terms of Service

Copyright © 2008-2009, Sonatype Inc. All rights reserved. Includes the third-party code listed at http://www.sonatype.com/products/nexus/attributions. Sonatype and Sonatype Nexus are trademarks of Sonatype, Inc. Apache Maven is a trademark of the Apache Foundation. M2Eclipse is a trademark of the Eclipse Foundation. All other trademarks are the property of their respective owners.