Spring在maven中的全依赖

  1. <dependencies>  
  2.     <!-- spring start -->  
  3.     <dependency>  
  4.         <groupId>org.springframework</groupId>  
  5.         <artifactId>spring-aop</artifactId>  
  6.         <version>${org.springframework.version}</version>  
  7.     </dependency>  
  8.     <dependency>  
  9.         <groupId>org.springframework</groupId>  
  10.         <artifactId>spring-aspects</artifactId>  
  11.         <version>${org.springframework.version}</version>  
  12.     </dependency>  
  13.     <dependency>  
  14.         <groupId>org.springframework</groupId>  
  15.         <artifactId>spring-beans</artifactId>  
  16.         <version>${org.springframework.version}</version>  
  17.     </dependency>  
  18.     <dependency>  
  19.         <groupId>org.springframework</groupId>  
  20.         <artifactId>spring-context</artifactId>  
  21.         <version>${org.springframework.version}</version>  
  22.     </dependency>  
  23.     <dependency>  
  24.         <groupId>org.springframework</groupId>  
  25.         <artifactId>spring-context-support</artifactId>  
  26.         <version>${org.springframework.version}</version>  
  27.     </dependency>  
  28.     <dependency>  
  29.         <groupId>org.springframework</groupId>  
  30.         <artifactId>spring-core</artifactId>  
  31.         <version>${org.springframework.version}</version>  
  32.     </dependency>  
  33.     <dependency>  
  34.         <groupId>org.springframework</groupId>  
  35.         <artifactId>spring-expression</artifactId>  
  36.         <version>${org.springframework.version}</version>  
  37.     </dependency>  
  38.     <dependency>  
  39.         <groupId>org.springframework</groupId>  
  40.         <artifactId>spring-instrument</artifactId>  
  41.         <version>${org.springframework.version}</version>  
  42.     </dependency>  
  43.     <dependency>  
  44.         <groupId>org.springframework</groupId>  
  45.         <artifactId>spring-instrument-tomcat</artifactId>  
  46.         <version>${org.springframework.version}</version>  
  47.     </dependency>  
  48.     <dependency>  
  49.         <groupId>org.springframework</groupId>  
  50.         <artifactId>spring-jdbc</artifactId>  
  51.         <version>${org.springframework.version}</version>  
  52.     </dependency>  
  53.     <dependency>  
  54.         <groupId>org.springframework</groupId>  
  55.         <artifactId>spring-jms</artifactId>  
  56.         <version>${org.springframework.version}</version>  
  57.     </dependency>  
  58.     <dependency>  
  59.         <groupId>org.springframework</groupId>  
  60.         <artifactId>spring-messaging</artifactId>  
  61.         <version>${org.springframework.version}</version>  
  62.     </dependency>  
  63.     <dependency>  
  64.         <groupId>org.springframework</groupId>  
  65.         <artifactId>spring-orm</artifactId>  
  66.         <version>${org.springframework.version}</version>  
  67.     </dependency>  
  68.     <dependency>  
  69.         <groupId>org.springframework</groupId>  
  70.         <artifactId>spring-oxm</artifactId>  
  71.         <version>${org.springframework.version}</version>  
  72.     </dependency>  
  73.     <dependency>  
  74.         <groupId>org.springframework</groupId>  
  75.         <artifactId>spring-test</artifactId>  
  76.         <version>${org.springframework.version}</version>  
  77.     </dependency>  
  78.     <dependency>  
  79.         <groupId>org.springframework</groupId>  
  80.         <artifactId>spring-tx</artifactId>  
  81.         <version>${org.springframework.version}</version>  
  82.     </dependency>  
  83.     <dependency>  
  84.         <groupId>org.springframework</groupId>  
  85.         <artifactId>spring-web</artifactId>  
  86.         <version>${org.springframework.version}</version>  
  87.     </dependency>  
  88.     <dependency>  
  89.         <groupId>org.springframework</groupId>  
  90.         <artifactId>spring-webmvc</artifactId>  
  91.         <version>${org.springframework.version}</version>  
  92.     </dependency>  
  93.     <dependency>  
  94.         <groupId>org.springframework</groupId>  
  95.         <artifactId>spring-webmvc-portlet</artifactId>  
  96.         <version>${org.springframework.version}</version>  
  97.     </dependency>  
  98.     <dependency>  
  99.         <groupId>org.springframework</groupId>  
  100.         <artifactId>spring-websocket</artifactId>  
  101.         <version>${org.springframework.version}</version>  
  102.     </dependency>  
  103.     <!-- spring end -->  
  104. </dependencies>  

 

这样引入可能不太好,比如你引入spring-webmvc,maven会自动引入其他依赖,

但我喜欢这样,先引入所有依赖

阅读更多
个人分类: spring
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭