<?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>tk.mybatis</groupId>
    <artifactId>simple</artifactId>
    <version>0.0.1-SNAPSHOT</version>

    <!-- 为什么我感觉我学习Maven时,并没有看到这个标签。 -->
    <!-- 该配置为设置源代码的编码方式为UTF-8-->
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <!-- https://mvnrepository.com/artifact/junit/junit -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis</artifactId>
            <version>3.3.0</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.38</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.12</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.7.12</version>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/log4j/log4j -->
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <!-- 这个地方解决的问题是为了设置源代码的JDK版本,我的实验用不到-->
            <!--
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            -->

            <!-- 这个地方解决的是Junit乱码的问题 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.17</version>
                <configuration>
                    <forkMode>once</forkMode>
                    <argLine>-Dfile.encoding=UTF-8</argLine>
                </configuration>
            </plugin>

        </plugins>
    </build>
</project>

最新文章

  1. 赴美工作常识(Part 3 - 英语)
  2. tomcat7源码编译过程以及问题解决
  3. In p = new Fred(), does the Fred memory “leak” if the Fred constructor throws an exception?
  4. 破解中国电信华为无线猫路由(HG522-C)自己主动拨号+不限电脑数+iTV
  5. pgrep 查询进程的工具
  6. Odometer使用JavaScript和CSS制作数字滑动效果
  7. hdu 2504
  8. stagefright框架(六)-Audio Playback的流程
  9. Android官方技术文档翻译——Ant 任务
  10. spring framework体系结构及内部各模块jar之间的maven依赖关系
  11. caffe2学习
  12. HDU4341-Gold miner-分组DP
  13. 【JSOI2008】火星人prefix 哈希 非旋转treap
  14. 虚拟机安装及Oracle安装
  15. KDevelop使用经验
  16. split(&#39;\r\n&#39;)
  17. java实现判断一个经纬度坐标是否在一个多边形内(经自己亲测)
  18. Fiddler基础用法-抓取浏览器数据包
  19. jmeter制造大批量的用户数据数据
  20. css border 制作三角形

热门文章

  1. 深入浅出RPC——浅出篇 深入篇
  2. System.InvalidOperationException: 未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序。
  3. xen学习(一)
  4. 修改GitHub上项目语言显示
  5. Globalize 1.0 发布,jQuery 的国际化插件
  6. CSS3 GENERATOR可以同时为一个元素完成border-radius、box-shadow、gradient和opacity多项属性的设置
  7. Dynamic linking is coming to iOS, tvOS, and watchOS ports of Qt in the 5.9 release
  8. How To Compile Qt with Visual Studio
  9. Qt在Windows下的三种编程环境搭建(图文并茂,非常清楚)good
  10. 腾讯云直播录制遇到的bug