pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.hssx</groupId>
  6. <artifactId>bms</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>bms</name>
  9. <description>Demo project for Spring Boot</description>
  10. <parent>
  11. <groupId>com.hssx</groupId>
  12. <artifactId>cloud-bms</artifactId>
  13. <version>1.0-SNAPSHOT</version><!-- lookup parent from repository -->
  14. </parent>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-devtools</artifactId>
  30. <scope>runtime</scope>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <!-- pagehelper整合mybatis-plus-->
  44. <!--Pagehelper 依赖 5.1.10 版本,需要去掉 mybatis 依赖,否则会和 mybatis plus 冲突-->
  45. <dependency>
  46. <groupId>com.github.pagehelper</groupId>
  47. <artifactId>pagehelper-spring-boot-starter</artifactId>
  48. <version>1.2.12</version>
  49. <exclusions>
  50. <exclusion>
  51. <groupId>org.mybatis</groupId>
  52. <artifactId>mybatis</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <groupId>org.mybatis</groupId>
  56. <artifactId>mybatis-spring</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <!-- mybatis-plus依赖 -->
  61. <dependency>
  62. <groupId>com.baomidou</groupId>
  63. <artifactId>mybatis-plus-boot-starter</artifactId>
  64. <version>3.1.2</version>
  65. </dependency>
  66. <!-- mybatis-plus代码生成器依赖 -->
  67. <dependency>
  68. <groupId>com.baomidou</groupId>
  69. <artifactId>mybatis-plus-generator</artifactId>
  70. <version>3.1.2</version>
  71. </dependency>
  72. <!-- velocity模板引擎 -->
  73. <dependency>
  74. <groupId>org.apache.velocity</groupId>
  75. <artifactId>velocity-engine-core</artifactId>
  76. <version>2.0</version>
  77. </dependency>
  78. <!-- freemarker 模板引擎-->
  79. <dependency>
  80. <groupId>org.freemarker</groupId>
  81. <artifactId>freemarker</artifactId>
  82. <version>2.3.23</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>net.lingala.zip4j</groupId>
  86. <artifactId>zip4j</artifactId>
  87. <version>1.3.2</version>
  88. <scope>compile</scope>
  89. </dependency>
  90. </dependencies>
  91. <build>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-maven-plugin</artifactId>
  96. <!--以下配置是为了防止引入外部jar包而导致部署到服务器上jar报找不到的问题-->
  97. <configuration>
  98. <fork>true</fork>
  99. <includeSystemScope>true</includeSystemScope>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. </project>