maven常见开发配置spring,hibernate,structs,jdbc,log4j,mybatis

< pre code_snippet_id = "1681394" snippet_file_name = "blog_20160512_1_3000015" name = "code" class = "html" > xml version = "1.0" encoding = "UTF-8" ?>
< 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 >MavenTest groupId >
    < artifactId >MavenTest artifactId >
    < version >0.0.1-SNAPSHOT version >
    < packaging >war packaging >
    < name >MavenTest name >
    < description > description >
 
    < properties >
        < spring.version >4.2.1.RELEASE spring.version >
        < hibernate.version >5.0.2.Final hibernate.version >
        < mysql.version >5.1.36 mysql.version >
       
       
       
        
        
        < servlet-api.version >2.5 servlet-api.version >
        < jsp-api.version >2.2 jsp-api.version >
        < jstl.version >1.2 jstl.version >
 
        < fastjson.version >1.1.39 fastjson.version >
 
        < commons-dbcp2.version >2.0 commons-dbcp2.version >
        < commons-pool2.version >2.2 commons-pool2.version >
        < commons-logging.version >1.1.3 commons-logging.version >
        < commons-io.version >1.3.2 commons-io.version >
        < commons-lang3.version >3.3.1 commons-lang3.version >
        < commons-fileupload.version >1.2.1 commons-fileupload.version >
 
        < log4j.version >1.2.17 log4j.version >
        < slf4j.version >1.7.6 slf4j.version >
        < dom4j.version >1.6.1 dom4j.version >
        < jfreechart.version >1.0.17 jfreechart.version >
        < shiro.version >1.2.3 shiro.version >
        < ehcache.version >2.8.1 ehcache.version >
        
        < aspectjweaver.version >1.7.4 aspectjweaver.version >
        < bonecp.version >0.8.0.RELEASE bonecp.version >
        < druid.version >1.0.4 druid.version >
        < c3p0.version >0.9.2.1 c3p0.version >
        < testng.version >6.8.8 testng.version >
        < junit.version >4.11 junit.version >
        < freemarker.version >2.3.20 freemarker.version >
        < velocity.version >1.7 velocity.version >
        < tapestry.version >5.3.7 tapestry.version >
 
        < asm.version >4.2 asm.version >
        < cglib.version >3.1 cglib.version >
 
       
        < project.build.sourceEncoding >UTF-8 project.build.sourceEncoding >
        < jdk.version >1.6 jdk.version >
 
    properties >
 
    < dependencies >
       
       
       
 
       
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-core artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-entitymanager artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-ehcache artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-testing artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-c3p0 artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-osgi artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-proxool artifactId >
            < version >${hibernate.version} version >
        dependency >
        < dependency >
            < groupId >org.hibernate groupId >
            < artifactId >hibernate-envers artifactId >
            < version >${hibernate.version} version >
        dependency >
       
       < dependency >
       < groupId >org.hibernate.common groupId >
       < artifactId >hibernate-commons-annotations artifactId >
       < version >5.0.1.Final version >
      dependency >
       
 
       
       
        
 
       
        < dependency >
            < groupId >mysql groupId >
            < artifactId >mysql-connector-java artifactId >
            < version >${mysql.version} version >
        dependency >
       
        
 
       
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-core artifactId >
            < version >${spring.version} version >
        dependency >
        < 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-jdbc artifactId >
            < version >${spring.version} version >
        dependency >
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-web artifactId >
            < version >${spring.version} version >
        dependency >
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-webmvc artifactId >
            < version >${spring.version} version >
        dependency >
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-aop artifactId >
            < version >${spring.version} version >
        dependency >
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-tx artifactId >
            < version >${spring.version} version >
        dependency >
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-orm 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-test artifactId >
            < version >${spring.version} version >
        dependency >
        < dependency >
            < groupId >org.springframework groupId >
            < artifactId >spring-jms artifactId >
            < version >${spring.version} version >
        dependency >
 
       
         
       
     < dependency
     < groupId >net.sf.json-lib groupId
     < artifactId >json-lib artifactId
     < version >2.4 version
     < classifier >jdk15 classifier
     dependency >
 
       
       
        
 
       
        < dependency >
            < groupId >commons-logging groupId >
            < artifactId >commons-logging artifactId >
            < version >${commons-logging.version} version >
        dependency >
        < dependency >
            < groupId >log4j groupId >
            < artifactId >log4j artifactId >
            < version >${log4j.version} version >
        dependency >
        < dependency >
            < groupId >org.slf4j groupId >
            < artifactId >slf4j-log4j12 artifactId >
            < version >${slf4j.version} version >
        dependency >
        < dependency >
            < groupId >org.slf4j groupId >
            < artifactId >slf4j-api artifactId >

你可能感兴趣的:(maven常见开发配置spring,hibernate,structs,jdbc,log4j,mybatis)