Maven中POM文件详解

  写这篇文章的初衷还是想要了解POM文件的标签使用规则,因为看着POM文件总是编译不过去真的是很暴躁啊,于是来到了Maven官网,最好的文档自然是官网,POM文件解释的官网链接是what-is-the-pom。
  看官网时才发现,当初设计Maven的人真的是理想远大呀。下面是POM文件的设计蓝图(官网原话),希望我辈共勉,早日设计出出自中国人的在计算机界影响深远的工具。下面是原话:

POM stands for "Project Object Model". 
It is an XML representation of a Maven project held in a file named pom.xml. 
When in the presence of Maven folks, speaking of a project is speaking in the philosophical sense, beyond a mere collection of files containing code. 
A project contains configuration files, as well as the developers involved and the roles they play, the defect tracking system, the organization and licenses, the URL of where the project lives, the project's dependencies, and all of the other little pieces that come into play to give code life. 
It is a one-stop-shop for all things concerning the project. 
In fact, in the Maven world, a project does not need to contain any code at all, merely a pom.xml.

你可能感兴趣的:(Java日常学习,maven,java)