<project xmlns="
http://maven.apache.org/POM/4.0.0"
; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
;
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
;
<!-- 指定了当前pom版本-->
<modelVersion>4.0.0</modelVersion>
<groupId>反向公司网址+项目名</groupId>
<artifactId>项目名+模块</artifactId>
<!-- 第一个0表示大版本号
第二个0表示分支版本号
第三个0表示小版本号
0.0.1
snapshot:快照
alpha:内部公测
beta:公测
Release:稳定
GA:正式
-->
<version>0.0.1-SNAPSHOT</version>
<!--默认是jar
war zip pom
-->
<packaging>jar</packaging>
<!--项目描述名-->
<name>hi</name>
<!--项目地址-->
<!--项目描述-->
<description></description>
<!--开发人员列表-->
<develops></develops>
<!--许可证信息-->
<licenses></licenses>
<!--组织信息-->
<organization></organization>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--依赖列表-->
<dependencies>
<!--依赖项-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<!--依赖范围-->
<scope>test</scope>
<!--设置依赖是否可选-->
<optional></optional>
<!--排除依赖传递列表-->
<exclusions>
<exclusion>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<!--依赖的管理-->
<dependencyManagement>
<dependencies>
<dependency></dependency>
</dependencies>
</dependencyManagement>
<!--用于定义构建信息-->
<build>
<!--插件的列表-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<parent></parent>
<modules>
<module></module>
</modules>
</project>