<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/maven-v4_0_0.xsd">
<!--pom版本-->
<modelVersion>4.0.0</modelVersion>
<!--组id,一般公司网址反写+项目名-->
<groupId>org.wzl</groupId>
<!--项目唯一标识,一般为项目名+模块名-->
<artifactId>SpringmvcDataMap</artifactId>
<!--版本号
snapshot:快照
alpha:内部测试
beta:公测
release:稳定
ga:正式发布
-->
<version>1.0-SNAPSHOT</version>
<!--打包类型
war, jar, pom
-->
<packaging>war</packaging>
<!--项目名称-->
<name>SpringmvcDataMap</name>
<!--项目地址-->
<url>http://maven.apache.org</url>
<!--项目描述-->
<description>
该项目用于测试springmvc数据绑定
</description>
<!--许可证声明-->
<licenses>
<license></license>
</licenses>
<!--开发人员列表-->
<developers>
<developer>
<name>巫政霖</name>
<email>937310988@qq.com</email>
</developer>
</developers>
<!--依赖-->
<dependencies>
<!--测试相关-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<!--
maven提供三个classpath:
1、测试
2、编译
3、运行
maven提供6个scpoe:
1、compile:默认的范围,对所有classpath有效
2、provided:只在测试,编译有效
3、runtime:运行时有效
4、test:测试有效
5、system:与provided相似,但与系统相关,移植性差
6、import:只在depedenceManagement中存在,表示将某个pom导入到所在Pom
-->
<scope>test</scope>
</dependency>
<!--日志相关-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.7</version>
</dependency>
<!--标签相关-->
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!--servlet-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<!--spring相关-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.2.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>4.2.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.2.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.2.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.2.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>4.2.6.RELEASE</version>
</dependency>
</dependencies>
<!--dependencyManagement用于当该maven模块作为父模块时,给子类继承的依赖,在当前模块的生命周期中,不会编译这些依赖-->
<dependencyManagement>
<dependencies>
<dependency>
<groupId></groupId>
<artifactId></artifactId>
</dependency>
</dependencies>
</dependencyManagement>
<!--modules,聚合打包多个maven模块,当需要多个Maven项目同时打包时使用-->
<modules>
<module></module>
<module></module>
</modules>
<build>
<finalName>SpringmvcDataMap</finalName>
<!--插件列表-->
<plugins>
<!--插件-->
<plugin>
<!--插件坐标-->
<groupId></groupId>
<artifactId></artifactId>
<version></version>
<!--触发插件-->
<executions>
<execution>
<!--在那个阶段触发-->
<phase></phase>
<goals>
<!--插件目标-->
<goal></goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>