maven常用依赖总结

以下为网上摘录,仅供为平时工作简便:

     

测试:


  junit
  junit
  4.11
  test

日志:



  org.slf4j
  slf4j-api
  1.7.2


  ch.qos.logback
  logback-core
  1.1.1


  ch.qos.logback
  logback-classic
  1.1.1

数据库相关:


    
      mysql
      mysql-connector-java
      5.1.35
      runtime
    
    
      c3p0
      c3p0
      0.9.1.2
    

dao框架依赖,mybatis依赖 :

    
      org.mybatis
      mybatis
      3.3.0
    

mybatis与spring整合:

    
      org.mybatis
      mybatis-spring
      1.2.3
    

标签库依赖:

    
      taglibs
      standard
      1.1.2
    
    
      jstl
      jstl
      1.2
    
    
      com.fasterxml.jackson.core
      jackson-databind
      2.5.4
    
    
      javax.servlet
      javax.servlet-api
      3.1.0
    

 spring相关依赖:

    
    
      org.springframework
      spring-core
      4.1.7.RELEASE
    
    
      org.springframework
      spring-beans
      4.1.7.RELEASE
    
    
      org.springframework
      spring-context
      4.1.7.RELEASE
    
    
    
      org.springframework
      spring-jdbc
      4.1.7.RELEASE
    
    
      org.springframework
      spring-tx
      4.1.7.RELEASE
    
    
    
      org.springframework
      spring-web
      4.1.7.RELEASE
    
    
      org.springframework
      spring-webmvc
      4.1.7.RELEASE
    

    
    
      org.springframework
      spring-test
      4.1.7.RELEASE
    

maven 打jar包插件:

            
                org.apache.maven.plugins
                maven-compiler-plugin
                
                    1.7
                    1.7
                
            
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                    
                        
                            repackage
                        
                    
                
            

springboot依赖:

    
  	
		org.springframework.boot
		spring-boot-starter-parent
		1.5.2.RELEASE
	
    
		
			org.springframework.boot
			spring-boot-starter-web
		
		
			org.springframework.boot
			spring-boot-starter-tomcat
		
		
			org.apache.tomcat.embed
			tomcat-embed-jasper
		 
    
		
                org.mybatis.spring.boot
                mybatis-spring-boot-starter
                1.1.1
        

热部署:

    
		org.springframework.boot
		spring-boot-devtools
		runtime
	

 

你可能感兴趣的:(maven依赖,maven相关依赖,常用类型)