Spring在maven中的全依赖

  1. <dependencies>  
  2.       
  3.     <dependency>  
  4.         <groupId>org.springframeworkgroupId>  
  5.         <artifactId>spring-aopartifactId>  
  6.         <version>${org.springframework.version}version>  
  7.     dependency>  
  8.     <dependency>  
  9.         <groupId>org.springframeworkgroupId>  
  10.         <artifactId>spring-aspectsartifactId>  
  11.         <version>${org.springframework.version}version>  
  12.     dependency>  
  13.     <dependency>  
  14.         <groupId>org.springframeworkgroupId>  
  15.         <artifactId>spring-beansartifactId>  
  16.         <version>${org.springframework.version}version>  
  17.     dependency>  
  18.     <dependency>  
  19.         <groupId>org.springframeworkgroupId>  
  20.         <artifactId>spring-contextartifactId>  
  21.         <version>${org.springframework.version}version>  
  22.     dependency>  
  23.     <dependency>  
  24.         <groupId>org.springframeworkgroupId>  
  25.         <artifactId>spring-context-supportartifactId>  
  26.         <version>${org.springframework.version}version>  
  27.     dependency>  
  28.     <dependency>  
  29.         <groupId>org.springframeworkgroupId>  
  30.         <artifactId>spring-coreartifactId>  
  31.         <version>${org.springframework.version}version>  
  32.     dependency>  
  33.     <dependency>  
  34.         <groupId>org.springframeworkgroupId>  
  35.         <artifactId>spring-expressionartifactId>  
  36.         <version>${org.springframework.version}version>  
  37.     dependency>  
  38.     <dependency>  
  39.         <groupId>org.springframeworkgroupId>  
  40.         <artifactId>spring-instrumentartifactId>  
  41.         <version>${org.springframework.version}version>  
  42.     dependency>  
  43.     <dependency>  
  44.         <groupId>org.springframeworkgroupId>  
  45.         <artifactId>spring-instrument-tomcatartifactId>  
  46.         <version>${org.springframework.version}version>  
  47.     dependency>  
  48.     <dependency>  
  49.         <groupId>org.springframeworkgroupId>  
  50.         <artifactId>spring-jdbcartifactId>  
  51.         <version>${org.springframework.version}version>  
  52.     dependency>  
  53.     <dependency>  
  54.         <groupId>org.springframeworkgroupId>  
  55.         <artifactId>spring-jmsartifactId>  
  56.         <version>${org.springframework.version}version>  
  57.     dependency>  
  58.     <dependency>  
  59.         <groupId>org.springframeworkgroupId>  
  60.         <artifactId>spring-messagingartifactId>  
  61.         <version>${org.springframework.version}version>  
  62.     dependency>  
  63.     <dependency>  
  64.         <groupId>org.springframeworkgroupId>  
  65.         <artifactId>spring-ormartifactId>  
  66.         <version>${org.springframework.version}version>  
  67.     dependency>  
  68.     <dependency>  
  69.         <groupId>org.springframeworkgroupId>  
  70.         <artifactId>spring-oxmartifactId>  
  71.         <version>${org.springframework.version}version>  
  72.     dependency>  
  73.     <dependency>  
  74.         <groupId>org.springframeworkgroupId>  
  75.         <artifactId>spring-testartifactId>  
  76.         <version>${org.springframework.version}version>  
  77.     dependency>  
  78.     <dependency>  
  79.         <groupId>org.springframeworkgroupId>  
  80.         <artifactId>spring-txartifactId>  
  81.         <version>${org.springframework.version}version>  
  82.     dependency>  
  83.     <dependency>  
  84.         <groupId>org.springframeworkgroupId>  
  85.         <artifactId>spring-webartifactId>  
  86.         <version>${org.springframework.version}version>  
  87.     dependency>  
  88.     <dependency>  
  89.         <groupId>org.springframeworkgroupId>  
  90.         <artifactId>spring-webmvcartifactId>  
  91.         <version>${org.springframework.version}version>  
  92.     dependency>  
  93.     <dependency>  
  94.         <groupId>org.springframeworkgroupId>  
  95.         <artifactId>spring-webmvc-portletartifactId>  
  96.         <version>${org.springframework.version}version>  
  97.     dependency>  
  98.     <dependency>  
  99.         <groupId>org.springframeworkgroupId>  
  100.         <artifactId>spring-websocketartifactId>  
  101.         <version>${org.springframework.version}version>  
  102.     dependency>  
  103.       
  104. dependencies>  

 

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

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

你可能感兴趣的:(spring)