hibernate 3.6.10 maven pom.xml

 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 3   <modelVersion>4.0.0</modelVersion>
 4   <groupId>com.xll</groupId>
 5   <artifactId>myhibernate</artifactId>
 6   <packaging>war</packaging>
 7   <version>0.0.1-SNAPSHOT</version>
 8   <name>myhibernate Maven Webapp</name>
 9   <url>http://maven.apache.org</url>
10   
11   <properties>
12     <hibernate.version>3.6.10.Final</hibernate.version>
17   </properties>
18   
19   <dependencies>
20   
21     <dependency>
22       <groupId>junit</groupId>
23       <artifactId>junit</artifactId>
24       <version>3.8.1</version>
25       <scope>test</scope>
26     </dependency>
27     
28     <dependency>
29     <groupId>org.hibernate</groupId>
30     <artifactId>hibernate-core</artifactId>
31     <version>${hibernate.version}</version>
32     </dependency>
33     
34     <dependency>
35     <groupId>org.javassist</groupId>
36     <artifactId>javassist</artifactId>
37     <version>3.20.0-GA</version>
38     </dependency>
39     
40     <dependency>
41         <groupId>mysql</groupId>
42         <artifactId>mysql-connector-java</artifactId>
43         <version>5.1.26</version>
44     </dependency>
45     
46     <dependency>
47         <groupId>log4j</groupId>
48         <artifactId>log4j</artifactId>
49         <version>1.2.17</version>
50     </dependency>
51     
52     <dependency>
53     <groupId>org.slf4j</groupId>
54     <artifactId>slf4j-log4j12</artifactId>
55     <version>1.7.12</version>
56     <scope>test</scope>
57     </dependency>
58 
59   </dependencies>
60   <build>
61     <finalName>myhibernate</finalName>
62   </build>
63 </project>
原文地址:https://www.cnblogs.com/tswhq/p/7163264.html