maven pom.xml详解

FROM:http://www.blogjava.net/jianyue/articles/227932.html



4.0.0
 ...  ...  ...  ...  ...  ... 
... 


... 
 ... 
...
...
... 
... 
 ... 

... 
project的描述
... 
工程的初始时间
...

 
    Apache 2
    http://www.apache.org/licenses/LICENSE-2.0.txt
    repo
    A business-friendly OSS license
 



...

...

...

...
 
... 

...

...

...
 
...

 ...

...


Relocation:

...

激活profile的方法有多个:setting文件的activeProfile元素明确指定激活的profile的ID,在命令行上明确激活Profile用-P flag 参数
查看某个build会激活的profile列表可以用:mvn help:active-profiles