Hibernate之pom.xml配置

    <properties>
        <hibernate.version>3.6.10.Finalhibernate.version>
        <mysql-connector-java.version>5.1.36mysql-connector-java.version>
        <dom4j.version>1.6.1dom4j.version>
        <log4j.version>1.2.17log4j.version>
        <slf4j.version>1.7.7slf4j.version>
    properties>
    <dependencies>
        
        <dependency>
            <groupId>org.hibernategroupId>
            <artifactId>hibernate-coreartifactId>
            <version>${hibernate.version}version>
        dependency>
        <dependency>
            <groupId>org.javassistgroupId>
            <artifactId>javassistartifactId>
            <version>3.20.0-GAversion>
        dependency>
        
        
        <dependency>
            <groupId>mysqlgroupId>
            <artifactId>mysql-connector-javaartifactId>
            <version>${mysql-connector-java.version}version>
        dependency>
        
        
        <dependency>
            <groupId>dom4jgroupId>
            <artifactId>dom4jartifactId>
            <version>${dom4j.version}version>
        dependency>
        <dependency>
            <groupId>xalangroupId>
            <artifactId>xalanartifactId>
            <version>2.7.1version>
        dependency>
        <dependency>
            <groupId>xercesgroupId>
            <artifactId>xercesImplartifactId>
            <version>2.9.1version>
        dependency>
        
        
        <dependency>
            <groupId>commons-logginggroupId>
            <artifactId>commons-loggingartifactId>
            <version>1.1.1version>
        dependency>
        <dependency>
            <groupId>cglibgroupId>
            <artifactId>cglibartifactId>
            <version>2.2.2version>
        dependency>
        
        
        <dependency>
            <groupId>log4jgroupId>
            <artifactId>log4jartifactId>
            <version>${log4j.version}version>
        dependency>
        <dependency>
            <groupId>org.slf4jgroupId>
            <artifactId>slf4j-simpleartifactId>
            <version>${slf4j.version}version>
        dependency>
    dependencies>

 

转载于:https://www.cnblogs.com/lemon-now/p/5531045.html

你可能感兴趣的:(Hibernate之pom.xml配置)