java中spring+springMVC+Mybatis主流框架maven的pom.xml配置参考

  1. xml version="1.0" encoding="UTF-8"?>  
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  3.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">  
  4.     <modelVersion>4.0.0modelVersion>  
  5.     <groupId>项目名groupId>  
  6.     <artifactId>项目名artifactId>  
  7.     <packaging>warpackaging>  
  8.     <version>1.0.0-BUILD-SNAPSHOTversion>  
  9.       
  10.     <repositories>  
  11.         <repository>  
  12.             <id>centralid>  
  13.             <url>file://F:\project\m2repositoryurl>  
  14.         repository>  
  15.     repositories>  
  16.       
  17.     <dependencies>  
  18.           
  19.         <dependency>  
  20.             <groupId>junitgroupId>  
  21.             <artifactId>junitartifactId>  
  22.             <version>4.11version>  
  23.               
  24.             <scope>testscope>  
  25.         dependency>  
  26.           
  27.         <dependency>  
  28.             <groupId>com.github.pagehelpergroupId>  
  29.             <artifactId>pagehelperartifactId>  
  30.             <version>4.0.1version>  
  31.         dependency>  
  32.           
  33.         <dependency>  
  34.             <groupId>net.sf.json-libgroupId>  
  35.             <artifactId>json-lib-ext-springartifactId>  
  36.             <version>1.0.2version>  
  37.         dependency>  
  38.           
  39.           
  40.           
  41.         <dependency>  
  42.             <groupId>org.slf4jgroupId>  
  43.             <artifactId>slf4j-apiartifactId>  
  44.             <version>1.7.12version>  
  45.         dependency>  
  46.           
  47.         <dependency>  
  48.             <groupId>ch.qos.logbackgroupId>  
  49.             <artifactId>logback-coreartifactId>  
  50.             <version>1.1.1version>  
  51.         dependency>  
  52.           
  53.         <dependency>  
  54.             <groupId>ch.qos.logbackgroupId>  
  55.             <artifactId>logback-classicartifactId>  
  56.             <version>1.1.1version>  
  57.         dependency>  
  58.           
  59.         <dependency>  
  60.             <groupId>mysqlgroupId>  
  61.             <artifactId>mysql-connector-javaartifactId>  
  62.             <version>5.1.35version>  
  63.             <scope>runtimescope>  
  64.         dependency>  
  65.          
  66.         <dependency>  
  67.             <groupId>com.alibabagroupId>  
  68.             <artifactId>druidartifactId>  
  69.             <version>1.0.16version>  
  70.         dependency>  
  71.           
  72.           
  73.         <dependency>  
  74.             <groupId>org.mybatisgroupId>  
  75.             <artifactId>mybatisartifactId>  
  76.             <version>3.3.0version>  
  77.         dependency>  
  78.           
  79.         <dependency>  
  80.             <groupId>org.mybatisgroupId>  
  81.             <artifactId>mybatis-springartifactId>  
  82.             <version>1.2.3version>  
  83.         dependency>  
  84.           
  85.           
  86.         <dependency>  
  87.             <groupId>taglibsgroupId>  
  88.             <artifactId>standardartifactId>  
  89.             <version>1.1.2version>  
  90.         dependency>  
  91.         <dependency>  
  92.             <groupId>jstlgroupId>  
  93.             <artifactId>jstlartifactId>  
  94.             <version>1.2version>  
  95.         dependency>  
  96.           
  97.         <dependency>  
  98.             <groupId>com.fasterxml.jackson.coregroupId>  
  99.             <artifactId>jackson-databindartifactId>  
  100.             <version>2.5.4version>  
  101.         dependency>  
  102.         <dependency>  
  103.             <groupId>javax.servletgroupId>  
  104.             <artifactId>javax.servlet-apiartifactId>  
  105.             <version>3.1.0version>  
  106.         dependency>  
  107.           
  108.           
  109.         <dependency>  
  110.             <groupId>org.springframeworkgroupId>  
  111.             <artifactId>spring-coreartifactId>  
  112.             <version>4.1.7.RELEASEversion>  
  113.         dependency>  
  114.           
  115.         <dependency>  
  116.             <groupId>org.springframeworkgroupId>  
  117.             <artifactId>spring-beansartifactId>  
  118.             <version>4.1.7.RELEASEversion>  
  119.         dependency>  
  120.           
  121.         <dependency>  
  122.             <groupId>org.springframeworkgroupId>  
  123.             <artifactId>spring-contextartifactId>  
  124.             <version>4.1.7.RELEASEversion>  
  125.         dependency>  
  126.           
  127.         <dependency>  
  128.             <groupId>org.springframeworkgroupId>  
  129.             <artifactId>spring-jdbcartifactId>  
  130.             <version>4.1.7.RELEASEversion>  
  131.         dependency>  
  132.         <dependency>  
  133.             <groupId>org.springframeworkgroupId>  
  134.             <artifactId>spring-txartifactId>  
  135.             <version>4.1.7.RELEASEversion>  
  136.         dependency>  
  137.           
  138.         <dependency>  
  139.             <groupId>org.springframeworkgroupId>  
  140.             <artifactId>spring-webartifactId>  
  141.             <version>4.1.7.RELEASEversion>  
  142.         dependency>  
  143.         <dependency>  
  144.             <groupId>org.springframeworkgroupId>  
  145.             <artifactId>spring-webmvcartifactId>  
  146.             <version>4.1.7.RELEASEversion>  
  147.         dependency>  
  148.           
  149.         <dependency>  
  150.             <groupId>org.springframeworkgroupId>  
  151.             <artifactId>spring-testartifactId>  
  152.             <version>4.1.7.RELEASEversion>  
  153.         dependency>  
  154.     dependencies>  
  155. project>  

你可能感兴趣的:(java中spring+springMVC+Mybatis主流框架maven的pom.xml配置参考)