码迷,mamicode.com
首页 > 其他好文 > 详细

xml导包

时间:2020-11-17 12:16:01      阅读:5      评论:0      收藏:0      [点我收藏+]

标签:src   依赖   cto   unit   includes   rgba   include   basedir   group   

1.在pom.xml文件中,引入依赖(jar包)

<dependencies>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.48</version>
        </dependency>
        <dependency>
            <groupId>org.mybatis</groupId>
            <artifactId>mybatis</artifactId>
            <version>3.5.6</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
        </dependency>
    </dependencies>
    
     <build>
            <resources>
                <resource>
                    <directory>${basedir}/src/main/java</directory>
                    <includes>
                        <include>**/*.xml</include>
                    </includes>
                </resource>
            </resources>
        </build>

 

xml导包

标签:src   依赖   cto   unit   includes   rgba   include   basedir   group   

原文地址:https://www.cnblogs.com/paoge/p/13957570.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!