zoukankan      html  css  js  c++  java
  • Spring pom.xml配置

    <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">
      <modelVersion>4.0.0</modelVersion>
      <groupId>com.nocoffee</groupId>
      <artifactId>springdemo</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>war</packaging>
      
      	<properties>
      		<spring-version>4.3.7.RELEASE</spring-version>
      	</properties>
      	
    	<dependencies>
          <!-- Spring核心模块 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${spring-version}</version>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring-version}</version>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>${spring-version}</version>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring-version}</version>
          </dependency>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-expression</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- 可选模块,按需添加 -->
          <!-- AOP -->
          <!-- 基于代理的AOP支持 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <version>${spring-version}</version>
          </dependency>
          <!-- 提供与AspectJ的集成 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aspects</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- 提供一些类级工具支持和类加载器实现,在以在某些应用服务器中使用 -->
          <!-- 用于JVM引导的检测代理 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-instrument</artifactId>
            <version>${spring-version}</version>
          </dependency>
          <!-- tomcat的instrument实现 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-instrument-tomcat</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- JDBC支持包,包括数据源设置和JDBC访问支持 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- JMS支持包,包括用于发送/接收JMS消息的帮助程序类 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jms</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- 支持消息体系结构和协议 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-messaging</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- 集成ORM框架如Hibernate、JPA等 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-orm</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- Object/XML映射 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-oxm</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- 支持单元测试和集成测试Spring组件-->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- Spring事务 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- 提供基本的面向Web的集成功能 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- SpringMVC -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- Portlet环境中使用的MVC实现 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc-portlet</artifactId>
            <version>${spring-version}</version>
          </dependency>
          
          <!-- WebSocket和SockJS基础架构,包括STOMP消息传递支持 -->
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-websocket</artifactId>
            <version>${spring-version}</version>
          </dependency>
        </dependencies>
    </project>
    
  • 相关阅读:
    zoj 3693, 卡精度
    zoj 3690, 计数 dp , 快速幂
    hdu 1496,枚举
    zoj 2399, 哈弗曼编码
    poj 2560,mst
    poj 2007, 乱搞,计算几何
    bnu 29064, 期望 水题
    img,bg
    垂直居中,定位的方法
    .reverse ,join,split区分
  • 原文地址:https://www.cnblogs.com/seve/p/11081177.html
Copyright © 2011-2022 走看看