官术网_书友最值得收藏!

  • Mastering Apache Maven 3
  • Prabath Siriwardena
  • 98字
  • 2021-08-06 19:46:39

Project Object Model

Any Maven project must have a pom.xml file. POM is the Maven project descriptor, just like the web.xml file in your Java EE web application or the build.xml file in your Ant project. The following code lists out all the key elements in a Maven pom.xml file. As we proceed with the book, we will discuss how to use each element in the most effective manner:

<project>
  <parent>...</parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>...</groupId>
  <artifactId>...</artifactId>
  <version>...</version>
  <packaging>...</packaging>
   
   <name>...</name>
  <description>...</description>
  <url>...</url>   
  <inceptionYear>...</inceptionYear>
  <licenses>...</licenses>
  <organization>...</organization>
  <developers>...</developers>
  <contributors>...</contributors>


  <dependencies>...</dependencies>
  <dependencyManagement>...</dependencyManagement>
  <modules>...</modules>
  <properties>...</properties>

  <build>...</build>
  <reporting>...</reporting>
   
  <issueManagement>...</issueManagement>
  <ciManagement>...</ciManagement>
  <mailingLists>...</mailingLists>
  <scm>...</scm>   
  <prerequisites>...</prerequisites>
  
  <repositories>...</repositories>   
  <pluginRepositories>...</pluginRepositories>

  <distributionManagement>...</distributionManagement>

  <profiles>...</profiles> 
</project>
主站蜘蛛池模板: 沿河| 观塘区| 瑞金市| 威信县| 恩施市| 铜山县| 河东区| 游戏| 大姚县| 正阳县| 凤城市| 象山县| 三穗县| 临海市| 伽师县| 漳浦县| 建德市| 新巴尔虎右旗| 滦平县| 阿勒泰市| 安丘市| 广州市| 阿拉善盟| 崇左市| 岚皋县| 昔阳县| 博野县| 江阴市| 珲春市| 许昌县| 信阳市| 都江堰市| 赤水市| 德庆县| 旬阳县| 益阳市| 琼海市| 曲麻莱县| 东乌珠穆沁旗| 安远县| 安新县|