新增第 1.5 章

+YUCHENG HU+

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@398 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
YuCheng Hu
2010-06-29 05:32:33 +00:00
parent 12c3ad837f
commit bbf343b8ca
7 changed files with 134 additions and 9 deletions
@@ -1,10 +1,10 @@
#Tue Jun 29 00:35:05 EDT 2010
#Tue Jun 29 01:28:46 EDT 2010
copytosourcelist=
hreftargetslist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
hreftargetslist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
fullditatopicfile=fullditatopic.list
fullditamapandtopicfile=fullditamapandtopic.list
fullditatopiclist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
fullditamapandtopiclist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,definitive_guide.ditamap,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
fullditatopiclist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
fullditamapandtopiclist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,definitive_guide.ditamap,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
hrefditatopicfile=hrefditatopic.list
hrefditatopiclist=tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita
user.input.file=definitive_guide.ditamap
@@ -27,7 +27,7 @@ imagelist=images/halogo.jpg
htmlfile=html.list
htmllist=
canditopicsfile=canditopics.list
canditopicslist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
canditopicslist=tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita
keyreffile=keyref.list
subjectschemefile=subjectscheme.list
keyreflist=
@@ -3,11 +3,11 @@
SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="copytosourcelist"></entry>
<entry key="hreftargetslist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="hreftargetslist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="fullditatopicfile">fullditatopic.list</entry>
<entry key="fullditamapandtopicfile">fullditamapandtopic.list</entry>
<entry key="fullditatopiclist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="fullditamapandtopiclist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,definitive_guide.ditamap,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="fullditatopiclist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="fullditamapandtopiclist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,definitive_guide.ditamap,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="hrefditatopicfile">hrefditatopic.list</entry>
<entry key="hrefditatopiclist">tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita</entry>
<entry key="user.input.file">definitive_guide.ditamap</entry>
@@ -30,7 +30,7 @@
<entry key="htmlfile">html.list</entry>
<entry key="htmllist"></entry>
<entry key="canditopicsfile">canditopics.list</entry>
<entry key="canditopicslist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="canditopicslist">tasks/info/apachelicense.dita,tasks/chapter1/chapter1_1.dita,tasks/chapter1/chapter1.dita,tasks/chapter1/chapter1_3.dita,tasks/chapter1/chapter1_2.dita,tasks/chapter1/chapter1_5.dita,tasks/info/hacopyright.dita,tasks/chapter1/chapter1_4.dita</entry>
<entry key="keyreffile">keyref.list</entry>
<entry key="subjectschemefile">subjectscheme.list</entry>
<entry key="keyreflist"></entry>
@@ -14,6 +14,7 @@
<meta name="DC.Relation" scheme="URI" content="../../tasks/chapter1/chapter1_2.html"/>
<meta name="DC.Relation" scheme="URI" content="../../tasks/chapter1/chapter1_3.html"/>
<meta name="DC.Relation" scheme="URI" content="../../tasks/chapter1/chapter1_4.html"/>
<meta name="DC.Relation" scheme="URI" content="../../tasks/chapter1/chapter1_5.html"/>
<meta name="prodname" content="Maven权威指南"/>
<meta name="version" content="1.0.0.0"/>
<meta name="brand" content="HAWEBS Maven"/>
@@ -46,6 +47,8 @@
</li>
<li class="ulchildlink"><strong><a href="../../tasks/chapter1/chapter1_4.html">基于Maven插件的全局性重用</a></strong><br/>
</li>
<li class="ulchildlink"><strong><a href="../../tasks/chapter1/chapter1_5.html">一个“项目”的概念模型</a></strong><br/>
</li>
</ul>
</div>
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh" xml:lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="DC.Type" content="concept"/>
<meta name="DC.Title" content="一个“项目”的概念模型"/>
<meta name="DC.subject" content="Apache, Maven, 介绍"/>
<meta name="keywords" content="Apache, Maven, 介绍"/>
<meta name="DC.Relation" scheme="URI" content="../../tasks/chapter1/chapter1.html"/>
<meta name="prodname" content="Maven权威指南"/>
<meta name="version" content="1.0.0.0"/>
<meta name="brand" content="HAWEBS Maven"/>
<meta name="copyright" content="HAWEBS信息技术股份有限公司 2006, 2010" type="primary"/>
<meta name="DC.Rights.Owner" content="HAWEBS信息技术股份有限公司 2006, 2010" type="primary"/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="chapter1_5"/>
<meta name="DC.Language" content="zh"/>
<link rel="stylesheet" type="text/css" href="../../css/commonltr.css"/>
<link rel="stylesheet" type="text/css" href="../../css/public.css"/>
<title>一个“项目”的概念模型</title>
</head>
<body id="chapter1_5"><a name="chapter1_5"><!-- --></a>
<h1 class="topictitle1">一个“项目”的概念模型</h1>
<div>
<p>Maven 维护了一个项目的模型,你不仅仅需要把源码编译成字节码,你还需要开发软件项目的描述信息,为项目指定一组唯一的坐标。你要描述项目的的属性。项目的许可证是什么?谁开发这个项目,为这个项目做贡献?这个项目依赖于其它什么项目没有?Maven不仅仅是一个“构建工具”,它不仅仅是在类似于 make 和 Ant 的工具的基础上的改进,它是包含了一组关于软件项目和软件开发的语义规则的平台。这个基于每一个项目定义的模型实现了如下特征: </p>
<div class="p"><ul>
<li>依赖管理<p>由于项目是根据一个包含组标识符,构件标识符和版本的唯一的坐标定义的。项目间可以使用这些坐标来声明依赖。</p>
</li>
<li>远程仓库<p>和项目依赖相关的,我们可以使用定义在项目对象模型(POM)中的坐标来创建 Maven 构件的仓库。 </p>
</li>
<li>全局性构建逻辑重用<p>插件被编写成和项目模型对象(POM)一起工作,它们没有被设计成操作某一个已知位置的特定文件。一切都被抽象到模型中,插件配置和自定义行为都在模型中进行。 </p>
</li>
<li>工具可移植性/集成<p>像 Eclipse,NetBeans,和 InteliJ 这样的工具现在有共同的地方来找到项目的信息。在 Maven 出现之前,每个 IDE 都有不同的方法来存储实际上是自定义项目对象模型(POM)的信息。Maven 标准化了这种描述,而虽然每个 IDE 仍然继续维护它的自定义项目文件,但这些文件现在可以很容易的由模型生成。 </p>
</li>
<li>便于搜索和过滤构件<p>像 Nexus 这样的工具允许你使用存储在 POM 中的信息对仓库中的内容进行索引和搜索。 </p>
</li>
</ul>
</div>
<p>Maven 为软件项目的语义一致性描述的开端提供了一个基础。</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题:</strong> <a href="../../tasks/chapter1/chapter1.html" title="主要对 Apache Maven 进行了简要的描述。">介绍 Apache Maven</a></div>
</div>
</div>
</body>
</html>
@@ -18,6 +18,7 @@
<li><a href="tasks/chapter1/chapter1_2.html">约定优于配置(Convention Over Configuration)</a></li>
<li><a href="tasks/chapter1/chapter1_3.html">一个一般的接口</a></li>
<li><a href="tasks/chapter1/chapter1_4.html">基于Maven插件的全局性重用</a></li>
<li><a href="tasks/chapter1/chapter1_5.html">一个“项目”的概念模型</a></li>
</ul>
</li>
</ul>
@@ -64,5 +64,6 @@
<topicref href="tasks/chapter1/chapter1_2.dita"/>
<topicref href="tasks/chapter1/chapter1_3.dita"/>
<topicref href="tasks/chapter1/chapter1_4.dita"/>
<topicref href="tasks/chapter1/chapter1_5.dita"/>
</topicref>
</map>
@@ -0,0 +1,57 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. --><!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd" []>
<!--
**
* Copyright (C) 2006-2010 YUCHENG HU
*
* +++++++++++++++++++++++++++++++++++++++++++++++++
* HA WEBSYSTEMS
* http://www.hawebs.net
* http://www.tcivis.com
*
* Contact
* [email protected] / [email protected]
*
* +++++++++++++++++++++++++++++++++++++++++++++++++
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
* GNU GENERAL PUBLIC LICENSE
* APACHE LICENSE, VERSION 2.0
*
* +++++++++++++++++++++++++++++++++++++++++++++++++
-->
<concept id="chapter1_5" xml:lang="zh">
<title>一个“项目”的概念模型</title>
<prolog>
<metadata>
<keywords>
<indexterm>Apache</indexterm>
<indexterm>Maven</indexterm>
<indexterm>介绍</indexterm>
</keywords>
</metadata>
</prolog>
<conbody>
<p>Maven 维护了一个项目的模型,你不仅仅需要把源码编译成字节码,你还需要开发软件项目的描述信息,为项目指定一组唯一的坐标。你要描述项目的的属性。项目的许可证是什么?谁开发这个项目,为这个项目做贡献?这个项目依赖于其它什么项目没有?Maven不仅仅是一个“构建工具”,它不仅仅是在类似于 make 和 Ant 的工具的基础上的改进,它是包含了一组关于软件项目和软件开发的语义规则的平台。这个基于每一个项目定义的模型实现了如下特征: </p>
<p><ul>
<li>依赖管理<p>由于项目是根据一个包含组标识符,构件标识符和版本的唯一的坐标定义的。项目间可以使用这些坐标来声明依赖。</p></li>
<li>远程仓库<p>和项目依赖相关的,我们可以使用定义在项目对象模型(POM)中的坐标来创建 Maven 构件的仓库。 </p></li>
<li>全局性构建逻辑重用<p>插件被编写成和项目模型对象(POM)一起工作,它们没有被设计成操作某一个已知位置的特定文件。一切都被抽象到模型中,插件配置和自定义行为都在模型中进行。 </p></li>
<li>工具可移植性/集成<p>像 Eclipse,NetBeans,和 InteliJ 这样的工具现在有共同的地方来找到项目的信息。在 Maven 出现之前,每个 IDE 都有不同的方法来存储实际上是自定义项目对象模型(POM)的信息。Maven 标准化了这种描述,而虽然每个 IDE 仍然继续维护它的自定义项目文件,但这些文件现在可以很容易的由模型生成。 </p></li>
<li>便于搜索和过滤构件<p>像 Nexus 这样的工具允许你使用存储在 POM 中的信息对仓库中的内容进行索引和搜索。 </p></li>
</ul></p>
<p>Maven 为软件项目的语义一致性描述的开端提供了一个基础。</p>
</conbody>
</concept>