网站首页> 博客> springboot 的pom.xml配置

springboot 的pom.xml配置

好文
591

<parent>

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-parent</artifactId>

<version>2.1.0.RELEASE</version>

<relativePath/> <!-- lookup parent from repository -->

</parent>


  <properties>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <project.reporting.outputEncoding>UTF-8

        </project.reporting.outputEncoding>

        <java.version>1.8</java.version>

        <shiro.version>1.3.1</shiro.version>

        <swagger.version>2.6.1</swagger.version>

    </properties>


<dependencies>

<dependency>

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-thymeleaf</artifactId>

</dependency>

<dependency>

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-web</artifactId>

<exclusions>

                <exclusion>

                    <artifactId>spring-boot-starter-logging</artifactId>

                    <groupId>org.springframework.boot</groupId>

                </exclusion>

            </exclusions>

</dependency>

<dependency>

<groupId>org.mybatis.spring.boot</groupId>

<artifactId>mybatis-spring-boot-starter</artifactId>

<version>1.3.2</version>

<exclusions>

                <exclusion>

                    <artifactId>spring-boot-starter-logging</artifactId>

                    <groupId>org.springframework.boot</groupId>

                </exclusion>

            </exclusions>

</dependency>


<dependency>

<groupId>mysql</groupId>

<artifactId>mysql-connector-java</artifactId>

<scope>runtime</scope>

</dependency>

<dependency>

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-test</artifactId>

<scope>test</scope>

</dependency>

<dependency>

            <!-- pageHelper分页插件 -->

            <groupId>com.github.pagehelper</groupId>

            <artifactId>pagehelper-spring-boot-starter</artifactId>

            <version>1.2.3</version>

        </dependency>

<dependency>

    <groupId>net.sourceforge.nekohtml</groupId>

    <artifactId>nekohtml</artifactId>

    <version>1.9.21</version>

</dependency>

<dependency>

   <groupId>org.springframework.boot</groupId>

   <artifactId>spring-boot-starter-thymeleaf</artifactId>

</dependency>

<dependency>

    <groupId>com.alibaba</groupId>

    <artifactId>fastjson</artifactId>

    <version>1.2.47</version>

</dependency>

 <dependency>

            <groupId>org.apache.commons</groupId>

            <artifactId>commons-lang3</artifactId>

            <version>3.6</version>

        </dependency>

         <!--spring boot 整合shiro依赖-->

        <dependency>

            <groupId>org.apache.shiro</groupId>

            <artifactId>shiro-spring</artifactId>

            <version>${shiro.version}</version>

        </dependency>

        <!--shiro依赖-->

        <dependency>

            <groupId>org.apache.shiro</groupId>

            <artifactId>shiro-all</artifactId>

            <version>${shiro.version}</version>

        </dependency>

        <!--shiro添加ehcache缓存 -->

        <dependency>

            <groupId>org.apache.shiro</groupId>

            <artifactId>shiro-ehcache</artifactId>

            <version>1.2.6</version>

        </dependency>

          <!--thymeleaf-shiro标签-->

        <dependency>

            <groupId>com.github.theborakompanioni</groupId>

            <artifactId>thymeleaf-extras-shiro</artifactId>

            <version>1.2.1</version>

        </dependency>

        <dependency>

            <groupId>org.springframework.boot</groupId>

            <artifactId>spring-boot-starter-log4j2</artifactId>

        </dependency>

</dependencies>



  • 没有任何评论
个评论
zyh

zyh (青铜)

72金币 (0)粉丝 (2)源码

(该家伙很懒,什么也没说!)

 

签到 活跃榜 连续签到送额外金币
最新博客
fastjson的使用总结 42
获取金币 101
idea激活破解时碰见的各种问题集锦 527
关于使用java语言读取文件时候头部出现\uFEFF问题的解决 307
Spring 的起源 167
Spring 的起源 300
牛郎决定去学编程 312
SpringBoot整合Swagger2 289