mybatis添加maven依赖

 1 <dependencies>
 2         <!--导入Mybatis依赖包-->
 3         <dependency>
 4             <groupId>org.mybatis</groupId>
 5             <artifactId>mybatis</artifactId>
 6             <version>3.5.2</version>
 7         </dependency>
 8         <dependency>
 9             <groupId>mysql</groupId>
10             <artifactId>mysql-connector-java</artifactId>
11             <version>5.1.47</version>
12         </dependency>
13         <dependency>
14             <groupId>junit</groupId>
15             <artifactId>junit</artifactId>
16             <version>4.11</version>
17         </dependency>
18         <!--log4j-->
19         <dependency>
20             <groupId>log4j</groupId>
21             <artifactId>log4j</artifactId>
22             <version>1.2.17</version>
23         </dependency>
24         <!--lombok插件-->
25         <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
26         <dependency>
27             <groupId>org.projectlombok</groupId>
28             <artifactId>lombok</artifactId>
29             <version>1.16.10</version>
30         </dependency>
31     </dependencies>
32     <build>
33         <resources>
34             <resource>
35                 <directory>src/main/resources</directory>
36                 <includes>
37                     <include>**/*.properties</include>
38                     <include>**/*.xml</include>
39                 </includes>
40                 <filtering>false</filtering>
41             </resource>
42             <resource>
43                 <directory>src/main/java</directory>
44                 <includes>
45                     <include>**/*.properties</include>
46                     <include>**/*.xml</include>
47                 </includes>
48                 <filtering>false</filtering>
49             </resource>
50         </resources>
51     </build>

 

posted @ 2021-11-22 10:27  靠谱杨  阅读(1215)  评论(0编辑  收藏  举报